ReportRun.prompt Method [AX 2012]

Prompts the user a report is run.

public boolean prompt(
   [boolean enableCopy, 
    boolean enablePages, 
    boolean enableDevice, 
    boolean enableProperties, 
    boolean enablePrintTo])

Run On

Called

Parameters

enableCopy
Type: boolean
A Boolean value that indicates whether the user can select the number of copies in the sysPrintForm form; optional.
enablePages
Type: boolean
A Boolean value that indicates whether the user can select the number of pages in the sysPrintForm form; optional.
enableDevice
Type: boolean
A Boolean value that indicates whether the user can select which printer to use in the sysPrintForm form; optional.
enableProperties
Type: boolean
A Boolean value that indicates whether the user can select properties in the sysPrintForm form; optional.
enablePrintTo
Type: boolean
A Boolean value that indicates whether the user can select the target in the sysPrintForm form; optional.

Return Value

Type: boolean
true if execution of report should continue; otherwise, false.

The call to the super method in the prompt method runs the sysPrintForm form.This method is called from the run method.

Community Additions

ADD
Show: