Results 1 to 6 of 6
  1. #1
    accessmatt is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    199

    How to solve locked error happening on data import?

    Hello,

    I'm using Saved Imports and trying to update an import but getting an error that "database engine could not lock table because it is already in use by other user or process". This is the first time I'm getting this error. All of the files and processes are closed, I tried starting/restarting the DB but it's not correct. Any ideas how to remedy?

  2. #2
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    Are you getting that issue when trying to alter the saved import method, or when trying to use the saved import method to import a second time to the same table?

  3. #3
    accessmatt is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    199
    Dal,

    It's happening when I Run a Saved Import via RunSavedImportExport Macro. The tables already exist with data, and I'm just overwriting them. Very important to note that MOST of the import jobs work fine, it just throws an error on a few of them, which makes this strange. Any ideas?

    Thanks!

  4. #4
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    compact & repair; if a split db be sure to do this for both front & back files.

  5. #5
    accessmatt is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    199
    Thanks all. The problem was that I had a Form open which the "locked" tables where linked to. Closing that solved my issue.

  6. #6
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    Good job. Thanks for telling us the solution!

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

Similar Threads

  1. how to solve the error when creating duplicate records?
    By Rafegh in forum Database Design
    Replies: 10
    Last Post: 08-15-2014, 01:50 PM
  2. how to solve this error?
    By ariansman in forum Forms
    Replies: 2
    Last Post: 04-30-2013, 06:16 AM
  3. 2113 Error happening from Access 2003 to 2010
    By johnnyflames in forum Forms
    Replies: 5
    Last Post: 06-08-2012, 01:42 PM
  4. How to solve syntex Error In INSERT INTO Statement?
    By kingsoh in forum Programming
    Replies: 0
    Last Post: 06-07-2012, 12:00 PM
  5. unable to import locked forms
    By jhargram in forum Forms
    Replies: 0
    Last Post: 02-29-2012, 03:22 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