Results 1 to 5 of 5
  1. #1
    richard1941 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2014
    Posts
    10

    OnClick not firing

    I am the dba for a small non-profit. I manage an access database by evolving the front end at home, then move it to the production computer. I have done this successfully more than 25 times, but with the latest revision, when I move the new front end and link it to the production back end, none of the OnClicks in any of the forms work. I have tried setting breakpoints, but they never get reached.



    Any ideas?

    Richard

  2. #2
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    Does other code (if any) work, or is it just the On Click events?

    If you restore the previous version, does it work? If yes, then something you changed has failed. Did you compile the code after making changes? You should do that after copying to the production PC anyway, just to be sure everything works.

  3. #3
    richard1941 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2014
    Posts
    10
    Good question. In fact AfterUpdate does not work either. I just compiled the code, but no behavior changed.

  4. #4
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    Is the database in a "trusted location" as far as Access in concerned? In there any message that appears on startup referring to that, and whether or not code is allowed to run?

    It sounds as if Access is preventing any code from running.

  5. #5
    richard1941 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2014
    Posts
    10
    I don't know anything about trusted locations. The only message on startup of a freshly loaded new frontend is that it can't find the backend. The previous version still runs.

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

Similar Threads

  1. Subform events do not seem to be firing
    By mantooth29 in forum Programming
    Replies: 2
    Last Post: 12-12-2013, 03:13 PM
  2. combo box - requery not firing
    By moona in forum Forms
    Replies: 12
    Last Post: 04-20-2013, 06:22 PM
  3. tab control - firing a page on-click event
    By Chuck55 in forum Programming
    Replies: 7
    Last Post: 05-01-2012, 09:57 AM
  4. AfterUpdate not firing
    By newvb in forum Forms
    Replies: 4
    Last Post: 09-29-2011, 04:55 AM
  5. Form level mouseup event not firing
    By Philhoop in forum Forms
    Replies: 3
    Last Post: 07-22-2010, 09:41 AM

Tags for this Thread

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