Icon Apply Method

procedure Apply(UpdateKind: TUpdateKind)

Call the Apply method to set the parameters for an SQL statement and execute it in order to update a record. The UpdateKind parameter indicates which SQL statement to bind and execute. The Apply method is primarily intended for manually executing update statements from an OnUpdateRecord event handler.

Information If an SQL statement does not contain parameters, it is more efficient to call the ExecSQL method instead of the Apply method.
Image