ComponentOne True DataControl 8.0 > Using True DataControl as Your Data Source > Using Recordset Events |
True DataControl fires events when a change occurs in its recordset. The recordset events fired by True DataControl are essentially the same as the corresponding events of the standard ADO data control (Microsoft ADODC), with the exception of the WillChangeField event. These events occur when current record position changes, recordset fields change, recordset rows change, and when the whole recordset changes. The difference in WillChangeField is due to a poor design of the standard ADO WillChangeField event, which does not provide the new value that is about to be assigned to a field. Knowing this value is essential to the programmer, True DataControl uses different arguments in its WillChangeField event. All other recordset events adhere to the ADO specification. You can look them up either in the ADO documentation, or in the Reference section of this document.
Occurs before the current record position changes. |
|
Occurs after the current record position has changed. |
|
Occurs before a field value changes |
|
Occurs after a field value has changed |
|
Occurs before a record is added/deleted/updated/restored |
|
Occurs after a record has been added/deleted/updated/restored |
|
Occurs before the whole recordset is changed |
|
Occurs after the whole recordset has changed |