Assuming you're wanting to display it in a text box, set its ControlSource
to
=SysCmd(acSysCmdGetWorkgroupFile)
(complete with the equal sign)

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
>I have a form where I need to display the workgroup name that the user
>logged in on.
>
> How?
DavPet - 08 Apr 2006 00:38 GMT
Good assumption. That does what I want.
thanks
> Assuming you're wanting to display it in a text box, set its ControlSource
> to
[quoted text clipped - 7 lines]
>>
>> How?