Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2023
    Posts
    2

    Forms not working after moving and relinking database

    Hello,

    I copied my database-file and logic file to a new folder. I relinked the logic-file to the new database location. But now my central form no longer works.



    In the copy of my database the buttons (marked red in the picture below) no longer work. So, I can’t move variables from the orange square to the purple square. And sometimes the purple square already contains variables (even if I did not choose any) and I can’t move them back.

    The picture below is from the design view, but it looks the same in the form view except that the unbound variables are now changed to actual variables.

    I’ve looked at and compared the code and it looks the same to me. Any ideas as to why this form does not work after moving the database?

    Click image for larger version. 

Name:	Design.jpg 
Views:	21 
Size:	131.8 KB 
ID:	50423

    Thanks in advance!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    First thing to check is that the new folder has been added as a Trusted Location or that you've explicitly enabled code.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Join Date
    Jun 2023
    Posts
    2
    Quote Originally Posted by pbaldy View Post
    First thing to check is that the new folder has been added as a Trusted Location or that you've explicitly enabled code.

    Thank you so much!! This was absolutely it. Just could not figure this one out.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Happy to help and welcome to the site by the way!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 2
    Last Post: 03-21-2016, 04:58 AM
  2. Moving between forms with buttons
    By elico in forum Forms
    Replies: 4
    Last Post: 02-09-2016, 02:21 AM
  3. Replies: 5
    Last Post: 12-29-2013, 05:10 PM
  4. Replies: 4
    Last Post: 11-27-2013, 09:51 AM
  5. Moving Forms
    By Mike Aiken in forum Access
    Replies: 5
    Last Post: 01-08-2011, 03:30 PM

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