Subject Re: [IBO] EOF BOF craziness
Author Helen Borrie
At 02:51 AM 10/09/2003 +0200, you wrote:

>If I understand the TDataset Helptext correctly, there are some
>differences. For instance, in IBO, if you jump to the last record, no
>matter how (with Next, Last, a Locate...) Eof is always false because
>you aren't _past_ the last record. In TDataset it seems that you can
>be _on_ the last record and yet have Eof true.

Paul, I think the Delphi help is misleading. This could be interpreted to
say that TDataset behaviour is still as it was originally:

> - Call a dataset's Next method, and the method fails because the
> current record is already the last row in the dataset.

It *could* be that different versions of Delphi actually *respond* to EOF
in different ways - "undocumented features" - i.e. earlier versions
excepted when Next was called at the last row, whereas later versions
simply set BOF and swallow the exception...if it happened, it was probably
at Delphi 3, when the TDataset class became virtual.

Helen