Check for Connection to SQL server

J

JR

I am attempting to write some VBA code that will check for
a connection to the MS SQL 7.0 server. I need to check
because I have linked tables to the SQL server. If the
user is in the field I need to then run a different form
in Access.

I am unable to come up with any code to indicate if the
user is on our network or is in stand alone mode. Any
suggestions would be greatly appreciated.

Thanks,
JR
 
Top