Page 2 of 2

Re: set "Text Format" invalid

Posted: Wed Apr 06, 2016 5:11 am
by Ehsan
Hello,

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

Code: Select all

report.setVariable("variableName", value);

Re: set "Text Format" invalid

Posted: Wed Apr 06, 2016 10:12 am
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.