RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldDefs.Update Method

Refreshes the field definitions in the Items property array to reflect the current state of the physical fields underlying the dataset.

Pascal
procedure Update; reintroduce;
C++
__fastcall Update();

Call Update to refresh the field definitions when the structure of the underlying dataset may have changed. Update updates the field definitions without opening the dataset. 

Before updating, the Updated property is checked to determine if the list is already up to date. You can force the list to be regenerated by setting the Updated property to false. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!