I have a subform based on a query of daily time entries by job number. I wish to display each employee’s time for the job selected. I can’t seem to get the employee times to list as one line per employee with the work hours summed and the wage totaled by the wage rate for that employee.
My query uses JBT_EmpTime table and EM_Emp table linked by the many to one relationship on JBT_EmpNumber and EM_EmpNumber fields. For job number field I select from the frm Menu using [Forms]![frmMenu]![txtJobNum] in the Criteria row. I sort Ascending JBT_EmpTime. And in the Totals row each field is “Group By” except JBT_WorkHrs from the JBT_EmpTime table which is “Sum”. I am tring to calculate a dollar amount in the Tot field using “Tot:[EM_Wage]*[JBT_WorkHrs]” which is also “GroupBy”.
While the Tot field seems to calculate properly, I am getting a line for each row in the JBT_EmpTime table instead of the rows for any one employee being combinded in one line.
I am using Access 97 with the built in query builder.
Hope I explained this well enough.
Thanks for any help.
My query uses JBT_EmpTime table and EM_Emp table linked by the many to one relationship on JBT_EmpNumber and EM_EmpNumber fields. For job number field I select from the frm Menu using [Forms]![frmMenu]![txtJobNum] in the Criteria row. I sort Ascending JBT_EmpTime. And in the Totals row each field is “Group By” except JBT_WorkHrs from the JBT_EmpTime table which is “Sum”. I am tring to calculate a dollar amount in the Tot field using “Tot:[EM_Wage]*[JBT_WorkHrs]” which is also “GroupBy”.
While the Tot field seems to calculate properly, I am getting a line for each row in the JBT_EmpTime table instead of the rows for any one employee being combinded in one line.
I am using Access 97 with the built in query builder.
Hope I explained this well enough.
Thanks for any help.