SBBmaster09
Registered User.
- Local time
- Tomorrow, 02:00
- Joined
- Apr 26, 2013
- Messages
- 92
I have a form that can be accessed once I login. So I have the code
to call the textfield from the other form. I have 2 forms, the Main and the Roster. I need to login in Main so I can access the Roster. The thing is when I click the Roster, and not yet logging in, it will prompt "User Login Required!".
So I have this code
But when I open the roster it gives me an error (See attached)
Is it possible, when I click Ok it will just disappear and the Roster form will not open.
Code:
Me.txtEID.Value = LCase(Forms!frm_Main!CurrentUser)
to call the textfield from the other form. I have 2 forms, the Main and the Roster. I need to login in Main so I can access the Roster. The thing is when I click the Roster, and not yet logging in, it will prompt "User Login Required!".
So I have this code
Code:
If IsNull(Forms!frm_Main!CurrentUser) Then
MsgBox "User Login Required!", vbExclamation, "User Not Logged In"
Else
Me.txtEID.Value = LCase(Forms!frm_Main!CurrentUser)
End If
But when I open the roster it gives me an error (See attached)
Is it possible, when I click Ok it will just disappear and the Roster form will not open.