I have an MS Access 2010 Database that is populated nightly from SQL Server using Windows Scheduler and the autoexec Macro. The macro should run populate 2 tables and shut Access down. The problem is that if SQL Server is unavailable for any reason the Macro errors and displays the error message and waits for a user to click on the halt button. I want it to automatically halt and exit the database without user intervention. Is this possible?