Report_Begin()

Examples


The Report_Begin() function starts a Quick Report. This function must be run before any other functions from the Reports function library.

Syntax

Report_Begin(screen_boolean, printer_boolean, filename)

Parameters

screen_boolean – A boolean specifying whether you want the report to be printed to the screen:

[spacer]

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:

[spacer]

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.

Return value

A boolean indicating whether the report was started; false if it could be started, true if it could not.

Comments

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.


Documentation Feedback