I have a Access 2013 frontend linked to a 2014 SQL server. When users leave their workstation with their copy of the frontend open their computer will go often into sleep mode and lose their ODBC connection to the SQL server. When they return their session on the database comes to a violent end causing them to open the task manager and close the application down. Not a pleasant user experience.
How can this situation be trapped? Does something exist that upon return with an ODBC call failure a message box can appear with the button to close file? Ideas?
ODBC Connection Lost – How to Close Database in MS Access
error handlingms accessodbc
Related Question
- ODBC – How to Export Data from CCURE 800/8000 System Using ODBC Data Sources
- Sql-server – Access 2010 ODBC Connection to SQL Server 2005
- Mariadb – Connection string for MariaDB using ODBC
- SQL Database – Fixing ODBC Connection Multi-part Identifier Error
- Postgresql – Need ODBC connection to postgresql to include materialized views
- Oracle ODBC connection failure (using oracle’s stock ODBC drivers)
Best Answer
I think the problem you're trying to solve has been solved for Access 2016, but nothing for Access 2013 (AFAIK). Check What's new in Access 2016 - July 2016: