command button error

  • Thread starter Thread starter Facilitator
  • Start date Start date
F

Facilitator

WHen I create a command button on a form using the
wizard, I chose the close form command. When I go to use
it in form view I get the following error:

The expression On Click you entered as the event property
setting produced the following error:Ambiguous name
detected: Close_Form_Click.

*The expression may not result in the name of a macro,
the name of a user-defined function, or [Event Procedure].
*There may have been an error evaluating hte function,
event, or macro.


Can't seem to find out what it means. Please let me know
if you have any ideas.

Thanks
 
Hi,
If you go into the VB editor, you will probably see two procedures
called: Close_Form_Click
Delete one of them and try again. If it still doesn;t work,
delete the remaining one and the command button and start again with the
wizard.
 
Back
Top