Page 1 of 1

Variables not updated in printed Report

Posted: Tue Jan 04, 2011 4:21 am
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

Variables not updated in printed Report

Posted: Tue Jan 04, 2011 5:27 am
by Alex K.
Hello,

Please check the following code:

Code: Select all

report["VariableName"] = Value;
Thank you.

Variables not updated in printed Report

Posted: Tue Jan 04, 2011 8:11 am
by OlafD
Thank you.

Olaf

Variables not updated in printed Report

Posted: Tue Jan 04, 2011 8:21 am
by Alex K.
Hello,

Let us know if you need any additional help.

Thank you.