Variable Alias value getting from database

Stimulsoft Ultimate discussion
Post Reply
harundemir13
Posts: 28
Joined: Thu Aug 01, 2019 1:22 pm

Variable Alias value getting from database

Post by harundemir13 »

Hello,
I can set variables Alias values with globalization string options for additional languages. I want to set variables alias that getting from the database. Is it possible?
Thank you,
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Variable Alias value getting from database

Post by HighAley »

Hello,

You could set the alias of the variable in the Globalization Strings.
It could be static value only.

As a way you could set the Alias before showing the report from the external code.

Thank you.
harundemir13
Posts: 28
Joined: Thu Aug 01, 2019 1:22 pm

Re: Variable Alias value getting from database

Post by harundemir13 »

Hello,
Can you write an example? I don't understand
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Variable Alias value getting from database

Post by HighAley »

Hello.

You could use the code like this

Code: Select all

report.Dictionary.Variables["Variable1"].Alias = "your alias";
Thank you.
harundemir13
Posts: 28
Joined: Thu Aug 01, 2019 1:22 pm

Re: Variable Alias value getting from database

Post by harundemir13 »

Thank you for your response
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: Variable Alias value getting from database

Post by Andrew »

Hello,

You are welcome!
Post Reply