Subject Re: Refresh Single Record
Author manielsen2002
Thank you. That worked like a charm even with cached updates. Why
is the system not creating the KeyLinks correctly. Is there a way I
can correct this? Looks like it just needs to put the table name
before the field name in the key links.

--- In IBObjects@yahoogroups.com, "Artur Anjos" <artur@a...> wrote:
>
> Matt:
>
> Set AutoDefineKeyLinks to false.
> Define the keylinks by yourself.
>
> ( I use this option very often, so I can guarantee that it's not a
bug )
>
> Artur
>
> ----- Original Message -----
> From: "manielsen2002" <mnielsen@c...>
> To: <IBObjects@yahoogroups.com>
> Sent: Tuesday, May 27, 2003 9:55 PM
> Subject: Re: [IBO] Refresh Single Record
>
>
> > AutoDefineKeyLinks is true and the KeyLinks property is being
> > calculated correctly.
> >
> > I even updated to the lastest version of IBO 4.2Id and still same
> > problem.
> >
> > Any other thoughts?
> >
> > Matt
> > --- In IBObjects@yahoogroups.com, "Artur Anjos" <artur@a...>
wrote:
> > > Well, if you have the same problem, another ideas came up:
> > >
> > > IBO needs to know the way to refresh the row. Do you have
> > > KeyLinksAutoDefine=True? If so, turn it to false, and fill in
your
> > keys in
> > > KeyLinks.
> > >
> > > Artur
> > >
> > > ----- Original Message -----
> > > From: "manielsen2002" <mnielsen@c...>
> > > To: <IBObjects@yahoogroups.com>
> > > Sent: Tuesday, May 27, 2003 6:57 PM
> > > Subject: Re: [IBO] Refresh Single Record
> > >
> > >
> > > > I tried turning off cahcedupdates and I have the same
problem. It
> > > > removes the record from the dataset. I have version 4.2 Fr.
By
> > > > chance is there a bug?
> > > >
> > > > Matt
> > > > --- In IBObjects@yahoogroups.com, "Artur Anjos" <artur@a...>
> > wrote:
> > > > > And I use bookmarks, the way I have show you.
> > > > >
> > > > > I think the problem will be cached updates.
> > > > >
> > > > > Matt: if you turn cached updates off, the InvalidateBookmark
> > will
> > > > work?
> > > > >
> > > > > Artur
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Kevin Stanton" <Kevin.Stanton@R...>
> > > > > To: <IBObjects@yahoogroups.com>
> > > > > Sent: Tuesday, May 27, 2003 4:20 PM
> > > > > Subject: RE: [IBO] Refresh Single Record
> > > > >
> > > > >
> > > > > > I'm not sure about the cached updates portion of this but
I
> > > > refresh a row
> > > > > > by:
> > > > > >
> > > > > > IB_Query1.InvalidateRowNum(IB_Query1.RowNum);
> > > > > >
> > > > > > Hope this helps.
> > > > > > Kevin
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: manielsen2002 [mailto:mnielsen@c...]
> > > > > > Sent: Tuesday, May 27, 2003 7:52 AM
> > > > > > To: IBObjects@yahoogroups.com
> > > > > > Subject: [IBO] Refresh Single Record
> > > > > >
> > > > > >
> > > > > > I need to know how to refresh a single record when I
have
> > > > multiple
> > > > > > records in my dataset. I have cached updates on and by
> > policy I
> > > > > > can't turn them off for the time being. I am trying to
use
> > > > > > InvalidateBookmark as some of the prior posts have
> > recommended,
> > > > but
> > > > > > all that does is remove the record completely from the
> > > > dataset. I've
> > > > > > tried callin gResync aftet the invalidatebookmark, but
all I
> > > > get is a
> > > > > > record not located error.
> > > > > >
> > > > > > Please help. I really need a method of doing a single
> > record
> > > > refresh
> > > > > > in a potentially large dataset.
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Matt
> > > > > >
> > > > > >
> > > > > > Yahoo! Groups Sponsor
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> >
______________________________________________________________________
> > > > _____
> > > > > > 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 the Yahoo!
Terms of
> > > > Service.
> > > > > >
> > > > > >
> > > > > > [Non-text portions of this message have been removed]
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> >
______________________________________________________________________
> > > > _____
> > > > > > 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/
> >
> >