|
|
Question : Using TIBEvents
|
|
Hi Experts, I try to use a TIBEvents component but I don't know what kind of events are to be used. I have choosen logical events (for example EMP_NO>100) for the Events property (EventAlerter Events window) and I don't get event report using the procedure as follows:
procedure TDMDatamodul.IBEvents1EventAlert(Sender: TObject; EventName: String; EventCount: Integer; var CancelAlerts: Boolean); begin MessageDlg ('Event: '+EventName, mtInformation, [mbOK], 0); end;
This is placed in a DataModule so first I had to insert the "uses Dialogs" to the used units to be able to use here the message dialog box.
An other question: How can I delete event from this list (EventAlerter Events window)?
with best regards
Janos
|
Answer : Using TIBEvents
|
|
You have some invalid characters in post_event line. It must be: POST_EVENT "NEW_EMPL";
Regards, Bojidar Alexandrov
|
|
|
|
|