Results 1 to 3 of 3
  1. #1
    Modify_inc is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    100

    Import table data from original database to a slightly updated and modifed version

    I’ve been making small changes here and there to my database in Access 2013. I have left the original database in place and it has acquired many new records from the last month. I’m ready to start using the newly updated design version of the database, but I do not want to have to type all those new records into the new database to get it up-to-date. There has to be a way to import the data from the original database to the newly updated one. Most, If not all of the fields have the same names, but some of the fields have changed, like to Combo boxes. I removed two or three unneeded fields, and added two or three. I understand the new fields will need to have data enter to them, but the remaining would be redundant and inefficient if I have to reenter all the recent records again.

    How do I import the data from the original two tables to the new updated database? I only have two tables and they use a One-to-One relationship in both databases. The table’s names are different, but as I mentioned earlier, the fields are mostly the same. Do I need to import into Excel, and then modify the data slightly, and then import into my new database?



    What is the best way to accomplish this?

    Thanks
    Mike

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    How many fields and how many records?

    Can copy/paste.

    Can set up links to the old tables and use INSERT SELECT sql action.

    INSERT INTO tablename(field1, field2, field3) SELECT field1, field2, field3 FROM oldtablename WHERE some criteria here;
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    John_G is offline VIP
    Windows XP Access 2003
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    Hi -

    The best way is probably to link to the tables in the old database (no need to import them), and then create APPEND queries to transfer the data from old to new. The APPEND query design allows you to specify which fields are copied to which, and the names do not have to be the same. The number of fields in the old and new tables does not matter either - you only append the fields you need.

    I don't know how - or even if - transferring to multi-valued fields will work. Many experts recommend they not be used at all, because they can lead to all sorts of problems later on, and they violate the principles of proper relational database design.

    If you have defined relationships between your new tables, it might be easier to delete them, import your data, and then re-create them. Be sure to back up you new database before doing any of this!!

    HTH

    John

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

Similar Threads

  1. Replies: 7
    Last Post: 06-12-2013, 06:36 AM
  2. Import daily updated excel into Access 2002-2003
    By phildcs in forum Import/Export Data
    Replies: 4
    Last Post: 06-11-2013, 06:06 AM
  3. Replies: 8
    Last Post: 05-31-2013, 05:20 PM
  4. Replies: 5
    Last Post: 05-02-2012, 07:56 AM
  5. Replies: 8
    Last Post: 01-20-2012, 05:07 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