Check to see if variable exists in dictionary
Posted: Fri Aug 27, 2010 5:20 pm
I wanted to know if there was a way I could check to see if a variable has been added to the report dictionary.
For example, in my code I have this expression:
StiReport report = new StiReport();
if (Add == true)
{
report.Dictionary.Variables.Add(new StiVariable("Custom", "Title", "Report"));
}
In the Report Designer, is there a function or expression that I can use to determine if the variable "Title" exists in the report dictionary?
For example, in my code I have this expression:
StiReport report = new StiReport();
if (Add == true)
{
report.Dictionary.Variables.Add(new StiVariable("Custom", "Title", "Report"));
}
In the Report Designer, is there a function or expression that I can use to determine if the variable "Title" exists in the report dictionary?