Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomMemData.Persistent Property

Provides access to record storage settings and related methods.

#Declaration

Delphi
property Persistent: TdxMemPersistent read; write;

#Property Value

Type Description
TdxMemPersistent

Contains record storage settings in a memory-based dataset.

#Remarks

In addition to data import and export functionality, the TdxMemData component can store data in a DFM file.

You can use the Persistent.Option property to switch between available automatic data load modes. Refer to the TdxMemPersistent class description for detailed information on all available options.

#Code Example: Delete All Records

The following code example deletes all records stored in a memory-based dataset:

  if dxMemData1.Persistent.Option = poActive then
    dxMemData1.Persistent.Option := poNone;
  dxMemData1.Close;
  dxMemData1.Open;
See Also