Subject | Re: [IBO] Key in current dataset |
---|---|
Author | Matt Nielsen |
Post date | 2003-07-22T17:08:11Z |
That's great then. If InvalidateBookmark doesn't touch the dataset
unless it needs to then I just have one problem. If I have a dataset
open and I have a record open in dsEdit mode. I then call Invalidate
record on a totally separate record. The InvalidateBookmark rolls
back the changes to this record in dsEdit mode also.
Thanks,
Matt
unless it needs to then I just have one problem. If I have a dataset
open and I have a record open in dsEdit mode. I then call Invalidate
record on a totally separate record. The InvalidateBookmark rolls
back the changes to this record in dsEdit mode also.
Thanks,
Matt
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@t...> wrote:
> At 02:50 PM 22/07/2003 +0000, you wrote:
> >My main question is still, how do I determine if the record the
other
> >user changed is in my dataset that is on th ecurrent user so I can
> >determine to invalidate the record or not.
>
> If you are determined not to search outside the buffer, then I
don't see
> you have any choice but to create a bookmark from the notification
data and
> walk through the buffer until you find a match. InvalidateBookmark
would
> be much cheaper. It won't cause a refetch until or unless the app
> subsequently touches that row.
>
> Helen