[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBCtrls' (#lcl)

TFieldDataLink.UpdateData

Signals the OnUpdateData event handler for pending changes to the linked dataset.

Declaration

Source position: dbctrls.pp line 73

protected procedure TFieldDataLink.UpdateData; override;

Description

UpdateData is an overridden procedure used to post pending updates from a data-aware control to the linked dataset. UpdateData uses the value in the internal IsModified flag to determine if additional actions are required in the method. No actions are performed when the internal IsModified flag has not been set.

UpdateData signals the OnUpdateData event handler when it has been assigned for the class instance. This event handler normally contains a reference to the UpdateData method defined for the associated data-aware Control, such as TCustomDBGrid.UpdateData and TDBEdit.UpdateData.

Remark: UpdateData does not call the inherited method in the ancestor class.

See also

TFieldDataLink.OnUpdateData

  

OnUpdateData - event handler for updating any pending changes in the data.

TFieldDataLink.Control

  

The Control to which this datalink is attached.


Version 4.0 Generated 2025-05-03 Home