Avatar of Shanan212
Shanan212
Flag for Canada asked on

Appending to Access DB from Excel

Hi,

I want expert suggestion on this.

I have an excel db with unique ID.

I want to create and maintain an Access DB based on this unique ID.

The excel file I get everyweek contains previous 3 weeks of data. So every week, when I append to Access db, I have to remove 2 weeks of data (date method) OR remove all the unique IDs that are present on both files.

I don't want to go through the 'date method' as user entry errors are present in Excel file hence automating it would ruin the db.

I want to know how I can compare each unique ID in excel with Access?

Do I take the access database into a temp table (call it AccessTable), then delete each unique ID that is present on ExcelTable - that just go imported?

^ This seems to be the best idea. However, if  you can show me the resource to compare and delete duplicates inside Access, that would be great.

Rest, I can do!

Thank you for your time!
Microsoft Excel

Avatar of undefined
Last Comment
telyni19

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
telyni19

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23