Share via


ReportRun.prompt Method

Prompts the user a report is run.

Syntax

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.

Remarks

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

See Also

ReportRun Class

ReportRun.printJobSettings Method

ReportRun.run Method