12. Inter-Frame Communication Techniques : How You Can Communicate Between OpenROAD Applications Using Database Events : How You Can Create, Register, and Raise Events : How You Can Raise an Event
 
Share this page                  
How You Can Raise an Event
To send a database event, you use the raise dbevent statement. This statement sends the specified database event to the DBMS for distribution to those applications registered to receive the event, for example:
on click =
{
    buff = 'Sending DBEvent';
    raise dbevent myevent :buff;
    commit;
}
To issue the raise dbevent statement, the application's effective user must own the specified database event or must have the raise permission. In a multi-session application, this means that the effective user of the session that issues the statement must either own the specified event or have the raise permission.