+ Reply to Thread
Results 1 to 2 of 2

Check for - and combine - records missing from 1 DB, that need to be included in a 2nd DB

  1. #1
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Check for - and combine - records missing from 1 DB, that need to be included in a 2nd DB

    My access skills are pretty much minimal, and I have a problem that, on the face of it, sounds pretty simple.

    Background...
    Where I work, we work 3 shifts, 7-3, 3-11, 11-7, the date for the shift is considered as the date it starts (for 3rd shift)
    Each shift completes a daily report, in an access database an ex-emplyee made up.
    We have 3-4 ppl per shift, and we have 3 work locations (pc's) we can work from.
    We all have a shortcut on our desktop (under our own profile), that open the DB

    Problem...
    1 of my colegues, instead of creating a shortcut to his desktop, inadvertantly COPIED the DB to his desk top. So, for some time, he has been unknowingly entering data/reports into his "own" version. The boss noticed some records missing and we ID'd what the problem was. He will probably tell the guy to re-type all the missing records into the DB.

    Is there an *easy* way to just ID and then copy the records across from the "copy" to the "master"?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Check for - and combine - records missing from 1 DB, that need to be included in a 2nd

    yeah, export the table from your colleagues database to the main one so you should end up with two tables that are structured the same (TABLEA (the one that should exist) and TABLEB (the one your careless colleague had).

    You'll need to identify a uniquer field in the tables but NOT an autonumber id field as this will have gone to pot with the 2nd db being used. If one doesnt exist then you'll need to create one, maybe by appending two fields together to create a unique one. Once youve got a field (for the purposes of this example I'll call it "unqiue_field" then run a query to identify the records in tableB that arent in tableA...something like

    Please Login or Register  to view this content.
    then create a new APPEND query using the query above as its source and append the records to TABLEA

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] need to be able to update records with button click and delete records sample included
    By unreal11 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-25-2013, 11:45 PM
  2. mail merge (?) on certain rows of sheet with access records included too?
    By jontom in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-13-2013, 08:07 AM
  3. [SOLVED] Can check boxes be included in sorting, using VBA
    By grahamc in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-26-2012, 04:53 PM
  4. Macro to increment column and copy columns to next row (check box included)
    By mani_v23 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-25-2009, 12:54 PM
  5. Check Box included in a formula
    By Corey in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-21-2006, 07:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1