How to return item ID not item Description

Stimulsoft Reports.PHP discussion
Post Reply
Ashraf Jebreel
Posts: 3
Joined: Wed Dec 26, 2012 11:35 am

How to return item ID not item Description

Post by Ashraf Jebreel »

Hi,

In my report user has to select report parameters, one of the parameters is country ID. I want to select country ID and Name from look-up table and display only country Name, then when user selects a country I have to pass country ID to my data source query.

I am suing PHP, MySql and Stimulsoft Reports.Fx for PHP version 2012.3
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to return item ID not item Description

Post by HighAley »

Hello.

You could do it with a variable.
VarSelectFromUserFx.png
VarSelectFromUserFx.png (20.89 KiB) Viewed 2868 times
Thank you.
Ashraf Jebreel
Posts: 3
Joined: Wed Dec 26, 2012 11:35 am

Re: How to return item ID not item Description

Post by Ashraf Jebreel »

Thanks for your prompt reply.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to return item ID not item Description

Post by HighAley »

Hello.

We are always glad to help you.

Thank you.
Post Reply