Subject RE: [IBO] TIBOQuery.InvalidateRowNum
Author Bram van der Voet / A&V
I got this from the FAQ. If I would have seen myIBOQuery.InvalidateRowNum(
myIBOQUERY.RecNo ) I never would bothered the list...

How can I refresh a single record with TIBOQuery?
Call the InvalidateRowNum() method or the InvalidateBookmark() method to do
If I don't have it declared at the TIBODataset level you can call it by
referencing the InternalDataset property which gives you direct access to
the internal IB_Query instance that the TDataset layer is on top of. You may
need to call the TDataset.Resync() method in order to get the datalink
buffers to pick up the refreshed record as well.
(Jason Wharton)

Bram van der Voet / A&V Automatisering

-----Oorspronkelijk bericht-----
Van: Jason Wharton [mailto:jwharton@...]
Verzonden: woensdag 20 maart 2002 19:13
Onderwerp: Re: [IBO] TIBOQuery.InvalidateRowNum

> I have a problem with
> TIBOQuery.InvalidateRowNum(TIBOQUERY.Internaldataset.rownum). Rownum is
> always 0.
> If I do TIBOQuery.InvalidateRowNum(3), it works ok.
> Any idea?

You should do nothing to depend upon the Internaldataset.RowNum.
Instead do this:

myIBOQuery.InvalidateRowNum( myIBOQUERY.RecNo );

Jason Wharton
CPS - Mesa AZ

IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________ - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to