I am simply trying to query Posted=false. Have tried posted=0 and posted <>true and posted <>-1. What I'm trying to show is: in a subform on the Inventory form I want to show any products that are still open on a Purchase Order, linked by product number. The sql behind the subform
Code:
SELECT DISTINCT PODetails.DetailID, PODetails.PO, InventoryReceiving.QtyReceived, PODetails.Productnumber, PODetails.QTYOrdered, PODetails.ETA, PODetails.DateReceived, PODetails.RecYN, PODetails.Description, InventoryTransactions.Posted
FROM (PODetails LEFT JOIN InventoryReceiving ON PODetails.PO = InventoryReceiving.PurchaseOrder) LEFT JOIN InventoryTransactions ON PODetails.Productnumber = InventoryTransactions.ProductNumber
WHERE (((InventoryTransactions.Posted)<>-1));
This product should show up on the subform. I have verified the data is correct in all tables. I've tried to filter by form as well, with the same results (nothing).
I feel like I'm missing something really simple. But now I've worked myself into a tizzy.
Thoughts? thanks in advance!