Subject Re: [IBO] EOF BOF craziness
Author Paul Vinkenoog
Hi Helen,

>> I've used the BDE too, long ago - did it really work that way? Did
>> it turn on Eof as soon as you were on the last record, or as soon
>> as you attempted to go beyond it?
>
> Me too - also long ago, but not so long that I've forgotten that its
> EOF/BOF behaviour is the same as IBO's.

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.

> Subsequently, working with queried sets, the penny dropped. EOF and
> BOF are dataset *states* that reflect the fact that the buffer
> cursor is positioned in limbo.

That's how I see them too, and how I want them. Either you are on a
valid record, or you have Bof and/or Eof true.


Greetings,
Paul Vinkenoog