RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomSQLDataSet.PSIsSQLSupported Method

Indicates whether the dataset can execute SQL statements.

Pascal
function PSIsSQLSupported: Boolean; override;
C++
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!