P,

So effectively when the event arrives go and have a look at the last entry
in the table?? Would it not be a case that records could be posted to the
table and the events dispatched and because they are sequentially queued in
the delphi app things may get out of sync??

Eg.

In IB

Add Rec 1 Fire Ev1
Add Rec 2 Fire Ev2
Add Rec 3 Fire Ev3

In Delphi

Gets Ev1 and processes it. Does last and gets Rec1.
However by this time Ev2 & Ev3 have arrived and are queued
Processe Ev2. Goes to last and gets Rec3!!!
Process Ev3. Goes to last and gets Rec3!!!

Is the above correct???

------------------------------------------------------------------------
--Donovan
Donovan J. Edye [www.edye.wattle.id.au]
Namadgi Systems, Delphi Developer
Web: www.namsys.com.au E-Mail: [EMAIL PROTECTED]
Voice: +61 2 6285-3460 Fax: +61 2 6285-3459
TVisualBasic = Class(None);
------------------------------------------------------------------------


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Peter G Jones
> Sent: Friday, 4 February 2000 01:03
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: Interbase, TIBEvents.....
>
>
> Create a journal table and add a record to that with the
> key/table name of
> the record to look for.  Then call your event.
>
> Because event's can be lost, this also helps you catch up with
> stuff you may
> have missed.
>
>
>
> >From: "Donovan J. Edye" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
> >Subject: [DUG]:  Interbase, TIBEvents.....
> >Date: Wed, 2 Feb 2000 11:04:28 +1100
> >
> >G'Day,
> >
> >TIBEvents is a great notifaction scheme, however..... I can't
> see a way to
> >actually pass some data back to the interested applications. Yes, so a
> >record has changed in the table. However the interested
> application has no
> >clue which one. It would be more helpful if I could somehow pass say the
> >record id back to the interested application. That way it could
> go directly
> >to the specified record instead of attempting to determine which one it
> >was.
> >
> >Any ideas on how I could do that??
> >
> >TIA
> >
> >------------------------------------------------------------------------
> >--Donovan
> >Donovan J. Edye [www.edye.wattle.id.au]
> >Namadgi Systems, Delphi Developer
> >Web: www.namsys.com.au E-Mail: [EMAIL PROTECTED]
> >Voice: +61 2 6285-3460 Fax: +61 2 6285-3459
> >TVisualBasic = Class(None);
> >------------------------------------------------------------------------
> >
> >-----------------------------------------------------------------
> ----------
> >     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> >                   Website: http://www.delphi.org.nz
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> ------------------------------------------------------------------
> ---------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to