Subject | Re: [IBO] SQL Error code = -804 |
---|---|
Author | Aage Johansen |
Post date | 2001-08-16T18:45:03Z |
Jason Wharton wrote:
Is it this way for both IBO/3 and IBO/4?
I have - for a long time - used Open and then tested for Eof. I haven't
noticed any problems with this, but maybe I should straighten up the
code?
Regards,
Aage J.
>Is it just 'the best' methods, or are these the one and only safe way?
> If you are using a buffered query then IsEmpty is the best. This is because
> it pertains to the buffer containing any records or is it empty.
>
> If you are using a unidirectional dataset then call the First method (and
> not Open) and check for Eof.
>
Is it this way for both IBO/3 and IBO/4?
I have - for a long time - used Open and then tested for Eof. I haven't
noticed any problems with this, but maybe I should straighten up the
code?
Regards,
Aage J.