Outputs the report to a file or email. Note that the report must have already been run using RunReport; CreateOutput is intended for doing additional output. Before creating a file, call SetOutputToFile to set the file specifications. Before sending an email, set the Recipients, BCCRecipients, EmailSubject, and EmailBody properties.

Syntax

CreateOutput([EmailReport as Boolean]) as Boolean

Parameters
EmailReport
True to email the report or False to output to a file.

Return Value
True if the report was output, False if not (check ErrorMessage for a reason why the output failed).

See also

Report Object | RunReport | SetOutputToFile

© Stonefield Software Inc., 2023 • Updated: 06/06/16
Comment or report problem with topic