I have a database at work that I did not write completely. I can put my cursor in any field and hit search and the search/replace message box appears. I'd like to do this on my new database as well but the copied code does not work the same. Methinks I have to create a query? Here is the code from the first working database:
Private Sub btnFind_Click()
On Error GoTo Err_btnFind_Click
Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
***I'd like to learn what these items do***
Exit_btnFind_Click:
Exit Sub
Err_btnFind_Click:
MsgBox Err.Description
Resume Exit_btnFind_Click
End Sub