Subject | Re: [IBO] Using onCallback to Show Meter or Clock ticking with TIB_QUERY |
---|---|
Author | Paul Hope |
Post date | 2003-09-24T09:37:08Z |
R. S
As far as I know you will not get any response while the server is
processing the query. The callback will only function when rows are being
returned. While the server is processing, your client thread will be
locked and the only thing you can do is show a cursor or display a message
before you open the query. If you want to have an animated clock you will
have to use separate threads.
Regards
Paul
As far as I know you will not get any response while the server is
processing the query. The callback will only function when rows are being
returned. While the server is processing, your client thread will be
locked and the only thing you can do is show a cursor or display a message
before you open the query. If you want to have an animated clock you will
have to use separate threads.
Regards
Paul
> Dear friends,___________________________________________________________________________
>
> I am doing
>
> select
> *
> from
> Selectable_Proc(:Parma1, :Param2,....)
>
> in a TIB_Query Components SQL property.
>
> The SP is doing a bit longer processing before
> any data is suspended.
>
> Many times the user gets tired since while M/C
> is processing there is no indication on the screen
> only thing I could do was to turn the cursor to
> different one but that's not sufficient. So I designed
> a form to show a clock and a meter and I showed
> it before I actually open the query.
>
> for the query I have set CallbackInc to 1.
> CallbackRefreshInt to 1000
> and CallbackInitInt to 1000
>
> In oncallback event I have put
> Application.Processmessages
>
> I ran application with BP set at above statement
> I found execution do not reach to it and the
> Clock as well the meter is standstill.
>
> is anything else to be set ?
> is there any demo application anywhere to explain
> the timerbased callbacks even when there is no actual
> fetching in progress ?
>
>
> Best Regards
>
> R. S. Patil
>
>
>
>
>
>
> IB Objects - direct, complete, custom connectivity to Firebird orInterBase
> without the need for BDE, ODBC or any other layer.___________________________________________________________________________
>
> http://www.ibobjects.com - your IBO community resource for Tech Infopapers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>