Subject Re: [IBO] How to know if a query is empty with an IB_Cursor
Author aosylvain
Ok, thank you Luc, I'll try this today.

Is it really important to prepare the statement before setting the
param ? What is the real difference ?

And what is the difference with AutoFetchAll set to true or false for
my problem ?

I hope it will work but I would like to know why too ;-)

Sylvain.


--- In IBObjects@yahoogroups.com, Lucas Franzen <luc@r...> wrote:
>
> No, if a Cursor is Empty then EOF is True *AND* BOF is True.
>
> But you should prepare a statement BEFORE setting the parameter.
> And check out if you have AutoFetchAll set to True.
>
> And:
> IsEmpty *DOES* exist TIB_BDataset (IB_Query!), but NOT in TIB_Cursor
> (since this is directly derived from TIB_Dataset).
>
>
> Luc.
>