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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine windows workgroup name

Status
Not open for further replies.

venim

Technical User
Jul 19, 2004
14
BE
Hello,

I want to be able to display the windows workgroup the user of the database is in currently. How can I do this? Is there an Environ() string object for that?

Thanks for your time!
VeniM
 
To determine if an environment variable for windows workgroup is available to you, run this bit of code:

dim i as integer

for i = 1 to 100
debug.print environ(i)
next

You can see the list of environment variables for your OS by pressing Ctrl + G to show the Debug window.

Hope this helps! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top