There are a couple of ways to do this.
The first is to create a query that deduplicates the records.
In query design view, click the Total button on the toolbar.
Then Group by the WorkDate field.
If the date/time field contains both a date and time, enter this expression
in the Field row:
DateValue([WorkDate])
and group on that.
The other alternative is to do it in the report.
Create a Group Header on the WorkDate field.
In the lower pane of the Sorting And Grouping box for this field, set the
properties:
Group On Day
In this group header, add a text box with these properties:
Control Source: =1
Running Sum: Over Group
Format General Number
Visible No
Name txtDateCountRS
Now in the EmployeeID Group Footer section, add a text box with Control
Source of:
=[txtDateCountRS]
(I am assuming you have a group footer for the employee above the group
footer for the date.)
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reply to group, rather than allenbrowne at mvps dot org.
Dani said:
I have a report that groups by Employee Name and then breaksdown each day
that employee has worked. However, sometimes the employee will have
duplicate dates listed (from coming in and out of work). Is there a way
that
I can count each unique date once, rather than counting each record?
Currently it counts each line. Please help!!
Thank you!