EPUB | CHM | PDF

TMySQLTable.Properties.StoreDefs

Top Previous Next

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

Syntax:

property StoreDefs: Boolean;

Description:

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.