Subject Re: [IBO] BufferEof never comes to TRUE if ib_dataset.next method is also used in loop
Author Cagatay Tengiz
Thanks Jason...
----- Original Message -----
From: "Jason Wharton" <jwharton@...>
To: <IBObjects@yahoogroups.com>
Sent: Saturday, October 12, 2002 4:05 AM
Subject: Re: [IBO] BufferEof never comes to TRUE if ib_dataset.next method
is also used in loop


> > IBO_Query.BufferFirst;
> > IBO_Query.First;
> > while not IBO_Query.BufferEof do begin
> > file://do sth...
> > IBO_Query.BufferNext;
> > IBO_Query.Next;
> > end;
>
> Do your looping based on the record pointer if you are going to navigate
it.
> Then, set the BufferRowNum := RowNum - 1 to keep the relative position you
> want.
>
> Scrolling the record pointer makes it such that the buffer pointer is
> invalid.
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
> -- We may not have it all together --
> -- But together we have it all --
>
>
>
>
>
___________________________________________________________________________
> 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/
>

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com