Server Name

M

Martin

I am trying to obtain the server name that the .mdb file is located in. I
don't need the file path, just the server name.

Once I have this I want to write an if statement to do certain things,
depending on the server. Can anyone advise how this is done?

I have tried to use some previous examples but I can't get them working. I
am fairly new to programming.

Many thanks,

Martin
 
Top