josephbupe
Registered User.
- Local time
- Today, 13:45
- Joined
- Jan 31, 2008
- Messages
- 247
Hi,
Please, I need help to create an error trap in the following code which is behind a LogIn button. The txtSignIn is a combo box to select a user, error appears when user clicks a a LogIn button without selecting their name.
I will appreciate.
Joseph
Please, I need help to create an error trap in the following code which is behind a LogIn button. The txtSignIn is a combo box to select a user, error appears when user clicks a a LogIn button without selecting their name.
Code:
DoCmd.OpenForm "frmUserInfo", , , "[UserName] = '" & Me.txtSignIn & "'", , acHidden
DoCmd.Close acForm, "frmSignIn"
DoCmd.OpenForm "frmMainMenu"
DoCmd.OpenForm "frmMessageCount"
I will appreciate.
Joseph
Last edited: