Comparing 2 tables in Access 2000

I hope this is an easy one:

I have 2 tables.  The first table is my master database consisting of approx 20,000 records in 25 fields.  The second table is a database containing only approx 1000 records in only 3 fields.

What I want to do is to compare the 2 tables (in the form of a re-usable query)and flag those records (in this caee approx 1000 records) where the data IN ALL THREE FIELDS matches.

So in English (as opposed to SQL) the task is roughly:  Compare mastertable [Field1] with subtable [field1] AND mastertable [field2] with subtable [field2] AND mastertable [field3] with subtable [field3].  Where all 3 fields match add "ABC123" to [Comments] field and "ZYX987" to [Another] field.

Thanks.





  (This comes about because I send out the name, zipcode & fax fields from my whole database to a third party who checks every fax # and then returns
brianthorpe1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

brianthorpe1Author Commented:
Ooops.  Pls ignore the line at the bottom of my quetion.  This should have been deleted before I hit Submit !!
0
DrTechCommented:
UPDATE T1 INNER JOIN T2 ON (T1.F3 = T2.F3) AND (T1.F2 = T2.F2) AND (T1.F1 = T2.F1) SET T1.Flag = "ABC123", T1.[Value] = ZYX987";

T1 and T2 are the tables
F1 F2 and F3 are the fields to compare
Flag and value are the fields to update
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CleanupPingCommented:
brianthorpe1:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Experts: Post your closing recommendations!  Who deserves points here?
0
GPrentice00Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

-->Accept DrTech's comments as answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

GPrentice00
EE Cleanup Volunteer
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.