Subject | Re: [IBO] EOF BOF craziness |
---|---|
Author | Helen Borrie |
Post date | 2003-09-10T01:17:31Z |
At 02:51 AM 10/09/2003 +0200, you wrote:
say that TDataset behaviour is still as it was originally:
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
>If I understand the TDataset Helptext correctly, there are somePaul, I think the Delphi help is misleading. This could be interpreted to
>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.
say that TDataset behaviour is still as it was originally:
> - Call a dataset's Next method, and the method fails because theIt *could* be that different versions of Delphi actually *respond* to EOF
> current record is already the last row in the dataset.
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