On exiting my database it logs out the user by saving the logout time in a mysql odbc table and then closes the db. This is triggered when a hidden form closes. The problem occurs if the odbc connection has been lost. It won't let you out of the program, continually popping up the "ODBC connection has been lost" error. How can I detect the odbc lost connection condition so I can allow the program to close, albeit without updating the user's logout info?
detect lost odbc connection
0 commentaires:
Enregistrer un commentaire