RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IProviderSupport2.PSGetCommandText Method

Gets the SQL command to be executed by PSExecute.

Pascal
function PSGetCommandText: WideString;
C++
__fastcall BSTR PSGetCommandText();

If the provider's Options property includes poAllowCommandText, clients can supply an SQL command along with a call to GetRecords or Execute. This command is passed to the dataset by a call to PSSetCommandText, and subsequently executed by a call to PSExecute

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!