Subject Re: [IBO] TIB_Events
Author Lester Caine
> I looked at the example with ibo it is very vague, I want to be notified
> when a table in our database changes, ie, record changed/inserted or
> deleted,
>
> it has a property called Events, TStrings, what must i put in there, the
> names of the tables? what if i want to be notified of all tables?

The starting point is adding an event to the database, which
will be used to cause actions in the client applications.

I don't use them any more, prefering to flag the actual
record that has changed, but an 'AFTER UPDATE' trigger which
simply consists of

POST_EVENT "TABLE_UPDATE";

will generate that event when an update is commited to the
database.

IB_Event should be set to 'listen' for that event, and, for
example, action a refresh on TABLE when the event is recieved.
( Can't lay my hands on a copy of the code at the client end
at present - it has been a while since I used it <g> )

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services