Results 1 to 6 of 6
  1. #1
    cebrower is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2018
    Location
    Spring Lake, MI
    Posts
    110

    Importing all objects into a new database


    I've created a new blank database and imported all objects from another database into the new one. Everything imported successfully except my import/export specifications. When I try to import them I get the error message "The search key was not found in any record". See the attached screen shot. Any ideas?
    Attached Thumbnails Attached Thumbnails Import Error.JPG  

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    You could try doing it manually,
    show hidden tables,
    in 1 of the SYS table are the specs.
    copy /paste manually.

  3. #3
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,114
    Usually that message is associated with corruption, as ranman said you could check the system tables and copy them manually - MSysIMEXSpecs and MSysIMEXColumns are the two tables you might want to inspect.

    Cheers,
    Vlad

  4. #4
    cebrower is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2018
    Location
    Spring Lake, MI
    Posts
    110
    Thanks Gicu. That worked like a charm.

  5. #5
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,411
    be aware that just populating the IMEX tables (or copying as you have done) does not work - there is a property somewhere which activates them on first use (I.e. creation) - sorry don't know which one. Even though your import failed, it may have set this property - or it may not. So I would test it before you get too far down the road.

  6. #6
    cebrower is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2018
    Location
    Spring Lake, MI
    Posts
    110
    After copying the IMEX files to the new database I ran the routine that imports some information that was exported from Quickbooks in CSV format and it ran with no errors. The records are deleted from tblCustListQB and then the table is re-populated by the import.

    DoCmd.RunSQL "DELETE tblCustListQB.* FROM tblCustListQB;"
    DoCmd.TransferText acImportDelim, "Customers", "tblCustListQB", "e:\Customers.csv", True

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

Similar Threads

  1. Replies: 9
    Last Post: 11-13-2016, 06:55 PM
  2. Replies: 43
    Last Post: 03-27-2014, 01:51 AM
  3. Replies: 0
    Last Post: 07-23-2013, 01:49 AM
  4. Importing objects error
    By Abacus1234 in forum Import/Export Data
    Replies: 8
    Last Post: 06-15-2012, 10:31 AM
  5. Replies: 4
    Last Post: 02-09-2012, 10:05 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