Im working on a project that requires me to check if the member number that is input in the form is equal to an existing member number.
The problem is that even if the member number is correct the error message pops up and says it doesn't exist.
am i referring to my fields correctly? there is a direct relationship set up between the two. membernum and mnum
Expand|Select|Wrap|Line Numbers
- Private Sub Command9_Click()
- If Membernum <> Mnum Then
- Dim x As Integer
- x = MsgBox("Not an Existing Member", vbOKOnly, MemberError)
- End If
- End Sub