Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Returning Workgroup name in Access 1

Status
Not open for further replies.

afryer

Programmer
Mar 9, 2004
207
0
0
GB
Hi All,

I am running an application, which uses a command line to connect to a user-defined workgroup file. I need to check at startup to make sure they have connected using the command line and not simply double-click on the application name. Does anyone know of a way (in VBA) to return the the name of the Workgroup that the database is connected to?

Thanks
 
I don't think you need any special reference to use the following:
Application.DBEngine.SystemDB

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top