showing user-modifed list variables in report
Posted: Thu Jun 16, 2011 2:59 am
Hello!
I generate reports from external C# code. I defined long list type variables in the report and the default values for these variables are taken from database columns. I am able to set these variables using the following code:
I also defined custom methods in my report which convert these lists variables to strings so I can display the list elements. Unfortunately I can not see the modified list values in the generated report, the default (database column) values are shown. I use the following expression to show the list values
where getLongListString() is my method which accepts a long list variable. How should I modify my report or the generating code to show the modified variables?
Thank You for the answer.
Jozef
I generate reports from external C# code. I defined long list type variables in the report and the default values for these variables are taken from database columns. I am able to set these variables using the following code:
Code: Select all
report.Dictionary.Variables["longListVar"].ValueObject = "new LongList() { 2 };";
Code: Select all
{getLongListString(longListVar)}
Thank You for the answer.
Jozef