Progressbar until SQL-Statement has finished...

Forum related to MySQL

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
stern
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 05.12.2007, 19:04

Progressbar until SQL-Statement has finished...

Post by stern »

Hello everybody,

is there any way to show a Progressbar while a sql-statement is running?
I think that I have to solve this by using Threads...but as usual don't know how :wink:

If there is any solution or an example, please let me know.

Regards
Steffi
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Hi Steffi,

I'm afraid you only can show a 'busy' pointer or something like an every ticking clock. First prerequisite for a progress bar is knowing how long the query will take.
For setting the Hourglass cursor : try "ZConnection.SQLHourGlass := true;" I never used it, but I think it's a good thing to start with.

Mark
stern
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 05.12.2007, 19:04

Post by stern »

Thank you Mark,

I'm going to try it...

Regards
Steffi
Post Reply