Subject | Re: IB_Cursor closes on post |
---|---|
Author | paulfilmer |
Post date | 2003-12-09T05:08:40Z |
--- In IBObjects@yahoogroups.com, "Alfred Seetoh" <cwseetoh@s...>
wrote:
We currently still use TIBOQuery a lot to hook into visual controls,
which is nice to work with but can be slow when working with a large
number of columns. A TIB_Query will retain the record, but I also
sometimes use a TIB_Cursor and just reload the record after posting.
It kind of depends on how much data you need to pull off the server.
For us we are (almost) always running apps locally on the same
machine as the .gdb file, and it hardly takes any time to reload a
record completely.
Paul.
wrote:
> I did a simple experiment to use IB_Cursor to insert a record. IHi Alfred
> realise IB_Cursor closes (Active = false) automatically after
> posting. Just wondering if there's any way I can prevent it from
> closing at all?
>
> Alfred
We currently still use TIBOQuery a lot to hook into visual controls,
which is nice to work with but can be slow when working with a large
number of columns. A TIB_Query will retain the record, but I also
sometimes use a TIB_Cursor and just reload the record after posting.
It kind of depends on how much data you need to pull off the server.
For us we are (almost) always running apps locally on the same
machine as the .gdb file, and it hardly takes any time to reload a
record completely.
Paul.