Data.DB.TFieldDefs.Update

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Update; reintroduce;

C++

HIDESBASE void __fastcall Update();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.DB.pas
Data.DB.hpp
Data.DB TFieldDefs

Description

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

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.

See Also