I have the following code
Expand|Select|Wrap|Line Numbers
- 'Check value of password in tblEmployees to see if this matches value chosen in combo box
- If Me.txtPassword.Value = DLookup("strEmpPassword", "tblEmployees", "[lngEmpID]=" & Me.cboEmployee.Value) Then
- lngMyEmpID = Me.cboEmployee.Value
On one of my attempts I created a text box named txtEmployee and changed the cbo in the above code to txt. I get various errors as I try different things I have looked and done some searching online and can not find an answer that I understand or can adapt to my code. I am new to VBA and wanting to learn more.
If you can help I would really apericate it