B
Bob V
My query works fine shows OwnerID(Number) PaidAmount(Last) BillDate(Last)
but if I try to get the name of OwnerID it will not work,tblAccountStatus on
has the OwnerID (Number) tblOwnerInfo has LastName,FirstName
Thanks if you can help, I have got this far ....Bob
SELECT rh.OwnerID, rh.PaidAmount, rh.BillDate
FROM [SELECT max(Billdate) as maxdate, OwnerID FROM tblAccountStatus
GROUP BY OwnerID]. AS maxresults, tblAccountStatus AS rh
WHERE (((rh.OwnerID)=[maxresults].[OwnerID]) AND
((rh.BillDate)=[maxresults].[maxdate]));
but if I try to get the name of OwnerID it will not work,tblAccountStatus on
has the OwnerID (Number) tblOwnerInfo has LastName,FirstName
Thanks if you can help, I have got this far ....Bob
SELECT rh.OwnerID, rh.PaidAmount, rh.BillDate
FROM [SELECT max(Billdate) as maxdate, OwnerID FROM tblAccountStatus
GROUP BY OwnerID]. AS maxresults, tblAccountStatus AS rh
WHERE (((rh.OwnerID)=[maxresults].[OwnerID]) AND
((rh.BillDate)=[maxresults].[maxdate]));