How to compare two tables in access and filter by two criteria

HI. I am building an employee database. I have two subforms on the employee form in a tab control. There is a Certification Required subform and a Certifications Held subform. I need to compare the certs required to the certs held and return a list of missing or expired certifications. I can put that in another subform/tab or as a report. I need to filter the results by employee ID and also by Position ID. Certs required varies by Position ID. Can this be done in a query?
I have attached my database in progress. It isn't pretty yet but the basic function should be clear. Thanks!
Test1.accdb
esbyrtAsked:
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.

PatHartmanCommented:
Create a query that uses a left join.
Select ...
From tblRequired, Left Join tblHeld on tblRequired.CertID = tblHeld.CertID
Where tblHeld.CertID Is Null or tblHeld.ExpireDate <= Date()

This will select "missing" certs or expired certs.  I can't download the db right now so hopefully this explanation will suffice.
esbyrtAuthor Commented:
This is what I put in query (updated for my actual field names) but I keep getting an error that a reserved word is used, missing or misspelled argument, or incorrect punctuation. Can you spot the error? Thanks!

Select FROM tblCertsRequired, Left Join tblCertHeld on tblCertsRequired.CertID = tblCertHeld.CertIDNum
Where tblCertHeld.CertIDNum Is Null or tblCertHeld.ExpiryDate <= Date()
Rey Obrero (Capricorn1)Commented:
try this, copy and paste

Select * FROM tblCertsRequired
 Left Join tblCertHeld on tblCertsRequired.CertID = tblCertHeld.CertIDNum
 Where tblCertHeld.CertIDNum Is Null or tblCertHeld.ExpiryDate <= Date()

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
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

PatHartmanCommented:
When you are unfamiliar with SQL, it is easiest to use the QBE.  Your query is missing the * in the select clause.
Rey Obrero (Capricorn1)Commented:
it also have an unnecessary comma before the word "Left"

Select FROM tblCertsRequired, Left
esbyrtAuthor Commented:
Thanks so much! That did the trick.
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.