RAD Studio VCL Reference
|
Sets the parameters for a specified SQL statement type, and executes the resulting statement.
procedure Apply(UpdateKind: TUpdateKind); override;
virtual __fastcall Apply(TUpdateKind UpdateKind);
Call Apply to set parameters for an SQL statement and execute it to update a record. UpdateKind indicates which SQL statement to bind and execute, and can be one of the following values:
Value Meaning
ukModify Bind and execute the SQL statement in the ModifySQL property
ukInsert Bind and execute the SQL statement in the InsertSQL property
ukDelete Bind and execute the SQL statement in the DeleteSQL property
Apply is primarily intended for manually executing update statements from an OnUpdateRecord event handler.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|