Language Reference Guide : System Classes : DBSessionObject Class : RaiseDBEvent Method
 
Share this page          
RaiseDBEvent Method
The RaiseDBEvent method is used to raise a database event in the current database session.
This method has the following syntax:
integer = DBSessionObject.RaiseDBEvent(eventname =
          varchar(256)[, eventtext = varchar(256)][, share = integer])
This method has the following parameters:
eventname
(Required) Identifies the name of the event that is to be raised
eventtext
Specifies the character string to be carried by the event
share
Is a flag determining whether the event is visible to any other frame
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 raise the database event.