Subject Re: [IBO] EOF BOF craziness
Author Daniel Rail
Hi,

At September 8, 2003, 10:13, Paul Hope wrote:
> It seems crazy to me that I cant have a button calling
> TIB_Query.Next and not get an 'At end of dataset' error when it gets
> to the end.

> I cant even do 'if not eof then next' because eof isnt true until after the next is processed.

[...snip code...]

> When calling Prior, bof similarly doesnt work as I expect - I have to use (RowNum=0)

> Any suggestions of a more straight forward approach?

Can you show the code that you are having problems with? Can you
explain what you are trying to do? And, which IBO components are you
using, native or TDataset descendants? I use EOF and BOF all the time
without any problems.

--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)