Subject | Re: [IBO] EOF BOF craziness |
---|---|
Author | Paul Vinkenoog |
Post date | 2003-09-10T00:51:56Z |
Hi Helen,
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.
valid record, or you have Bof and/or Eof true.
Greetings,
Paul Vinkenoog
>> I've used the BDE too, long ago - did it really work that way? DidIf I understand the TDataset Helptext correctly, there are some
>> 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.
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 andThat's how I see them too, and how I want them. Either you are on a
> BOF are dataset *states* that reflect the fact that the buffer
> cursor is positioned in limbo.
valid record, or you have Bof and/or Eof true.
Greetings,
Paul Vinkenoog