Subject Re: [IBO] Cursor.RecordCount
Author guido.klapperich@t-online.de
I have found the problem, I have to set AutoFetchAll:=false.

guido.klapperich@... wrote:

> Cursor.EOF is always true, what am I doing wrong.
>
> Lucas Franzen wrote:
>
> > I couldn't get it working with APIFirst, too.
> >
> > Using First (this will re-open the cursor) instead of APIFirst worked
> > well.
> >
> > Luc.
> >
> > guido.klapperich@... schrieb:
> > >
> > > > Guido,
> > > >
> > > > I can't tell you why this happens, but it's not a goof idea to use
> > > > record count at all for stepping through a dataset, being it a
> > > > TIB_Cursor or TIB_Query.
> > > >
> > > > Use WHILE NOT EOF instead.
> > >
> > > After doing APIFirst Cursor.EOF is true, although there are 6 records.