Bde.DBTables.TTable.StoreDefs

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property StoreDefs: Boolean read FStoreDefs write FStoreDefs default False;

C++

__property bool StoreDefs = {read=FStoreDefs, write=FStoreDefs, default=0};

Properties

Type Visibility Source Unit Parent
property published
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TTable

Description

Indicates whether the table's field and index definitions persist with the data module or form.

If StoreDefs is true, the table's index and field definitions are stored with the data module or form. Setting StoreDefs to true makes the CreateTable method into a one-step procedure that creates fields, indexes, and validity checks at runtime.

StoreDefs is false by default. It becomes true whenever FieldDefs or IndexDefs is updated or edited manually; to prevent edited (or imported) definitions from being stored, reset StoreDefs to false.

See Also