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

join({?Parameter},', ') - works for strings but not numbers 1

Status
Not open for further replies.

swhitten

Technical User
Sep 3, 2002
191
US
I want to display all the choices a user selects for a parameter that allows multiple choices. I have successfully used join({?Parameter},', ') for string parameters, but now I am trying to use it for a parameter that is numbers rather than text. The join apparently wants text/string only? How can I get this to work for a parameter that has numbers instead of strings? Thanks!
 
Hi,
Try here:

faq767-810



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Thanks for the help; those are good formulas to have handy. But my parameter is not a range; it's multiple number values. Still looking for the solution...
 
Hi,
Sorry, missed that, try this FAQ:

faq767-5684



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Perfect! Thanks! This worked great!



Multiple Discrete values separated by a comma:

whileprintingrecords;
stringvar Output:="";
numbervar Counter;
For Counter := 1 to ubound({?MyNumericParameter}) do(
Output:= Output& totext({?MyNumericParameter}[Counter],0,"")& ","
);
left(Output,len(Output)-1)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top