How to update the access database and find differences

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iruwin50
    New Member
    • Jan 2013
    • 3

    How to update the access database and find differences

    I imported an excel spreadsheet into an access table. There has been updates to the excel sheet, but I'm not entirely sure what, so I would like to import this new excel sheet into the same access database and then find out (probably run a query or report) what changes were made in the data. Any ideas?

    Someone editted the excel sheet, so now I need to update the access database. The access table and excel spreadsheet are exactly the same layout. I have around 500 rows and 20 columns. The problem is that I don't know what has been editted in the excel sheet so I would like to compare the two tables. The problem with using the wizard query is that I can only compare one column, and not all of my columns and data. I would like to find records that exists in the 1st table, but not in the new table, as well as records which exists in the new table, but not in the 1st table. Help!
    Last edited by iruwin50; Jan 9 '13, 04:35 AM. Reason: New updates
  • Seth Schrock
    Recognized Expert Specialist
    • Dec 2010
    • 2965

    #2
    I assume that deleting what is already in Access and replacing it with the current Excel data isn't an option?

    Here is something that might help: Compare two tables and find unmatched records. I have never used this so I'm not exactly sure how this works or what it defines as unmatched.

    A very complicated way would be to loop through the two recordsets and if any of the records don't match, the record could be added to a new recordset that could be viewed in a form. Depending on the amount of data in your tables, this could take a while and might not be the best method, but it would work.

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32633

      #3
      You could link an Access table to the worksheet instead. You would still need to compare the data from the two tables, but we'd need some actual information from you before we could help with that. Your question leaves a lot to be desired, but should be fine if you can work with what's already been posted. If you need more help then you'll need to provide more and better information on the problem first.

      Comment

      Working...