PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Example 1: Initializing the query before printing the report
  • Example 2: Initializing the query in the opening code of the report
iInitReportQuery (Example)
Example 1: Initializing the query before printing the report
The following example is used to initialize the query linked to the report just before printing the report. The print is started by iPrintReport.
// Use before iPrintReport
iInitReportQuery(RPT_SchoolReport, "Doe", "1994")
iPrintReport(RPT_SchoolReport)
Example 2: Initializing the query in the opening code of the report
The following example is used to initialize the query linked to the report in the opening code of the report.
// Use in the opening code of RPT_SchoolReport
PROCEDURE RPT_SchoolReport(StudentName, Year)
iInitReportQuery(RPT_SchoolReport, StudentName, Year)
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment