New Problem - Buttons

  • Thread starter Thread starter Victor
  • Start date Start date
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
 
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.
 
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.
 
Back
Top