Linked Table Question

J

Joe Williams

I have a classic front end/back end database. All linked tables reside in
one beck end MDB on a server.

Is there a way to retrieve the MACHINE name that the linked table database
resides on through code? I am looking for the machine name only, not the
path. Thanks

Joe
 
B

Bas Cost Budde

Alex said:
i think you can only get it from the path of BE.

Not if it is mapped. My BE is at m:\database\v3, no machine name.

Sorry, no suggestion here.
 
J

John Nurick

Not if it is mapped. My BE is at m:\database\v3, no machine name.

Sorry, no suggestion here.

Starting with the mapped drive letter you can use the Windows API to get
the corresponding machine and share names. I think it's the
NetShareGetInfo() function; there's a VB class wrapper for it in the API
Guide (www.allapi.net).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top