Skip to main content

TdxMemPersistentOption Enum

Enumerates load options for data stored in a DFM file.

Declaration

TdxMemPersistentOption = (
    poNone,
    poActive,
    poLoad
);

Members

Name Description
poNone

On Demand Mode. The memory-based dataset does not load data from a DFM file automatically.

You can call the dataset’s Persistent.LoadData procedure to load data from a DFM file on demand.

poActive

Default. Active Mode

The memory-based dataset automatically loads data from a DFM file every time you call the Open procedure.

poLoad

Startup Mode. The memory-based dataset automatically loads data from a DFM file at application startup (only once).

You can call the dataset’s Persistent.LoadData procedure at any moment to reload data from a DFM file on demand.

Remarks

In addition to data import and export functionality, the TdxMemData component can store data in a DFM file. Different data load options allow you to change the component’s data storage behavior.

Direct TdxMemPersistentOption Type Reference

The TdxMemPersistent.Option property references the TdxMemPersistentOption type.

See Also