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!

Control MultiParameter Values 2

Status
Not open for further replies.

pkohli88

Programmer
Oct 25, 2006
30
US
Hi,
I am using MultiValue Parameter in a report. Is it possible to restrict the max. no of values user can enter. For example. If I want user can add 1 to 5 values only. not more than 5 values are allowed

Thanks
 
You can add a record selection condition of:

...AND UBound({?your_Parameter}) < 6

Then, use the same condition to suppress a Text Object that displays something like: "Too Many Values. Please Select less than 5 Values". This way, the report will display only the text box when the condition is violated.

hth,
- Ido

view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top