RegisterDBEvent Method
To use database alerters, the application must register for the activations it is interested in. The RegisterDBEvent is used to register for a specific activation by name.
This method has the following syntax:
integer = DBSessionObject.RegisterDBEvent(eventname =
varchar(256))
The
DBSessionObject must have a State of DS_CONNECTED (see
State Attribute) and must be the session object associated with the session in which you want to register the database event.