sychoangel
Registered User.
- Local time
- Today, 12:52
- Joined
- Jul 4, 2008
- Messages
- 20
I have a form in Access 2003 that will automatically grab the users network Login ID when they reserve a PC on a form & store it in a field. This worked fine in 2003, however in access 2007 I get the error message:
Unknown function 'Environ' in validation expression or default value on 'PCReg.Net_ID'.
Here is the code:
Private Sub Server_Name_AfterUpdate()
Me.Net_ID = Environ("UserName")
End Sub
Unknown function 'Environ' in validation expression or default value on 'PCReg.Net_ID'.
Here is the code:
Private Sub Server_Name_AfterUpdate()
Me.Net_ID = Environ("UserName")
End Sub