Results 1 to 2 of 2
  1. #1
    Robin Banks is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2012
    Posts
    2

    Creating Buttons on a form keeps returning a visual basic error

    When creating a button on a new form to create a shortcut to "next record" I crearte the button choose the relevant option and the link is created.


    However I am getting the following error window pop up
    "the expression On Click you entered as the event property setting produced the following error : Ambiguous name detected: Search_Click

    The expression may not result in the name of the macro, the name of the user defined function, or [event procedure]"

    I click ok and that's it.

    I am using the default options from the button tab.

    Please help, any ideas

    Thanks

  2. #2
    Robin Banks is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2012
    Posts
    2
    Think I may have the answer,.........

    Using the database in 2003 compatability format, resaved as access 2007 and seems to be okay.

    Thanks for reading..

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Visual Basic
    By kwooten in forum Queries
    Replies: 2
    Last Post: 01-25-2012, 08:22 AM
  2. how to use visual basic in access
    By learning_graccess in forum Access
    Replies: 3
    Last Post: 12-05-2011, 03:23 PM
  3. Replies: 1
    Last Post: 01-21-2011, 11:32 AM
  4. Visual Basic / Acces Form differences
    By MWMike in forum Forms
    Replies: 3
    Last Post: 10-06-2010, 09:06 PM
  5. Locking form with Visual Basic
    By rev_ollie in forum Forms
    Replies: 4
    Last Post: 04-29-2010, 07:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums