B
Blakey300
Hi
I am using access 2007
I have 2 forms which are as follows:
Barcode Search Form (This is just a search form with unbound field)
Competitors (This form holds the data)
I have a macro that opens Competitors form using a where condition
(="[TempEntryID]=" & "'" & [Text0] & "'")
I would like to have it so that if the record is not found the the
competitors form is automatically closed and a messge box appears. then
reverts back to the barcode search form.
In summary I want
open competitors form where ="[TempEntryID]=" & "'" & [Text0] & "'" IF no
record found close Competitors, run message box then open barcode search form
Any help would be greatly appriecated
regards
dave
I am using access 2007
I have 2 forms which are as follows:
Barcode Search Form (This is just a search form with unbound field)
Competitors (This form holds the data)
I have a macro that opens Competitors form using a where condition
(="[TempEntryID]=" & "'" & [Text0] & "'")
I would like to have it so that if the record is not found the the
competitors form is automatically closed and a messge box appears. then
reverts back to the barcode search form.
In summary I want
open competitors form where ="[TempEntryID]=" & "'" & [Text0] & "'" IF no
record found close Competitors, run message box then open barcode search form
Any help would be greatly appriecated
regards
dave