I want to build a query using 2 tables and have this information returned into a form. The problem is one of the tables has no data in it (OdrQty) when I run my query it shows no results but if I delete the table with no data it works just fine. Problem is this table will not always be populated with data right away and I need to have both tables up for my query to give the proper information. If I put data in the OdrQty table it works just fine from the tests I did. I do have a relationship between the two tables I just don't know what I am missing.
Here is what it looks like.
SELECT Parts.PartNo, Parts.Description, Parts.OnHand, Parts.ReOrderPt, Parts.MinOrder, OdrQty.Complete, OdrQty.OdrQty
FROM Parts INNER JOIN OdrQty ON Parts.PartID = OdrQty.PardID
WHERE (((Parts.OnHand)<=[ReOrderPt]) AND ((OdrQty.Complete)=No) AND ((OdrQty.OdrQty)=0));