Subject Re: [IBO] IBO and background threads
Author Jason Wharton
> I would use a separate TIB_Cursor for this and set the Callback Properties
> so, that the user can continue his work. So you wont have to deal with
treads.

Normally this would work but I think if he does a record count it will
execute on the server and cause the client to block while it is processing.
A thread is the only way to get a large record count from the server without
making the client wait.

I must say that I really think you should consider an alternative way of
doing this. Have you considered looking into maintaining stat tables so that
the counts are maintained for you?

Then, is all you need is a quick query to look up the values.

HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com