I am saving an odbc connection string to a global variable. Periodically, it seems to lose the connection. Does anyone have a way of testing that the connection exists. I have tried to do if gblvar=nothing then... and it doesn't like that. It often gives the err=13 Type Mismatch when it doesn't have the connection.
Ultimately, I would love the ability to test for that connection in my error handler and re-open it if necessary.
Also, an FYI it seems that Access interprets not having a connection to ODBC Oracle tables as "ODBC Call Failed" if you do msgbox error and if you do err.number, err.description it gives a type mistmatch error.
Thank you,
Colette
Ultimately, I would love the ability to test for that connection in my error handler and re-open it if necessary.
Also, an FYI it seems that Access interprets not having a connection to ODBC Oracle tables as "ODBC Call Failed" if you do msgbox error and if you do err.number, err.description it gives a type mistmatch error.
Thank you,
Colette