473,323 Members | 1,547 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

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!
Jan 8 '13 #1
2 1861
Seth Schrock
2,965 Expert 2GB
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.
Jan 8 '13 #2
NeoPa
32,556 Expert Mod 16PB
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.
Jan 9 '13 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Nono | last post by:
Hello, I am trying to update records in my database from excel data using vba editor within excel. In order to launch a query, I use SQL langage in ADO as follwing:...
3
by: Bugga Bugga | last post by:
The letter or symbol " ì " appears in the memo field of my Access database. I tried to use search and replace to delete it, but even though I can see it the search and replace feature can not...
1
by: Leon | last post by:
Hi, I am trying to find out what are the big differences between access database Jet engine and SQL Server? If I have serveral web applications (same content different copies) running as different...
2
by: Ville Mattila | last post by:
Hi there, I will post my question to this group too bacause the .data group seems to be rather quiet. I've been playing with VB.NET and ADO for a week now and find the different data handling...
1
by: Shawn Jackson via .NET 247 | last post by:
Hi, I just starting using VB.NET and I a few textboxes on a form. I want to enter info into the textboxes, click the Add Button and update my Access database. Can't get it to work. Maybe someone has...
2
by: AccessWannaBe | last post by:
Can anyone spare a good example of how to update a specific field in a row within a table in an access database? I am good with fetching the data and representing in a table, but what if I want to...
1
by: tazdiver | last post by:
Hi All, I am having an issue with an windows application made from VB.NET 2003 which is using an access database. Basically the problem is that when the user updates a field on the app from a...
1
by: tazdiver | last post by:
Hi All, I am having an issue with an windows application made from VB.NET 2003 which is using an access database. Basically the problem is that when the user updates a field on the app from a...
1
by: =?Utf-8?B?QW5kcmU=?= | last post by:
I used the wizard in VS2005 to create my connection, dataset, and tableadaptor I have a typed dataset named dsUserInfo I have a tableadaptor named taFillUserInfo I would like to on the vb side...
0
by: thludwig | last post by:
Hi all, im totaly new to forums and this is my first post ever to please excuse if the form isn't correct. I have big problems to understand the complete correlation of dataset, dataadapter and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.