In my code I set several variables like this:
myreport["MyVar"] = true;
It is possible to determine is MyVar actually exists in the report?
Thanks!
Variable Question
Variable Question
You can use following code:
or
Thank you.
Code: Select all
if (report.IsVariableExist("MyVar"))...
Code: Select all
if (report.Dictionary.Variables.IndexOf("MyVar") != -1)...
Variable Question
Somehow the first version does work right. But only after compiling the report, when loading as a dll it works.
report.IsVariableExist("MyVar") is false and
report.Dictionary.Variables.IndexOf("MyVar") is 3
Seems to be a bug to me.
Thanks!
Marco
report.IsVariableExist("MyVar") is false and
report.Dictionary.Variables.IndexOf("MyVar") is 3
Seems to be a bug to me.
Thanks!
Marco
Variable Question
Problem fixed. Thank you.
Variable Question
Irgnore this one and look under topic Big Problems with report.show