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

problem in displaying parameter value in report

Status
Not open for further replies.

whizzz

Programmer
Oct 19, 2003
32
IN
help pls..


How do I display a parameter value on the report, if the parameter takes range values ?


Thanks,

smitha
 
you can use the join function I think ....but I usually use a looping formula

//@DisplayParm

WhilePrintingRecords;
stringVar result := "";
numberVar pointer;

for pointer := 1 to ubound({?ParamArray}) do
(
// if it is a string param use this
result := result + {?ParamArray}[pointer] + ", ";
// for any other (except boolean) data type
result := result + totext({?ParamArray}[pointer]) + ", ";
);

result := Left(result,length(result) - 2);

result;

If you believe you can exceed 254 chars then you must take precautions.


Jim Broadbent

The quality of the answer is directly proportional to the quality of the problem statement!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top