>Hi,
> I am developing multiuser application. I faced a problem that, my application will be hang/error if the server is not switch on, not connect to network or access permission is not set properly.
> How to implement a TestConnection function to check these issue before I open database ?
>
>Thank you
How about
if NOT file(addbs(PATH_TO_DATA_ON_SERVER) + "MYDBC.DBC")
return
endif
You can use ADIR() to check file attributes. Checking access permissions is beyond my knowledge with restpect to NT servers. I use NetLib to determine access rights on Novell servers.
Mark McCasland
Midlothian, TX USA