Prompt for print or export file

Command group Flag affected Reversible Execute on client Platform(s)
Report destinations YES YES NO All

Syntax

Prompt for print or export file

Description

This command displays the Select Print or Export File dialog. The flag is set if the file is successfully selected. If the file exists already, a further dialog lets you delete it. If the user cancels, the flag is cleared and the file is closed.

If the command is in a reversible block, the file is closed when the method terminates.

Example

Prompt for print or export file
If flag true
  Send to file
  Set report name rMyReport
End If
Print report