Subject RE: [IBO] check for empty dataset
Author Ronan van Riet
Thanks Paul for your reply!

Is it necessary to close the IB_Cursor before preparing it?
I am executing the IB_Cursor, rather than opening it. What is the

Thanks & regards,
Ronan van Riet

> if not MyCursor.Prepared then MyCursor.Prepare;
> // don't Open a cursor; (API)First will "open" it:
> MyCursor.First; // or, faster: APIFirst
> if MyCursor.Eof
> then ... // dataset was empty
> else ... // dataset contains at least one record

Play online games with your friends with MSN Messenger