Does anyone know why this statement is causing error 2001?
If Me.password.Value = DLookup("[Password]", "UserInformation", "[UserID]=" & Me.UserName.Value) Then
password and UserName are names of text boxes in a form, while Password and UserID are names of columns in the table UserInformation...