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

Limiting 'Allow Multiple Parameters' 1

Status
Not open for further replies.

hpl2001

Programmer
Dec 18, 2001
105
CA
Hello:

Programming with Crystal 8. I have a report with a parameter that I would like to accept a maximum of 10 values. Is there some way to limit the entry of multple value parameters to 10? If not, how can I capture the extra values in the report and display them? The report itself will only process the first 10 values, but I want to let a user know if some of their requests are not filled.

TIA

Holly
 
Use UBound({?your_multiValue_Parameter}) funtion to find out how many items were specified in the parameter.

You can then detect having more than 10 items, return False in the record selection to block the report from running, or unsuppress a formula showing a warning and the list of items beyond the 10th position.

hth,
- Ido

view, export, burst, email, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top