[]
Executes a VBScript statement in the current report context.
public void Execute(string statement)
Type | Name | Description |
---|---|---|
string | statement | A string with VBScript instructions to be executed. |
<p>This method is similar to the <xref href="C1.WPF.FlexReport.C1FlexReport.Evaluate(System.String)" data-throw-if-not-resolved="false"></xref> method, except it does not return a value.</p>
<p>If the <b>expression</b> string contains invalid syntax or causes an evaluation error, the control
raises the ReportError event. In this case, the Handled parameter of the event is set to true, so the exception is ignored by default.
Executes a VBScript statement.
public void Execute(string statement, IReportScriptContext context)
Type | Name | Description |
---|---|---|
string | statement | A string with VBScript instructions to be executed. |
IReportScriptContext | context | IReportScriptContext interface used to obtain objects available in expression. |