MemTableEh allows to create an internal array of records at design-time and at run-time. Before creating the table data, you need to set properties to specify the structure of the table you want to create. In particular, you need to specify structure of the fields of the new array.
There are two ways to do this:
After creating field definitions or persistent fields, you need to create internal array. At Design-time mode, click right mouse above dataset and choose 'Create DataSet'. This command does not come up in the context menu until you define the whole necessary information.
To create an internal array at Run-time, you need to call CreateDataSet method.
If DataDriver property is assigned then internal array will be created automatically on activations MemTable. At this case the structure of array MemTable get from DataDriver.
In ‘stand-alone’ mode when MemTable is closing it does not delete internal array of records. To close MemTable with simultaneous deleting of all records and structure, use DestroyTable method.
Use EmptyTable method to delete all records from MemTable.
Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!