I have PC's connected to the Network and when the users login locally on their PC into the Access Database they have to enter their username and password. In case they are not connected I want to let them know to connect to the network [I mean the network cable].
When I do a Dir("P:\" - [the network drive is P:] and they are not connected I get an error "device unavailable" I want to prompt them a message telling them they are not connected and quit the application. Is there a simple way to see if that Drive is available or not.
Your help is highly appreciated.
When I do a Dir("P:\" - [the network drive is P:] and they are not connected I get an error "device unavailable" I want to prompt them a message telling them they are not connected and quit the application. Is there a simple way to see if that Drive is available or not.
Your help is highly appreciated.