MikeM670
asked on
Count The Number of Parameter Values entered in a Mult Selection Parameter Dialog Box
Is it possible to count the number of values entered in a multi selection parameter?
if count({?Pm-?Agency}) = 1
or
if count({?Pm-?Agency}) > 1
I get a error message “This Field Cannot Summarize”
if count({?Pm-?Agency}) = 1
or
if count({?Pm-?Agency}) > 1
I get a error message “This Field Cannot Summarize”
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Could use UBound ({?Agency})
If you'd like to show images for all specified Agencies, that is possible using 2 alternative strategies...
If you'd like to show images for all specified Agencies, that is possible using 2 alternative strategies...
FWIW, Count should also work. You can use Count on an array, and (to a certain degree) CR treats multi-value parameters like arrays. My guess is that the parameter in your first post wasn't actually a multi-value parameter. That would give you the error that you mentioned.
James
James
ASKER
Local numberVar Array countArray;
countArray := {?Agency};
UBound (countArray)