ComponentOne FlexReport for WinForms
Execute(String) Method

C1.Win.FlexReport.4 Assembly > C1.Win.FlexReport Namespace > C1FlexReport Class > Execute Method : Execute(String) Method
A string with VBScript instructions to be executed.
Executes a VBScript statement in the current report context.
Syntax
'Declaration
 
Public Overloads Sub Execute( _
   ByVal statement As System.String _
) 
public void Execute( 
   System.string statement
)

Parameters

statement
A string with VBScript instructions to be executed.
Remarks

This method is similar to the Evaluate(String) method, except it does not return a value.

If the expression 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.

See Also

Reference

C1FlexReport Class
C1FlexReport Members
Overload List