Hi,
This code works for me...but it seems long and convoluted. Does anyone have a better / cleaner way to do this?
I have ...
EmplID Action_Reason Effective_Date
123456 'Return From Leave' 2004-06-08
123456 'Leave of Absence' 2004-05-19
123456 'Return From Leave' 2004-06-09
I need...
Query Question:
This :
SELECT tblAttendancePoints.[EmpID], Max(tblAttendancePoints.PointsDate) AS MaxOfPointsDate, tblAttendancePoints.Total
FROM tblAttendancePoints
GROUP BY tblAttendancePoints.[EmpID], tblAttendancePoints.Total
HAVING (((tblAttendancePoints.[EmpID])=179709));
Returns...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.