RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGridDataLink.UpdateData Method

Allows the grid to post changes to the dataset.

Pascal
procedure UpdateData; override;
C++
virtual __fastcall UpdateData();

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!