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

multiple parameter values not showing

Status
Not open for further replies.

mart10

MIS
Nov 2, 2007
394
GB
I am using cr 10

i have a parameter which allows discreet muliple values in the detail section and have selected selectrion crtiertia to equal the parameter. But it only shows the first selection added, can someone advise
 
What type of parameter is it? Are you trying to show the results of the parameter selection process in the report header? If so, and if it is a string parameter, use a formula like this:

join({?Parameter},", ")

-LB
 
I found an article which suggested the following which seemed to work:

whileprintingrecords;
stringvar Output:="";
numbervar Counter;
For Counter := 1 to ubound({?AccountSelection}) do(
if minimum({?AccountSelection}[Counter])= maximum({?AccountSelection}[Counter]) then
Output:= Output & minimum({?AccountSelection}[Counter])&chr(13)
else
Output:= Output & minimum({?AccountSelection}[Counter])& " to "& maximum({?AccountSelection}[Counter])&chr(13)
);
left(Output,len(Output)-1)

so this will list the account numbers I want in the detail. But how do I now show associated data with that account eg account name. I tried to create a group based on the formula but it didnt work
 
Please identify the datatype of the parameter---string or number, and also verify whether you are allowing range values.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top