Page 1 of 1

Using Report Variables in Code

Posted: Fri Jan 26, 2018 6:29 am
by tim
Using Report Variables in Code
Version :Stimulsoft Reports.Java 2018.1.3

Re: Using Report Variables in Code

Posted: Fri Jan 26, 2018 10:55 am
by Alex K.
Hello,

You could set a value for a variable with next code:

Code: Select all

report.getDictionary().getVariables().get(paramName).setValue(value);
report.getVariables().put(paramName, value);
Thank you.