A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

command button error



 
 
Thread Tools Display Modes
  #1  
Old June 29th, 2004, 08:40 PM
Facilitator
external usenet poster
 
Posts: n/a
Default command button error

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
  #2  
Old June 30th, 2004, 12:10 AM
Dan Artuso
external usenet poster
 
Posts: n/a
Default command button error

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.

--
HTH
Dan Artuso, Access MVP


"Facilitator" wrote in message ...
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



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Expression - calculating running total Kathy Running & Setting Up Queries 26 June 22nd, 2004 10:14 PM
Upgrade from Exchange 2000 to 2003 error John Landis Installation & Setup 0 June 17th, 2004 08:26 PM
Custom Error Messages DMc2004 Database Design 4 June 11th, 2004 11:16 PM
Product Key for Office XP P.G.Indiana Setup, Installing & Configuration 1 June 7th, 2004 03:22 AM
Productkey problem when installing office 2003 on network Stefan Schreurs Setup, Installing & Configuration 1 June 1st, 2004 11:16 PM


All times are GMT +1. The time now is 08:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.