TdxCustomMemData Class
The base class for the TdxMemData component.
Declaration
TdxCustomMemData = class(
TDataSet
)
Remarks
The TdxCustomMemData
class implements a memory-based dataset component designed as a temporary storage for data-aware controls.
Main API Members
The list below outlines key members of the TdxCustomMemData
class that allows you to populate a memory-based dataset and manage data at runtime.
- Generate dataset fields from a specified source (CreateFieldsFromBinaryFile, CreateFieldsFromDataSet, and CreateFieldsFromStream).
- Populate the memory-based dataset from different sources (LoadFromDataSet, LoadFromBinaryFile, LoadFromStream, LoadFromStrings, and LoadFromTextFile).
- Identify if the memory-based dataset contains records (IsEmpty).
- Obtain the number of stored dataset records (RecordCount).
- Associate the memory-based dataset with a data source component (DataSource).
- Specify if the memory-based dataset is available for associated data-aware controls (Active).
- Copy data and structure from another dataset (CopyFromDataSet).
- Access dataset fields stored in memory (Data).
- Navigate between dataset records (First, Last, Next, and Prior).
- Avoid excessive redraw operations in bound data-aware controls during batch dataset changes (DisableControls and EnableControls).
- Identify if the dataset is positioned at the first or last record (Bof and Eof).
- Sort data against one or more dataset fields (SortedFields and SortOptions).
- Move the active record (MoveCurRecordTo).
- Customize the component’s DFM-related content persistence settings (Persistent).
- Protect content from changes (ReadOnly).
- Change the column delimiter character for text-based files that store exported data (DelimiterChar).
- Save data to a file or stream (SaveToBinaryFile, SaveToStream, SaveToStrings, and SaveToTextFile).
Terminal TdxCustomMemData Class Descendants
Do not use the TdxCustomMemData
class directly. Use its descendant instead.
Inheritance
TObject
TPersistent
TComponent
TDataSet
TdxCustomMemData
See Also