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

Using parameters to prompt user

Status
Not open for further replies.

vhdaguy

Programmer
Mar 21, 2002
4
US
I use Crystal Reports 8.0 on NT. I need to require the user to fill in a value for each parameter every time they run the report. I have reports that prompt the user for a date value and it prompts for the 1st parameter, but not the others. I am using string type parameters with 00\/00\/0000 Edit Masks. Each parameter is referenced in a formula that puts literal text around the param reference.


Andy THompson (andrew.thompson@vhda.com).
 
Are you using ALL the parameters in your report?
In for the parameters to be activated, they must be in the report somewhere. It can be in the selection formula, on the layout or in another formula.

If you don't use a parameter in a report, Crystal will ignore it. Howard Hammerman,

Crystal Reports training, consulting, books, training material, software, and support. Scheduled training in 8 cities.
howard@hammerman.com
800-783-2269
 
Yes, my paramters are referenced in formulas that have literal text concatenated to the parameter reference.
I'm using Crystal to write a letter that prompts the user
for 5 dates and puts those dates in the letter.

Here is the code in one of the formulas:

'not request an informal hearing IN WRITING by ' + cstr({?HearingDueDate}) + ', you lose your right to request or to have an informal hearing.'

?HearingDueDate is a parameter.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top