I have a feeling that the problem may be in your DLookup:
If Me.txtPassword.Value = DLookup("Password", "tbl login", "[Employee name]=" & Me.cboemployee.Value)
You are asking Access to compare a string , from the [Employee name] field, with a number , " & Me.cboemployee.Value.
I think it...