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

Display more than one parameters

Status
Not open for further replies.

antmoe3

Programmer
Feb 24, 2006
32
US
I created a parameter and place it into my report.
{?dept}
There are three values entered for the parameter. (3,4,5)

However, only one value displays on the report (3). How do I display all the values on the report I entered into the prompt?
 
This assumes your parameter is a number parameter. Create a formula like this:

stringvar parm;
numbervar i;
numbervar j := ubound({?parm});

for i := 1 to j do(
parm := parm + totext({?parm}[counter],0,"") + ", ");
left(parm, len(parm)-2);

SynapseVampire has an FAQ on this topic that you might want to check out also.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top