Prompt for destination

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

Syntax

Prompt for destination

Description

This command displays the report destination window so that the user can select the destination for the report. The user can choose from destinations including: printer, screen, page preview, file, port, and clipboard.

If the command is part of a reversible block, the destination reverts to its former identity when the method terminates. If the user selects the Cancel button on the dialog, the flag is cleared.

Example

# allow user choice to where to print report to
Set report name rMyReport
Prompt for destination
If flag true
  Print report
End If