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

Stored Procedure Parameter Array working, now need results to show as parameter descriptions

Status
Not open for further replies.

hmax

Programmer
Jan 22, 2012
60
US
The following arrays work for the local report parameter that allows multiple values.

1. //join({?ParameterName},",") //Show list horizontally
2. //join({?ParameterName},', '+ Chr(10)) //Show list vertically

However, these only display the parameter default values (matching the codes retrieved from the stored procedure statement).

Next goal - show the parameter "description" results, with or without the code results. How is this achieved, please?

Thanks in advance for your help.
 
Thanks, Pete!

So Crystal Reports 2016 has addressed the issue. Great.

Otherwise Ken Hamady's solutions for earlier versions, e.g., creating 2 arrays for codes and descriptions plus a For Loop. Good for fairly short lists; tricky when the list is long, but do-able, I guess.

Appreciate the feedback.
 
Or the solution I provided in that thread if there is a look-up table that provides a description for the code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top