an XML-based report development tool that supports printing, previewing, and supporting distributed reports, storage, and forwarding of reports from design reports and API calls. The ability to embed VBScript in a report makes it easy to access VB,VC variables, access to COM components, ADO, and other controls that follow ActiveX standards.
Includes the report visual development interface, the report syntax interpreter, and COM-based components. is the perfect solution for distributed reporting
The syntax is as follows:
<?xml version= "1.0" encoding= "GB2312"?>
<! DOCTYPE report SYSTEM "PRINT_REPORT.DTD" >
<report name= ' reports ' >
<report_script>
Dim rs,con,sql,lsh
Dim temp
Set con =createobject ("ADODB. Connection ") ' Create 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= ' ' 0 ' font_italic= ' 0 ' font_underline= ' 10 ' left= ' width= ' height= ' 5 ' >
Score Schedule
</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= ' >
<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>
To find out more, please visit:
http://go.163.com/reportpro/