Subject Re: DMLCache and DMLCacheReceivedItem not fired
Author Marco Menardi <mmenaz@lycosmail.com>
Thanks Helen, but my problem is that while the event "ReceivedItem" is
fired for the table with the same keylinks, it's not fired in the
table that is a many-to-many relation between that table and another
one, so I can do nothing to refresh the dataset.
I was thinking that the "edited" event was broadcasted to all the
connected dataset, while seems that it's broadcasted only to those
with the same keylinks, that is not enought for all the situations
where you have a join, or like in mine, you have a many-to-many
relation that involves those fields + the ones of the other table.
Since this seems strange to me (and it's contrary to the help file
sample that confirms tha the ReceivedItem is broadcasted to all the
datasets) I was wondering if there is some flag or something else that
has to be set in this particular situation.
thanks
Marco Menardi

--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@t...> wrote:
> At 07:59 PM 31/01/2003 -0700, you wrote:
> >Can't remember how it is spelled but you just call the method where
you want
> >the action to take place. This was a bit lazy for not having a flag as
> >handled and doing before and after handlers. One event and then
being able
> >to invoke the default action was the simplest interface while still
being
> >flexible.
>
> Look up the help for the TIB_Dataset.OnDMLCacheReceivedItem event. The
> event sequence is explained there a little and there is even a code
snippet.
>
> Helen