An XML -based reporting tool, which supports the design report, calling API printing, preview, and can support distributed reports and convenient reports of storage and forwarding. In the report, VBScript can be embedded, and variables that can easily access VB, VCs, and can access controlx standards such as COM components, ADO, etc. follow the ActiveX standard.
Including report visual development interface, report grammar interpreter, COM -based component. It is the perfect solution of distributed reports
The grammar is as follows:
<? xml version = 1.0 encoding = gb2312?>
<! Doctype report system prop_report.dtd>
<report name = 'Report'>
<report_script>
dim rs, con, sql, lsh
DIM TEMP
set cons = createObject (Adodb.Connection) 'Create ADO component
con.connectionString = dbq = d: /uml_project/report/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.Oopen SQL, CON, 1,3
</report_script>
<report_head height = '20 '>
<text name = 'vfptext' font_name = 'FONT_SIZE = '14' FONT_WEIGHT = '700' FONT_ITALIC = '0' FONT_UNDERLILINE = 'Top = '10' LEFT = '78 'width = '26' height = ' 5 '>
Score
</text>
</REPORT_HEAD>
<page_head height = '10 '> <!-Report head->
<text name = 'vfptext' font_name = 'FONT_SIZE =' 9 'FONT_WEIGHT =' 100 'FONT_ITALIC =' 0 'FONT_UNDERLINE =' Top = '2' LEFT = '162' width = '6' height = ' 3 '>
total
</text>
</page_head>
<page_body height = '10 '>
<text name = 'vfptext' font_name = 'FONT_SIZE =' 9 'FONT_WEIGHT =' 100 'FONT_ITALIC =' 0 'FONT_UNDERLINE =' Top = '2' LEFT = '15' width = '25 'height =' 4 '>
<report_script>
Report.Write CSTR (RS (XM))
</report_script>
</text>
</page_body>
</refort>