The SQL statement object.

public SQLStatement SQLStatement { get; set; }


This is only valid when Connection.ExecuteSQLStatement is called from the Select method of a virtual table plugin. This was done because that method doesn't accept a parameters array but the report may have parameters for an ask-at-runtime condition. So, the DataEngine sets the SQLStatement member of the connection object before calling plugin.Select so ExecuteSQLStatement can retrieve the parameters from there. This avoid having to add a parameters parameter to the Select method of the virtual table plugin interface.

See also:

Class Connection