Examples in Real time
aspEasyPDF
Last modified : 31/07/2003  

 

Customer Yearly Orders

Shows a group report of orders by customer in a year

is done in real-time trough the msSQL server Northwind demo
Prints the Order form

Year?

 


Warning, this report take 15 seconds aprox. this is due to the enormous pages that will be generating.
 

SOURCE CODE

The report has been designed with VisualEasyPDF, the best part is that you only change the report and
automatically the report takes the new changes

 <%
Response.Buffer = TRUE
Response.ContentType = "application/pdf"
%>

<%
' Create the component
set PDF = server.createobject("aspPDF.EasyPDF")

' Loads the VEP file
PDF.WEB_APP = True
PDF.LoadVEPFile( Server.MapPath("erp_group.vep") )
' Sets the correct parameter for the year
PDF.SetParameter "YearID", Request("YearID")
' Draw all pages from the VEP file definition
PDF.DrawVEP 0

PDF.BinaryWrite
set PDF = Nothing
%>

 

Download the source code of this sample and VEP form file