Ambiguous Name Detected: Print_Record_Click.

  • Thread starter ManorEL \(removethis\)
  • Start date
M

ManorEL \(removethis\)

While trying to use the command button wizard and the list
box wizard on one of my forms, I receieve the following
error message: Ambiguous Name Detected: Print_Record_Click.
How can I resolve this problem? I am unable to use any of
the wizards to create buttons. I receive the same error
message. Please Help!
 
J

John Vinson

While trying to use the command button wizard and the list
box wizard on one of my forms, I receieve the following
error message: Ambiguous Name Detected: Print_Record_Click.
How can I resolve this problem? I am unable to use any of
the wizards to create buttons. I receive the same error
message. Please Help!

Open the Form in design view, and click the Code button to view its
VBA code. Somewhere in there (perhaps because you've deleted and
readded code) there are two routines both named Print_Record_Click.

Figure out which one is the real one, and select the other from

Private Sub Print_Record_Click()

to

End Sub

and delete it.

Select Debug, and compile the database, and see if that fixes the
problem - it should!
 

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

Top