G
Guest
This is what I have tried. I have created a query that contains
WatchResults.ChairsID, Employee.LastName, Employee.FirstName,
WatchResults.DateWorked, WatchResults.OvertimeHours.
I want only unique employee LastNames to appear in the query. I tried to add
group by to ChairsID, but i get an error reading Data Type MisMatch in
Criteria Expression. I then thought I could add "sum" to the criteria of
Overtime Hours to sum up the hours according to the unique ChairsID, but that
did nothing.
Finally, I tried to add criteria to DateWorked field, placing this in the
criteria:
DateDiff('yyyy',1/1/2004,Date()) ...
In order to try get year to date overtime hours by employee..
Now if someone could tell my why this isn't working, I would appreicate it.
Thanks in advance.
WatchResults.ChairsID, Employee.LastName, Employee.FirstName,
WatchResults.DateWorked, WatchResults.OvertimeHours.
I want only unique employee LastNames to appear in the query. I tried to add
group by to ChairsID, but i get an error reading Data Type MisMatch in
Criteria Expression. I then thought I could add "sum" to the criteria of
Overtime Hours to sum up the hours according to the unique ChairsID, but that
did nothing.
Finally, I tried to add criteria to DateWorked field, placing this in the
criteria:
DateDiff('yyyy',1/1/2004,Date()) ...
In order to try get year to date overtime hours by employee..
Now if someone could tell my why this isn't working, I would appreicate it.
Thanks in advance.