I believe it should work in Access 2007 as well, although I always cringe
when I see people use the Environ function to return the user ID given how
easy it is to change.
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"mario" wrote in message
...
This used to work fine in Access 2003 to insert a default value in a
field.
=Environ("USERNAME") & " on " & Environ("COMPUTERNAME")
Can you please let me know what is the equivalent in Access 2007