RAD Studio VCL Reference
|
Executes a specified type of SQL statement to perform an update for an otherwise read-only results set when cached updates is enabled.
procedure ExecSQL(UpdateKind: TUpdateKind); virtual;
virtual __fastcall ExecSQL(TUpdateKind UpdateKind);
Call ExecSQL to execute the SQL statement necessary for updating the records belonging to a read-only result set when cached updates is enabled. UpdateKind specifies the statement to execute, and can be one of the following values:
If the statement to execute contains any parameters, an application must call SetParams to bind the parameters before calling ExecSQL. To determine if a statement contains parameters, examine the appropriate ModifySQL, InsertSQL, or DeleteSQL property, depending on the statement type intended for execution.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|