Vcl.DBGrids.TGridDataLink.UpdateData
Delphi
procedure UpdateData; override;
C++
virtual void __fastcall UpdateData();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TGridDataLink |
Description
Allows the grid to post changes to the dataset.
Applications cannot call the UpdateData procedure directly. It is called automatically when pending changes need to be posted to the dataset. UpdateData tells the TCustomDBGrid to write any unposted changes to the current field to the underlying Field component.