J
jeff001
Hi Everyone
I am trying to do a search on a field to see if a record already
exists using the code below.
Me.txtSearch.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
This opens the Find/Replace dialog box.
What I would like is to do is:
1. hide the "Replace" tab
2. If no record is found then I would like to display a
MsgBox "This record does not exist! Would you like to add it?
Yes/No and open a form.
Thanks
I am trying to do a search on a field to see if a record already
exists using the code below.
Me.txtSearch.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
This opens the Find/Replace dialog box.
What I would like is to do is:
1. hide the "Replace" tab
2. If no record is found then I would like to display a
MsgBox "This record does not exist! Would you like to add it?
Yes/No and open a form.
Thanks