Subject Re: [IBO] Prepare + unprepare + close with IB_Query or IB_Cursor?
Author Jason Wharton
Yes, that pretty much sums it up.

I've tampered with the idea of making the TIBOQuery behave like TQuery in
this respect. I really should make a note of this in the BDE to IBO
Conversion guide if I don't already. Helen, please make sure this is in
there, as well as in the help comments in the sources for the next help file

Jason Wharton
CPS - Mesa AZ

----- Original Message -----
From: "sdbeames" <s.beames@...>
To: <>
Sent: Wednesday, July 31, 2002 10:30 PM
Subject: Re: [IBO] Prepare + unprepare + close with IB_Query or IB_Cursor?

> --- In IBObjects@y..., "Jason Wharton" <jwharton@i...> wrote:
> > When you are done with something, call Unprepare or it will
> continue to hold
> > resources on the server.
> >
> > Jason Wharton
> OK, so Prepare is redundant, but Unprepare isn't.
> With Borland parts I'd have used Prepare to hold something ready
> while using it more than once, and then Unprepare it. With IBO, it
> stays prepared, even if it's implicitly prepared. So it seems
> there's no reason to ever call Prepare, just Unprepare.
> Thanks,
> Steve