A TData control can function in one of three data access modes, as determined by its DataMode property:
0 – DataSource |
Data source mode is used to operate on data from an ADO Recordset. It can be a database or another source specified by the control’s data source properties (on the DataSource property page), SourceRecordset property, or DataSource and DataMember properties. This is the default mode. |
1 - MemoryArray |
Memory array mode is used to store data in an internal array without relying on any external data sources. |
2 - UserEvents |
User events mode provides a protocol for custom data sources that cannot be implemented in data source mode or memory array mode. This mode is intended for expert users only. |
At design time, you can set the DataMode property in the Visual Basic Properties window or in the DataSource property page.