Results 1 to 5 of 5
  1. #1
    Blakey129 is offline Novice
    Windows Vista Access 2007
    Join Date
    Nov 2013
    Posts
    2

    Event failed to run error!!

    Hi i am getting the error below when i try to open forms in my access database, I developed the database on my pc at work but decided to bring a copy home for editing and design changes, i am running access 2007 - can anyone help? Thank you all.




    This error occurs when an event has failed to run because Microsoft Office Access cannot evaluate the location of the logic for the event. For example, if the OnOpen property of a form is set to =[Field], this error occurs because Access expects a macro or event name to run when the event is fired.



  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    How did you copy the DB? If you Import objects you need to make sure and include macros and such. There is a button to click for "Options" in the import wizard. This will allow you to select things like custom menus and import procedures, etc. Also, Macros are not always compatible with different versions of Access. So if you are using 2007 and the Macro was made with 2010 you are probably going to experience problems.

  3. #3
    Blakey129 is offline Novice
    Windows Vista Access 2007
    Join Date
    Nov 2013
    Posts
    2
    Hi thanks for replying, i copied the entire database by just right clicking it and copying to my pen drive, I then just copied it again to my personnel laptop, i am running access 2007 on my macbook pro, I installed access 2007 using the program"crossover" which allows you to run microsoft software on macbook's, the program is working ok apart from when I want to view code, the macbook just locks up ? - however i still get the original error code whatever happens? - thanks again

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    On Open is an Event Handler. I am not sure what =[Field] means. If you have a Macro Run in your event handler that is one thing. Causing On Open to equal something is another.

    Having an event handler = something should not work on a Mac or a PC.

    Can you post your code for the On Open event? If the code is correct an calls a Macro, your OS on your Mac is probably missing a component that is required by the Macro.

  5. #5
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    It is saying that it cannot find the VBA or the macro for one or more of the form's events.

    Check on the work machine, for one of the forms that is failing at home, and see if the event handles are macros or code. If they are macros, then you know that the macros somehow didn't get to your home machine. If they are VBA, then you know THAT didn't make it.

    the program is working ok apart from when I want to view code,
    Ah. So something is NOT working right about your crossover-installed Access 2007. I'd expect that one or more of the references required by the Access VBA coding environment are missing from your macbook.

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

Similar Threads

  1. Action Failed: Error Number: 2950
    By keen1598 in forum Reports
    Replies: 5
    Last Post: 03-29-2013, 03:20 PM
  2. Replies: 2
    Last Post: 01-22-2013, 10:39 PM
  3. ODBC -- Call Failed error
    By Coffee in forum Access
    Replies: 3
    Last Post: 07-08-2011, 10:34 AM
  4. Help: ODBC call failed -952 SQLSTATE 57014 error
    By accessnewbie in forum Access
    Replies: 2
    Last Post: 02-02-2011, 01:01 PM
  5. Action Failed -Error Number: 2950
    By Cindy in forum Access
    Replies: 5
    Last Post: 07-07-2010, 11:51 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