command button error?

G

Guest

what does this mean

compile error
ambiguous name detected: new_entry_click

i created the command button with a wizard, why is it wrong???
 
K

Kevin Sprinkel

This error occurs when Access can't match the name of the
procedure with the name of any control. Is your command
button named "new_entry"? If it's only newentry, remove
the extra underscore, and it should compile.

HTH
Kevin Sprinkel
 
F

fredg

what does this mean

compile error
ambiguous name detected: new_entry_click

i created the command button with a wizard, why is it wrong???

You probably already have existing code with the same name.

When you delete a command button that has attached code, the button is
deleted but the code is not. If you then add another button with the
same name, you now have 2 click events with the same name and Access
gives you that "ambiguous name" error.
Delete the previous code.
 

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