The Table Factory object has the following events:
Name |
Parameter(s) |
Description |
Error |
Object |
An error occurred in one of the objects. |
Events or groups of events may be enabled or disabled by setting bits in the events string returned by the Events property. Disabling events may lead to improved performance, especially for operations that manipulate large chunks of data. Events may also be turned on and off temporarily. The following values are available for the events property:
ttaDisableAllTableEvents = 0 |
Disable all events |
ttaEnableOnTableCreate = 1 |
Fire event after associated table is created |
ttaEnableOnTableClear = 2 |
Fire event after associated table is cleared |
ttaEnableOnTableDelete = 4 |
Fire event after associated table is deleted |
ttaEnableOnTableDataChange = 8 |
Fire event after any data has changed |
ttaEnableOnRowInsert = 16 |
Fire event after a row is inserted |
ttaEnableOnRowRemove = 32 |
Fire event after a row is removed |
ttaEnableOnColumnInsert = 32 |
Fire event after a column is inserted |
ttaEnableOnColumnRemove = 64 |
Fire event after a column is removed |
ttaEnableAllTableEvents = 32767 |
Enable all events |
All values may be combined through and or or operations.

Rem Enable TableCreate and TableInsert event
MyControl.Events = MyControl.Events or _
ttaEnableOnTableCreate or ttaEnableOnTableDelete
Rem Disable RowInsert and RowRemove event
MyControl.Events = MyControl.Events and not _
(ttaEnableOnRowInsert or ttaEnableOnRowRemove)