Results 1 to 3 of 3
  1. #1
    data808 is offline Noob
    Windows 8 Access 2007
    Join Date
    Aug 2012
    Posts
    727

    How move only some records from one table to another

    I made mistake by uploading the backend file with an older version and now only yesterday's records are missing. I got lucky and was able to get a restore copy of the file that shows all of yesterday's records. However, the current backend file is live and users have already begun to save new records this morning.

    Is there an easy way to append only yesterday's records from the restore file to the current backend file? I also notice that the records being created today have already been given primary key numbers that have already been used for yesterday's records which will make it more complicated to have it create new primary keys for each of these records being appended.

    Any help or suggestions are appreciated.

    Thanks.

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,558
    Primary keys would not be a problem, as you cannot upload those. Where you will get an issue is for any linked records with those keys.
    Plus if you have any logic that relies on pk > a certain pk, then that is going to cause issues, as yesterdays will be greater than todays.
    Best not rush into it with a knee jerk reaction. Take your time in fixing it.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    data808 is offline Noob
    Windows 8 Access 2007
    Join Date
    Aug 2012
    Posts
    727
    Thanks for the reply. Yes I was able to append the records as long as I don't include the PK data like you mentioned. I setup a test environment just to make sure everything looked ok.

    So now its just a matter of waiting till the end of the day and apply this process when everyone is logged off. Thanks again for you help on this.

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

Similar Threads

  1. Replies: 6
    Last Post: 03-23-2015, 08:16 AM
  2. move records up And down
    By azhar2006 in forum Forms
    Replies: 4
    Last Post: 08-02-2014, 10:19 AM
  3. Replies: 4
    Last Post: 11-21-2013, 10:05 AM
  4. Replies: 5
    Last Post: 03-02-2012, 02:47 PM
  5. Move records between tables
    By rogueakula in forum Access
    Replies: 1
    Last Post: 04-09-2010, 12:35 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