set "Text Format" invalid

Stimulsoft Reports.JS discussion
Ehsan
Posts: 100
Joined: Tue Jan 05, 2016 10:39 am
Location: Iran

Re: set "Text Format" invalid

Post by Ehsan »

Hello,

How can I use this below variable in my report designer?
Thank you.

Code: Select all

report.setVariable("variableName", value);
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: set "Text Format" invalid

Post by HighAley »

Hello.

You should set the variable value with next code:

Code: Select all

report.dictionary.variables.getByName("var1").valueObject = "your value";
Thank you.
Post Reply