SDAC

TCustomDAUpdateSQL.Apply Method

Sets parameters for a SQL statement and executes it to update a record.

Class

TCustomDAUpdateSQL

Syntax

procedure Apply(UpdateKind: TUpdateKind); virtual;

Parameters
UpdateKind
Specifies which of update SQL statements to execute.

Remarks

Call the Apply method to set parameters for a SQL statement and execute it to update a record. UpdateKind indicates which SQL statement to bind and execute.

Apply is primarily intended for manually executing update statements from an OnUpdateRecord event handler.

Note: If a SQL statement does not contain parameters, it is more efficient to call ExecSQL instead of Apply.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback