Board index » delphi » ProgressBar with Query

ProgressBar with Query


2005-08-29 05:12:23 PM
delphi261
is there any way to show a progressbar in client
application when a query is processing by IB ?
Thanks.
 
 

Re:ProgressBar with Query

Hs writes:
Quote
is there any way to show a progressbar in client
application when a query is processing by IB ?
Not really. You can monitor the progress of a long-running query by
selecting from TMP$STATEMENTS from another thread. In particular you'd
be interested in TMP$QUANTUM. But this will only indicate work
completed; you won't know how much work remains. So you can show
progress but you won't have the total amount necessary to configure a
progress bar.
--
Craig Stuntz [TeamB] . Vertex Systems Corp. . Columbus, OH
Delphi/InterBase Weblog : blogs.teamb.com/craigstuntz
All the great TeamB service you've come to expect plus (New!)
Irish Tin Whistle tips: learningtowhistle.blogspot.com