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

joining number values returned by a parameter

Status
Not open for further replies.

sikkilamkiran

Programmer
Aug 9, 2005
21
IN
hi all,

I have a parameter on version column.
i want to concatenate the values selected by a user and display them in the report.

if i use join it says string array required.
if i use totext or cstr to convert inside join function then it says subscript is required.

Please tell me a way where i can concatenate the number values selected by a user in a parameter. its very urgent.

Thanks in Advance
Kiran
 
try this in a formula
Code:
Local NumberVar i;
Local NumberVar j;
Local StringVar str := "";
i := Count ({?Param});
for j := 1 to i do

For j := 1 To i Do
(
   str := str + cstr({?Param}[j])
);
replace(str,'.00','')


where {@Param} would be your parameter



-Mo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top