Hello guys!
I am trying to use trevors wait function on my odbc database for a countdown function. But this function is not stable as it sometimes dosent actually wait before launching next line of code
The database is a ODBC update database which is full automatic startup/shutdown but because i sometimes want to make som edits to it i want a countdown before it shutsdown with a "cancel shutdown" code.
and some more lines of code to abort shutdown..
But because the wait function isnt working properly it sometimes just flyes through all the code without waiting and my shutdown sequense is wasted
I am trying to use trevors wait function on my odbc database for a countdown function. But this function is not stable as it sometimes dosent actually wait before launching next line of code
The database is a ODBC update database which is full automatic startup/shutdown but because i sometimes want to make som edits to it i want a countdown before it shutsdown with a "cancel shutdown" code.
Code:
Wait(1) me.etk_information.caption = "Shutdown in 5 seconds.... Wait (1) me.etk_information.caption = "Shutdown in 4 seconds.... Wait (1) me.etk_information.caption = "Shutdown in 3 seconds.... Wait (1) me.etk_information.caption = "Shutdown in 2 seconds.... Wait (1) me.etk_information.caption = "Shutdown in 1 seconds.... Wait (1) Docmd.quit
But because the wait function isnt working properly it sometimes just flyes through all the code without waiting and my shutdown sequense is wasted
Comment