Page 1 of 1

Get Variables from Report

Posted: Thu Jul 24, 2008 6:59 am
by ape
Is it possible to get in a c# file a list of variables which are defined in a report?

Get Variables from Report

Posted: Thu Jul 24, 2008 7:28 am
by Edward
Hello.

Yes, it is possible. Please inspect this list like this:

Code: Select all

foreach (Stimulsoft.Report.Dictionary.StiVariable variable in report.Dictionary.Variables)
{
        if (!variable.IsCategory)
       { .... }
}
Thank you.

Get Variables from Report

Posted: Thu Jul 24, 2008 8:46 am
by ape
Thank you =)