
custid = combo_box1.GetCurrentRowColumnValue("CUST_NO")
Report.SetQueryParam("pCustID", custid)
Report.Print("Headers")
Note:
custid – a form variable that will temporarily hold the CUST_NO value.
pCustID – the query parameter associated with the report query.
Headers – the report to be printed.
Report.SetVariable("ReportCaption", edit_control2)
Report.Print("VariablesAssignments")
Note:
ReportCaption – a report variable.
datafield1 = Report.GetPageNumber()
Note:
datafield1 – Data Field element in a Report.
This object method is usually used within a report assignment as opposed to being used in a form expression. When used in a data field within a page header, it can dynamically set the page number for each page.