RAD Studio VCL Reference
TDataSet.PSIsSQLSupported Method

Indicates whether the dataset can execute SQL statements.

function PSIsSQLSupported: Boolean; virtual;
virtual __fastcall Boolean PSIsSQLSupported();

PSIsSQLSupported indicates whether the provider can call PSExecuteStatement to execute an SQL statement. When PSIsSQLSupported returns false, calling PSExecuteStatement generates an exception. The provider can still work with a dataset that returns false from PSIsSQLSupported, but it must set the ResolveToDataSet property to true, or provide data on a read-only basis. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!