7 May 2015 by Michael_Davies
You do not show code so difficult to help - what method are you using to connect to DB, ADODB? ODBC? OLEDB?.I'll presume it is ADODB - test the database-object.State.See https://msdn.microsoft.com/en-us/library/windows/desktop/ms675068%28v=vs.85%29.aspx[^]Example: If...