Subject | Re: [IBO] TIB_Cursor . . . IsEmpty? |
---|---|
Author | Svein Erling Tysvaer |
Post date | 2006-09-08T20:32:46Z |
Anthony Tanas wrote:
IB_Query1.Open;
while not IB_Query1.eof then...
IB_Query.Close;
With TIB_Cursor I do
IB_Cursor1.First; //Someone told me to use First rather than open
while not IB_Cursor1.eof then...
//And that there is no point in calling Close since there is nothing
//left to close when a TIB_Cursor reaches eof.
Does this answer your question?
HTH,
Set
> What should I use for the equivalent of Query.IsEmpty with TIB_Cursor?With TIB_Query I normally do
>
> Thanks.
IB_Query1.Open;
while not IB_Query1.eof then...
IB_Query.Close;
With TIB_Cursor I do
IB_Cursor1.First; //Someone told me to use First rather than open
while not IB_Cursor1.eof then...
//And that there is no point in calling Close since there is nothing
//left to close when a TIB_Cursor reaches eof.
Does this answer your question?
HTH,
Set