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= ' >
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