Hello
I have a report with the defined variable of type string. I use this variable to create the title of the report. The value of variable is set programmatically:
report.Item("Var") = value
report.Render()
However, once the report is rendered for the first time the value of the variable is ignored. I have debug the program and I am sure that the value of the variable is set properly.
Is is a bug or I am doing something wrong?
Problem with the variable
-
- Posts: 3
- Joined: Wed Feb 10, 2010 2:36 am
Problem with the variable
To set any variables you have defined on your report at runtime you must first compile the report
Code: Select all
report.Compile()
report.Item("Var") = value
report.Render()