Hi PHV, how are you? Thansk for responding.
Here is the SQL code of the query...
SELECT tblLabourBillings.[Formatted Cost Code], tblLabourBillings.[Ticket Date (YYYY-MM-DD)], tblLabourBillings.[Employee Name], tblLabourBillings.[Employee Class], tblLabourBillings.[Employee Type], tblLabourBillings.[Regular Hours], tblLabourBillings.[Overtime Hours], tblLabourBillings.[Other Hours], tblLabourBillings.[Sequence Number], tblLabourBillings.[REG Rate], tblLabourBillings.[OVT Rate], tblLabourBillings.[OTH Rate], tblLabourBillings.UnionGroup, tblLabourBillings.[Cost Code Description]
FROM tblLabourBillings
WHERE (((tblLabourBillings.[Formatted Cost Code])=[Forms]![frmQuery1]![Combo26]));
Here is the SQL code for the Record Source of the form,
SELECT tblLabourBillings.[Formatted Cost Code], tblLabourBillings.[Ticket Date (YYYY-MM-DD)], tblLabourBillings.[Employee Name], tblLabourBillings.[Employee Class], tblLabourBillings.[Employee Type], tblLabourBillings.[Regular Hours], tblLabourBillings.[Overtime Hours], tblLabourBillings.[Other Hours], tblLabourBillings.[Sequence Number], tblLabourBillings.[REG Rate], tblLabourBillings.[OVT Rate], tblLabourBillings.[OTH Rate], tblLabourBillings.UnionGroup, tblLabourBillings.[Cost Code Description]
FROM tblLabourBillings
WHERE (((tblLabourBillings.[Formatted Cost Code])=[Forms]![frmQuery1]![Combo26]));