Report Examples

Example 1. Set a report query parameter and print the report.

custid = combo_box1.GetCurrentRowColumnValue("CUST_NO")

Report.SetQueryParam("pCustID", custid)

Report.Print("Headers")

Note:

Example 2. Set a report variable and print the report.

Report.SetVariable("ReportCaption", edit_control2)

Report.Print("VariablesAssignments")

Note:

Example 3. Get the page number and assign it to a data field.

datafield1 = Report.GetPageNumber()

Note: