AllowPrompt (prompt for runtime parameter data)

Top  Previous  Next

 

AllowPrompt(| allowpromptflag |)

 

AllowPrompt  Allow report runtime prompting for Crystal Parameter fields.

allowpromptflag An integer constant, variable, EQUATE, or expression that specifies whether the report will prompt for runtime parameter fields. A value of one (1) is used to allow prompting; a value of zero (0) is used to disallow field prompting.

The AllowPrompt method can conditionally allow the Crystal report that is being previewed or printed to prompt for runtime parameter fields. These parameter fields must be defined in the Crystal report. This method returns a BYTE representing the value of allowpromptflag.

 

Return Data Type: BYTE

 

Example:

oCrystal8.AllowPrompt(1)