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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameter Prompts

Status
Not open for further replies.

susanna123

Technical User
Jan 22, 2010
79
CA
I set up for example: 4 parameter prompts that prompts the user to enter values to filter the return of data.

All my parameters are static parameters and when I hit refresh, i would need to fill in the 4 fields.

Field 1
Field 2
Field 3
Field 4

Is there a case where it's okay to just fill in some but not all the fields.

For example fill in field 1 and 2 but leave 3 and 4 blank and the report still runs fine?

Also, what if the 4 fields are required to be mandatory, is there a way to prompt an error message?

Is this something that needs to be coded or can it be done by setting some true/false values when you edit parameter fields

Feedback is much appreciated. Thks
 
It depends on your Crystal version - 8, 8.5, 9, 10, 11 or whatever. But basically you get prompted for a value if there is no default value, or if the report is not set to pick them up. (Crystal 11 initially ignored the defaults I had set in Crystal 10 and I had to reset.)

I don't think error messages as such are possible. You can have a section that is normally suppressed and only shows if the parameters don't add up.

[yinyang] Madawc Williams (East Anglia, UK). Using Crystal 10 & 11.5 with Windows XP [yinyang]
 
Hi,

How do you set it to show the default value or null?
 
To set a default value for a parameter right click the parameter to get to parameter edit. Under value options, default value:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top