R
rsosabusiness
Hi, everyone!
A query designed to group pay records by quarter for purposes of
filing tax returns ends with the following statement:
GROUP BY EmployeeID, Format$(PayRecords.PayDate,'q yyyy'),
Year(PayRecords.PayDate)*4+DatePart('q',PayRecords.PayDate)-1;
I can understand the first two parameters but the last one (Year ...)
has me totally baffled. What does it do?
Cordially,
Robert
A query designed to group pay records by quarter for purposes of
filing tax returns ends with the following statement:
GROUP BY EmployeeID, Format$(PayRecords.PayDate,'q yyyy'),
Year(PayRecords.PayDate)*4+DatePart('q',PayRecords.PayDate)-1;
I can understand the first two parameters but the last one (Year ...)
has me totally baffled. What does it do?
Cordially,
Robert