R
ripper
When I run this query, I am presented with a parameter input box asking for
tblGrievances.Year (unless I remove it from the ORDER BY clause). How can I
sort on the calculated field and the GrievNumber field?
Many thanks,
Rip
SELECT tblGrievances.*, DatePart("yyyy", tblGrievances.Yr) AS Year
FROM tblGrievances
ORDER BY tblGrievances.Year, tblGrievances.GrievNumber
tblGrievances.Year (unless I remove it from the ORDER BY clause). How can I
sort on the calculated field and the GrievNumber field?
Many thanks,
Rip
SELECT tblGrievances.*, DatePart("yyyy", tblGrievances.Yr) AS Year
FROM tblGrievances
ORDER BY tblGrievances.Year, tblGrievances.GrievNumber