RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTable.StoreDefs Property

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

Pascal
property StoreDefs: Boolean;
C++
__property Boolean StoreDefs;

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. 

 

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