Method Abstract():notify() Foundation
Receives notifications from DatabaseEngines
:notify( <nEvent>, <nNotification> ) --> self
|DBO_CLOSE_REQUEST||File in work area will be closed|
|DBO_BULK_REQUEST||Time consuming database operation begins|
|DBO_BULK_COMPLETE||Time consuming database operation ends|
|DBO_CHANGE_ORDER||Order of records changed (logical or physical order)|
|DBO_TABLE_UPDATE||Data in current record modified|
|DBO_TABLE_APPEND||New record created|
|DBO_MOVE_PROLOG||Record pointer will be moved|
|DBO_MOVE_DONE||Movement of record pointer ends|
|DBO_GOTOP||Record pointer set to beginning of file|
|DBO_GOBOTTOM||Record pointer set to the end of file|
The return value of :notify() is ignored.
The method :notify() is used in conjunction with DbRegisterClient() which registers objects as notification recipients in a used work area. Database Engines then call the :notify() method for all registered objects when the state in the corresponding work area changes. This can be induced by record pointer movement or by changing data in the work area. When :notify() is called, the work area is current in which the object is registered.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.