I have an unbound text box that looks up a Claim Number in a query and shows the appropriate record when go to another form. Need the VBA code to return a message box when does not find any Claim Number to match the one entered. I figured it would be code After Update. I have only found code to verify the format of a field and not for a lookup.
The unbound field name is 'find claim num'. The field name that it looks up is 'claim number'. The query is 'claim lookup query'. I want the message box to say 'No claim number match, reenter'.
I know it sounds pretty basic but I cannot get a handle on this.
The unbound field name is 'find claim num'. The field name that it looks up is 'claim number'. The query is 'claim lookup query'. I want the message box to say 'No claim number match, reenter'.
I know it sounds pretty basic but I cannot get a handle on this.