Good afternoon, folks, I have I small problem that I just can't quite figure the last bit out on. I have a form and the pkey is ECNNumber, when I tab from one page to another page the ECNNumber has been changing, so to stop this tried to put a procedure in the OnExit event of the last textbox on the page. Here is the code:
If Me.TypeNumber = 100 And "ECNNumber = " & Me.ECNNumber Then
When I tab out of that textbox I get Error 13: Type Mismatch. Can anyone spot my error? Thank you in advance to anyone helping out.
If Me.TypeNumber = 100 And "ECNNumber = " & Me.ECNNumber Then
When I tab out of that textbox I get Error 13: Type Mismatch. Can anyone spot my error? Thank you in advance to anyone helping out.