why a innter join query on microsoft access don't give me one record match this criteria

hi
i have a microsoft access 2016 database that contain two tables
one table with the name "IR" and the other table name is "AR". every table contain 4 records and they records are identical on the two tables. but the problem is that on a query (that i named query 1) that i create to find identical records it's just find a match on 3 of the 4 records and i don't see any reason why the query does not see the matching on record 4 also.

this is the code on the query
SELECT AR.Price, AR.CheckNUm, AR.PayDate, IR.Price, IR.CheckNUm, IR.PayDate
FROM AR INNER JOIN IR ON (AR.Price = IR.Price) AND (AR.CheckNUm = IR.CheckNUm) AND (AR.PayDate = IR.PayDate)
WHERE (((AR.PayDate) Between #1/1/2015# And #12/31/2015#));

Open in new window

. and there i attaching this databaseNI.mdb
bill201Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Because you're filtering on the PayDate field, and the 4th record doesn't fit that filter.

You're filtering for a PayDate between Jan 1, 2015 and Dec 31, 2015. 3 Records fit that filter, but the 4th has a PayDate of Dec 20 2014, which does NOT fit that filter.

If you remove the filter, or modify the filter to include the 12-20-2014 date, the 4th record is shown.

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
bill201Author Commented:
why i am really stupid :) , do you have an idea how much time i spent on this
bill201Author Commented:
thanks alot
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
Microsoft Access

From novice to tech pro — start learning today.