A family of Microsoft relational database management systems designed for ease of use.
Hello Daniel,
like you said check the code below, after typing the code to my logon form close event, the the splash screen "frmwelcome" did not come up after loging in, what i just discover was that as i login my switchbaord comes up, but what i want is once i log in my splash screen should come up come up and stay for like 3sec then switchboard will come up. Thanks for you respose.
Private Sub Form_Close()
DoCmd.OpenForm "frmwelcome"
End Sub
Private Sub txtPassword_AfterUpdate()
'Check that EE is selected
If IsNull(Me.cboUser) Then
MsgBox "You need to select a user!", vbCritical
Me.cboUser.SetFocus
Else
'Check for correct password
If Me.txtPassword = Me.cboUser.Column(2) Then
'Check if password needs to be reset
If Me.cboUser.Column(3) = True Then
DoCmd.OpenForm "frmPasswordChange", , , "[UserID] = " & Me.cboUser
End If
DoCmd.OpenForm "Switchboard"
Me.Visible = False
Else
MsgBox "Password does not match, please re-enter!", vboOkOnly
Me.txtPassword = Null
Me.txtPassword.SetFocus
End If
End If
End Sub