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

Parameters not printing on the report 1

Status
Not open for further replies.

pandy1

Programmer
Oct 9, 2002
52
US
Hi,

I created a string parameter with options "Allow multiple values", "Discrete VAlues". When I select single value or add multiple values, the record selection is working fine and filtering the records based on the parameter selection. But when i try to print the selected parameter value(s) on the report, it is printing only the first selected value out of several selected multiple values.
For example, if i select the parameter values A,B,C, it is printing only A on the report when i try to print the parameter on the report.

I am using crystal report version 9.0, can anybody explain this problem?

thanks in advance
rinky
 
It is not a problem.

The parameter is an array of values, hence you need a procedure to extracts values from this array and display in linear text string.
 
To elaborate on spedi's post, you'd need to create a formula to show all of the values that were chosen. If you want them in a comma-separated list, you could use a formula like this:
[tt]
Join({?YourParameter}, ", ")
[/tt]
Place it on the report, and adjust the width accordingly, depending on the number of possible values entered.

-dave
 
EXCELLENT, Its working wonderful! Thanks a lot to Spedi and Dave.

Pandy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top