Actual SQL code?
I have greatly simplified my situation with table/field names. Anyway, here is the actual SQL code for my query, so far. I intentionally added spacing for ease of readability.
SELECT tblTimeMaterialPayrollWorkFile.[Job Number], tblTimeMaterialPayrollWorkFile.[Sub Job Number], tblTimeMaterialPayrollWorkFile.[Sub Job Description], tblTimeMaterialPayrollWorkFile.[Formatted Cost Code], tblTimeMaterialPayrollWorkFile.[Employee Number], tblTimeMaterialPayrollWorkFile.[Employee Name], tblTimeMaterialPayrollWorkFile.[Employee Class], tblTimeMaterialPayrollWorkFile.[Employee Type], tblTimeMaterialPayrollWorkFile.[Shift Number], tblTimeMaterialPayrollWorkFile.[Regular Hours], tblTimeMaterialPayrollWorkFile.[Overtime Hours], tblTimeMaterialPayrollWorkFile.[Other Hours], tblTimeMaterialPayrollWorkFile.[Ticket Date (YYYY-MM-DD)], tblTimeMaterialPayrollWorkFile.[Sequence Number], DLookUp("[Regular Rate of Pay]","[tblTimeMaterialRateMaster]","[tblTimeMaterialPayrollWorkFile]![Ticket Date (YYYY-MM-DD)] between [tblTimeMaterialRateMaster]![Start Date] and [tblTimeMaterialRateMaster]![End Date]") AS Expr1
FROM tblTimeMaterialPayrollWorkFile INNER JOIN tblTimeMaterialRateMaster ON (tblTimeMaterialPayrollWorkFile.[Job Number] = tblTimeMaterialRateMaster.[Job Number]) AND (tblTimeMaterialPayrollWorkFile.[Employee Class] = tblTimeMaterialRateMaster.[Employee Class]) AND (tblTimeMaterialPayrollWorkFile.[Employee Type] = tblTimeMaterialRateMaster.[Employee Type])
GROUP BY tblTimeMaterialPayrollWorkFile.[Job Number], tblTimeMaterialPayrollWorkFile.[Sub Job Number], tblTimeMaterialPayrollWorkFile.[Sub Job Description], tblTimeMaterialPayrollWorkFile.[Formatted Cost Code], tblTimeMaterialPayrollWorkFile.[Employee Number], tblTimeMaterialPayrollWorkFile.[Employee Name], tblTimeMaterialPayrollWorkFile.[Employee Class], tblTimeMaterialPayrollWorkFile.[Employee Type], tblTimeMaterialPayrollWorkFile.[Shift Number], tblTimeMaterialPayrollWorkFile.[Regular Hours], tblTimeMaterialPayrollWorkFile.[Overtime Hours], tblTimeMaterialPayrollWorkFile.[Other Hours], tblTimeMaterialPayrollWorkFile.[Ticket Date (YYYY-MM-DD)], tblTimeMaterialPayrollWorkFile.[Sequence Number];