VC, IE, ASP environment printing, preview the perfect solution

Source: Internet
Author: User
Print | Solve an xml-based report development tool that supports the design of reports, invokes API printing, previews, supports distributed reports, and facilitates the storage and forwarding of reports. The ability to embed VBScript in a report allows easy access to VB,VC variables, access to COM components, ADO, and other controls that follow ActiveX standards.

Includes a report visualization development interface, a report syntax interpreter, and a COM based component. is the perfect solution for distributed reports

The syntax is as follows:

<?xml version= "1.0" encoding= "GB2312"?>
<! DOCTYPE "PRINT_REPORT.DTD" >
<report name= ' report ' >
<report_script>
Dim rs,con,sql,lsh
Dim temp
Set con =createobject ("ADODB.") Connection ")" Create an ADO component
Con. ConnectionString = "Dbq=d:\uml_project\report\demo\asp\report.mdb;driver={microsoft Access DRIVER (*.mdb)};"
Con.open
Set rs =createobject ("ADODB.") Recordset ")
Sql= "SELECT * from Cj,student where cj.id=student.id"
Rs.Open sql,con,1,3
</report_script>
<report_head height= ' >

<text name= ' vfptext ' font_name= ' song Body ' font_size= ' ' font_weight= ', ' font_italic= ' 0 ' font_underline= ' 0 ' top= ' 10 ' left= ' width= ' height= ' 5 ' >
Schedule of Achievements
</text>

</report_head>
<page_head height= ' > <!--report Header-->

<text name= ' vfptext ' font_name= ' song Body ' font_size= ' 9 ' font_weight= ' font_italic= ' 0 ' font_underline= ' 0 ' top= ' 2 ' left = ' 162 ' width= ' 6 ' height= ' 3 ' >
Total
</text>
</page_head>

<page_body height= ' a ' >

<text name= ' vfptext ' font_name= ' song Body ' font_size= ' 9 ' font_weight= ' font_italic= ' 0 ' font_underline= ' 0 ' top= ' 2 ' left = ' width= ' height= ' 4 ' >
<report_script>
Report.write CStr (RS ("XM"))
</report_script>
</text>

</page_body>

</report>


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.