Error in access Form - "You can't use find or replace now"

I

Irina

Hello, I have a form that is used to enter records and edit existing records.
However, when a user clicks on "find record" button to search for a record
(that
is in the table already) they are getting the error: "You can't use find or
replace now"
the code for the "find record" button is this:
Private Sub cmdFind_Click()
On Error GoTo Err_cmdFind_Click
Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70
Exit_cmdFind_Click:
Exit Sub
Err_cmdFind_Click:
MsgBox Err.Description
Resume Exit_cmdFind_Click
End Sub

Can anyone please help with this?
thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top