I have a log in form that users use to log in to the ACCESS DB.
The username and password are taken from the current logged in user of the windows.
I have put the following as the default value for the
username text box which works fine.
( Takes the current logged in user and punches it into txtusername)
Expand|Select|Wrap|Line Numbers
- =Environ("UserName")
Expand|Select|Wrap|Line Numbers
- #Name?
Expand|Select|Wrap|Line Numbers
- =Environ("UserName")
How can I solve this? I have tried to put some other text to fabricate the error but its persistent.
Expand|Select|Wrap|Line Numbers
- =IIf(IsNull(Environ("UserName")),"Enter Username",Environ("UserName"))
Expand|Select|Wrap|Line Numbers
- =Nz(Environ("UserName"),"Enter UserName")
Thanks
Jerry