Subject Re: [IBO] How to react on a DMLCache-Update
Author guido.klapperich@t-online.de
I'm just wondering how the IB_Grid knows, when it has to update the changed row
via DML. I haven't found anything in the IB_Grid.pas, perhaps you can give me a
hint.


Guido

John Peterson wrote:

> Hi Guido,
> I am assuming you have the DML triggers set up on the table you are
> watching.
>
> 1. The User which changes the table must be different to the user watching
> for the event. If they are same IB user, then the event is ignored by IBO.
> 2. You must use the SyncILVS component, and prepare it for events to fire.
> ie IB_Sync.Prepare; (I do this in the after connect event).
> 3. Verify you are watching for the correct event in the SYNC component.
>
> For more info, see the SurveyApp demo program in D4Apps, it uses DML Cache.
>
> HTH
> John
>
> ----- Original Message -----
> From: <guido.klapperich@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Saturday, February 23, 2002 9:18 PM
> Subject: Re: [IBO] How to react on a DMLCache-Update
>
> > I have tried the event, but it doesn't fire. Besides I don't want to
> customize
> > the behaviour of this event, I just want to know, when it happens.
> >
> >
> > Guido
> >
> > "Helen Borrie (TeamIBO)" wrote:
> >
> > > At 11:21 AM 23-02-02 +0100, you wrote:
> > > >I'm looking for an event, that fires, when a dataset is updated via
> > > >DMLCaching. For example the IB_Grid automaticly displays the updated
> > > >record, so it react on this event, but I haven't found anything.
> > >
> > > Guido,
> > > Look at the OnDMLCacheReceivedItem event of the dataset receiving the
> event
> > > - the help even shows you how to customise this event to your own
> behaviour.
> > >
> > > regards,
> > > Helen Borrie (TeamIBO Support)
> > >
> > > ** Please don't email your support questions privately **
> > > Ask on the list and everyone benefits
> > > Don't forget the IB Objects online FAQ - link from any page at
> > > www.ibobjects.com
> > >
> > >
> > >
> ___________________________________________________________________________
> > > IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> > > without the need for BDE, ODBC or any other layer.
> > >
> ___________________________________________________________________________
> > > http://www.ibobjects.com - your IBO community resource for Tech Info
> papers,
> > > keyword-searchable FAQ, community code contributions and more !
> > >
> > > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> >
> >
> >
> ___________________________________________________________________________
> > IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> > without the need for BDE, ODBC or any other layer.
> >
> ___________________________________________________________________________
> > http://www.ibobjects.com - your IBO community resource for Tech Info
> papers,
> > keyword-searchable FAQ, community code contributions and more !
> >
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> >
> >
> >
>
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/