My apologies if this is a very basic question, but I am very new to using Access and database management and design in general.
I work on a survey which requires field interviewers to complete assignments. These assignments are composed of an employee ID, site location, date, and 6 hour time block. For any given assignment, there can be either 1 site location or 2 (where the employee would split their time interval between the two sites). I am interested in running a find duplicates query to find all days within a month where a site is visited more than once.
My data set looks something like this:
SiteID1 SiteID2 Date StartTime EndTime EmployeeID
1646 1646 03/11 11:00 17:00 0000
1646 1646 03/03 11:00 17:00 0002
4242 1646 03/19 11:00 17:00 0001
1646 4242 03/11 08:00 14:00 0000
I ran a query using the query wizard to find duplicates within the SiteID1 and SiteID2 fields. It only returns the 1,2 and 4th records. I want it to return the 3rd record as well. How can I change my query so that it will look for duplicates in either the SiteID1 or SiteID2 fields, and not treat them exclusively? I'm actually not even entirely sure why it did not return this record, since it still shares duplicate data in the SiteID2 field.
Thanks in advance.