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

Displaying Range Values from a Parameter in the Report Header 1

Status
Not open for further replies.

cristle

Technical User
Jun 5, 2003
26
0
0
DE
Hi
I'm using Crystal Reports XI.
I need to display a Range of Values, selected in a Parameter, and display the range in the Report Header.

However I'm getting the message that a String Array is required

If I select Discrete Values in my Parameter I can display them by creating the formula join({?Supp Code})
Unfortunately I need to display the Range of Codes selected.

Has anyone come accross this before

Cristle
 
Hi Christle
Data type information would be nice.
Generally Rages are displayed using two formulas:
1)Minimum(Parameter)
and
2)Maximum (Parameter)

Use above formulas in a Text Object
 
Thanks for replying pojour.

The Data Type could be numeric or string, depending on the field.

Your suggestion would work if all I needed was the min and the max, but I also need to display the values between the min and the max.

Thanks

Cristle
 
try this...

WhilePrintingRecords;
numbervar count ;
stringvar entered := "";
numbervar numb := Count ({?parameterfield});
for count := 1 to numb do
(
entered := entered + {?parameterfield}[count]+", "
);
"text if needed "+left(entered,len(trim(entered))-1)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top