New Problem - Buttons

V

Victor

In Access 2007:

In a form I created a button, used the wizard to set it to go to next
record when clicked. When I click it, I get this:

The expression ON CLICK you entered as the event property setting produced
the following error: Ambiguous name detected: PRINT_CLICK.

Now, if I wrote the VBA/Macro, I could understand it not working if I made
a mistake, but this button was generated by ACCESS and doesn't work.

Same problem with Previous record button and Save Record button.


Thanks in advance,
Vito
 
G

golfinray

I would guess the problem is not with the buttons, but with the form. Is your
form updateable? Is the query feeding it uddateable? (the arrow and asterisk
at the bottom highlighted) Is the form bound? Is there a primary key? I have
never seen the button wizard write a bad piece of code, so check the form.
 
D

Dirk Goldgar

Victor said:
In Access 2007:

In a form I created a button, used the wizard to set it to go to next
record when clicked. When I click it, I get this:

The expression ON CLICK you entered as the event property setting produced
the following error: Ambiguous name detected: PRINT_CLICK.

Now, if I wrote the VBA/Macro, I could understand it not working if I made
a mistake, but this button was generated by ACCESS and doesn't work.

Same problem with Previous record button and Save Record button.

Thanks in advance,
Vito


Does the form have a code module at all? If so, open the form's module and
look for multiple procedures named "PRINT_CLICK". Incidentally, was the
name really captialized like that? That's not the way Access would normally
name an event procedure it created.
 

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