The Report_Begin() function starts a Quick Report. This function must be run before any other functions from the Reports function library.
Report_Begin(screen_boolean, printer_boolean, filename)
• screen_boolean – A boolean specifying whether you want the report to be printed to the screen:
Value |
Description |
---|---|
true |
Sends the report to the screen. |
false |
Prevents the report from being sent to the screen. |
• printer_boolean – A boolean specifying whether you want the report to be printed to the printer:
Value |
Description |
---|---|
true |
Sends the report to the printer. |
false |
Prevents the report from being sent to the printer. |
• filename – A string containing the complete pathname of the text file to export the report to. You can export the report to a text file only if you are not sending the report to the screen or to the printer. The pathname must be in generic format.
A boolean indicating whether the report was started; false if it could be started, true if it could not.
You must execute the Report_Begin() function before you use any other functions from the Reports function library.
Reports can be sent to both the screen and the printer by setting the screen_boolean and printer_boolean variables to true.