Ambiguous name detected

  • Thread starter Thread starter Sue
  • Start date Start date
S

Sue

I am trying to add a command button on a form that will
allow a user to find a record by last name. I am getting
a message that says:

Ambiguous name detected:Find_Record_Click.

How do I fix this problem? Thanks!
 
I am trying to add a command button on a form that will
allow a user to find a record by last name. I am getting
a message that says:

Ambiguous name detected:Find_Record_Click.

How do I fix this problem? Thanks!

Open the Form's Module by opening the form in design mode and clicking
the Code button on the toolbar. Somewhere in this code you have TWO
lines

Private Sub Find_Record_Click()

with an associated block of code, up to the line End Sub.

One of these is attached to the command button, the other is probably
left over from another button that you created and deleted.

Just select the lines from Private Sub.... through End Sub for the old
routine and delete them.
 
Back
Top