Subject | Re: [IBO] AutoFetchAll |
---|---|
Author | Luiz |
Post date | 2002-03-01T23:52:23Z |
Duilio,
If you wnat to visit all records returned from this cursor, normally you
should be a loop calling cursor.next untill you get cursor.eof if
autofetchall is False.
if autofetchall is True, then all rows are returned from server
automatically without coding in your app, and you can use the AfterFetchRow
to do something with it.
Luiz
> from the on-line help:Let's upon you have a tib_cursor.
>
> "When a dataset is opened this property determines whether all rows should
> be fetched"
>
> I cannot understand when it is convenient to set this property to True (or
> False).
If you wnat to visit all records returned from this cursor, normally you
should be a loop calling cursor.next untill you get cursor.eof if
autofetchall is False.
if autofetchall is True, then all rows are returned from server
automatically without coding in your app, and you can use the AfterFetchRow
to do something with it.
> The same for AutoFetchFirst.As the name suggest, the first row is selected after open the dataset.
Luiz