Language Reference Guide : System Classes : DBSessionObject Class : RegisterDBEvent Method
 
Share this page          
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.