Variables not updated in printed Report

Stimulsoft Reports.NET discussion
Post Reply
OlafD
Posts: 6
Joined: Tue Jan 04, 2011 4:17 am

Variables not updated in printed Report

Post by OlafD »

Report Version: 2010.3.900

I used pre compiled reports with this code :
report = StiReport.GetReportFromAssembly(reportAssemblyCacheFileName, true);

After I load the report from the DLL, i change some Variables with report.Dictionary.Variables[“KEYNAME”].Value and report.Dictionary.Variables[“KEYNAME”].ValueObject.
The Variables are chanced successfully, but on the printed report the fields with Variables have not the new Value.

What’s going wrong??

Olaf
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Variables not updated in printed Report

Post by Alex K. »

Hello,

Please check the following code:

Code: Select all

report["VariableName"] = Value;
Thank you.
OlafD
Posts: 6
Joined: Tue Jan 04, 2011 4:17 am

Variables not updated in printed Report

Post by OlafD »

Thank you.

Olaf
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Variables not updated in printed Report

Post by Alex K. »

Hello,

Let us know if you need any additional help.

Thank you.
Post Reply