P
PeteEHP
I am trying to submit data to a table and have access check fo
duplicates. my button is called cmdsearch. My field is surname. So whe
the user clciks the button it checks to see if there are duplicates, i
their are a message box appears if not then it submitts the record???
Any help no one has been able to help me??
somone gave me this script but dosent work fully it just shows messag
box and submits the record any way so dups are being submitted???
anystring = DLookup("[SurName]", "Id Card Order", "[Surname] = "
Chr$(34) & Surname & Chr$(34))
If anystring <> "" Then MsgBox "Person already Submitted"
Cancel = Tru
duplicates. my button is called cmdsearch. My field is surname. So whe
the user clciks the button it checks to see if there are duplicates, i
their are a message box appears if not then it submitts the record???
Any help no one has been able to help me??
somone gave me this script but dosent work fully it just shows messag
box and submits the record any way so dups are being submitted???
anystring = DLookup("[SurName]", "Id Card Order", "[Surname] = "
Chr$(34) & Surname & Chr$(34))
If anystring <> "" Then MsgBox "Person already Submitted"
Cancel = Tru