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

 

Order Form

Shows an order form for a customer

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

Order?

 


 

SOURCE CODE

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

See this tutorial in Flash to learn how it was designed
 

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

<%
vrOrderID = Request("OrderID")
if vrOrderID = "" then vrOrderID = 10300

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

' Loads the VEP file
PDF.WEB_APP = True
PDF.LoadVEPFile( Server.MapPath("erp_orders.vep") )
' Sets the correct parameter for the year
PDF.SetParameter "OrderID", vrOrderID
' 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 file