Hi,
IMHO it is not really possible to do that. I will rephrase your question:
"How do I know how long does it take to execute SQL query?". It can take
minutes and also hours. To avoid 'guestimation' you could go from 0% to 100%
every 1 minute. Thus each minute you put it to 0%. Keep on doing this as
long as it is required. It will give an indication that something is
actually happening...
Regards,
Rytis
···
-----Original Message-----
From: Sergei Levchenkohi
How am I able to run wxProgressDialog while curs.execute(sql_query)
executed if I do not know how much time I need to finish sql query?
I have not maximum parameter (Maximum value for the progress bar)--
WBR, sector119---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwindows.org
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.