E
Ernst Guckel
Hello,
Any idea why my report does not sort right? It is supposed to sort by
LastReview.
SELECT tblEmployees.EmpID, tblEmployees.EmpFirst, tblEmployees.EmpLast,
tblEmployees.EmpStatus, tblEmployees.DateOfHire, tblEmployees.EmpFileNumber,
tblEmployees.EmpID, Format(nz(DMax("ReviewDate","tblReviews","[EmpID] = " &
[EmpID]),[DateOfHire]),"dd-mmm-yy") AS LastReview FROM tblEmployees ORDER BY
Format(nz(DMax("ReviewDate","tblReviews","[EmpID] = " &
[EmpID]),[DateOfHire]),"dd-mmm-yy");
Ernst.
Any idea why my report does not sort right? It is supposed to sort by
LastReview.
SELECT tblEmployees.EmpID, tblEmployees.EmpFirst, tblEmployees.EmpLast,
tblEmployees.EmpStatus, tblEmployees.DateOfHire, tblEmployees.EmpFileNumber,
tblEmployees.EmpID, Format(nz(DMax("ReviewDate","tblReviews","[EmpID] = " &
[EmpID]),[DateOfHire]),"dd-mmm-yy") AS LastReview FROM tblEmployees ORDER BY
Format(nz(DMax("ReviewDate","tblReviews","[EmpID] = " &
[EmpID]),[DateOfHire]),"dd-mmm-yy");
Ernst.