 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Didier Guest
|
Posted: Thu Oct 12, 2006 6:48 pm Post subject: TIBEvents |
|
|
Hello I'm Using Interbase 6.0 or Firebird and C++Builder5
I want to use the IBEvents components to know if one table of my Interbase
database is modifies by an other application ;
So I've created in my interbase database the following Trigger
Create trigger Trigger1 for table1 after update position 0 as
begin
POST_EVENT 'New_record';
END
The In my aplli I use the IBDAtabase,IBTransaction and IBEvents component
and parameter them
IBEvents:
I have add one string New_record in the TString Events property
In the database i put the name of my IBDataBase
and I wrote cone in the "OnEventAlert" method
The problem is that I don't pass in this metthos when I modify my Table1
I have to add that I alter my trigger to active (Create trigger ... active
isn't autorized!!!)
Can Anybody help me or say me where I can get a source code to use this
component
I don't understand in interbase doc ;it's sais that you must add EVENT INIT
QSDFD('New_record') ; have I to write this sql before using EventAlert..
Thank-you
--
AEROPRODUCT
Didier BODINIER
Tel: 02.40.28.51.94
Fax: 02.40.28.53.87
Email dbodinier (AT) wanadoo (DOT) fr
Rue du 11 Novembre
BP1
44110 SOUDAN
Web Site http://www.aeroproduc.com |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|