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!

Display Parameters selected from a drop-down

Status
Not open for further replies.

mdole

IS-IT--Management
Jun 20, 2002
8
CH
Hello,

I am using Crystal Reports with an SAP-BW database. I am using the following formula to display the parameters selected from a dropdown list:

WhilePrintingRecords;
StringVar Values;
NumberVar Counter := count({?YourParameter});

While Counter >= 1
Do
(Values := Values + {?YourParameter}[Counter] + ", ";
Counter := Counter - 1);
Values [1 to (Length(Values)-1)]


Instead of getting the description I would like to have displayed I get the following output:
[0BBP_PROPO].[I1011],
[0BBP_PROPO].[I1020],
[0BBP_PROPO].[I1015],
[0BBP_PROPO].[I1009], etc.

Where [0BBP_PROPRO] is the field I am selecting on and [I1011], etc. are the codes for the values i've selected. What I would like to see are the long descriptions...

Does anyone have experience in this area?

Any help would be greatly appreciated.
 
I get the same output if I use "join"... :-(
 
Oooooh, I get it, you mean the descriptions for the parameters as opposed to the code values that the user selects, sorry, I misunderstood.

I'm afraid you need to reload the parameters so that the description is the value and vice versa.

Then in the Display, select Description.

The user will see the code values (as you want), and you can get the description by using the join.

Crystal doesn't allow you to extract the Description, only display it within the parm prompt.

I know, it sux...

-k



kai@informeddatadecisions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top