User Parameters - Using both Keys and Values

Stimulsoft Reports.NET discussion
Post Reply
samad
Posts: 19
Joined: Mon Feb 24, 2014 4:14 am

User Parameters - Using both Keys and Values

Post by samad »

When I use "Request From User" parameteres, and use a list of key/value (Item or Data Columns)
I receive the selected key in the variable.
How can I obtain the also the value selected?

Lets say I have the list of Months ("Jan", "Feb", ... , "Dec").
Whe I choose "Fev", myVar receives the key value (2). How can I also use the "Feb" string (values)?

Tks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: User Parameters - Using both Keys and Values

Post by HighAley »

Hello.

The only way is to set Keys the same as Values. The variable can have only one value and it's key.

Thank you.
Post Reply