I think the main problem is in your WHERE clause. It should be asking about the BudgetID field in the tblBudgetTime table, not the tblPXTime table. Also, in the SELECT clause, bring in tblBudgetTim.BudgetID, not tblPXtime.BudgetID. If you bring in tblPXtime.BudgetID, the IDs on some rows will be...