How do I display the work group name

D

DavPet

I have a form where I need to display the workgroup name that the user
logged in on.

How?
 
D

Douglas J. Steele

Assuming you're wanting to display it in a text box, set its ControlSource
to

=SysCmd(acSysCmdGetWorkgroupFile)

(complete with the equal sign)
 
D

DavPet

Good assumption. That does what I want.

thanks

Douglas J. Steele said:
Assuming you're wanting to display it in a text box, set its ControlSource
to

=SysCmd(acSysCmdGetWorkgroupFile)

(complete with the equal sign)
 
Top