Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Required Parameter Fields Crystal Reports 1

Status
Not open for further replies.

bddsolid

Programmer
Jul 20, 2004
19
BE
Hi!

If you use parameters in a report, when is it required to enter a value for those parameters?
In my opinion, numeric parameters are always required... Is that correct? :-s

Thx in advance

Bart
 
No parameters are required for a crystal report. Parameters are prompted for when the report is run or refreshed.

Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports
 
Hi dgillz,

I know that crystal reports automaticly will prompt for the parameters.
But what I mean is, which parameters are mandatory and which are optional in the screen "Enter Parameter Values"?

Bart
 
If you create a parameter, it becomes mandatory. Either the user must enter a value for the parameter or if you are embedding your crystal report into another application, the parameter values must be passed to the report.

You can create a parameter for customers with a default value of 'ALL' and then conditionally set your record selection formula as follows:

if {?CustNo}='ALL' then true else {?CustNo}={CustomerNumber}

Does this help?

Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top