Using Report Variables in Code

Stimulsoft Reports.JAVA discussion
Post Reply
tim
Posts: 8
Joined: Wed Jan 17, 2018 6:29 am

Using Report Variables in Code

Post by tim »

Using Report Variables in Code
Version :Stimulsoft Reports.Java 2018.1.3
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Using Report Variables in Code

Post 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.
Post Reply