In the following query I get the error "No Current Record". But when I remove the field "Sent" from the query it works just fine. The Sent field is a check box.

SELECT DISTINCT tblMaster.[Docket #], tblMaster.[First Name], tblMaster.[Last Name], tblMaster.[Amount Ordered], Sum(Nz(tblDetails.Payment)) AS [Amount Paid], [Amount Ordered]-[Amount Paid] AS [Balance Due], tblMaster.[Date Due], tblMaster.Address, tblMaster.City, tblMaster.State, tblMaster.Zip, tblMaster.[Date Ordered], tblDetails.Sent
FROM tblMaster LEFT JOIN tblDetails ON tblMaster.[Docket #] = tblDetails.[Docket #]
GROUP BY tblMaster.[Docket #], tblMaster.[First Name], tblMaster.[Last Name], tblMaster.[Amount Ordered], [Amount Ordered]-[Amount Paid], tblMaster.[Date Due], tblMaster.Address, tblMaster.City, tblMaster.State, tblMaster.Zip, tblMaster.[Date Ordered], tblDetails.Sent
HAVING (((tblMaster.[Date Due])<Date()) AND ((Sum(tblDetails.Payment))<[Amount Ordered])) OR (((tblMaster.[Date Due])<Date()) AND ((Sum(tblDetails.Payment)) Is Null))
ORDER BY tblMaster.[Date Due];

Do I need to explain it in more detail?

Thanks in advance to all.
Jols