I have an access database where I am trying to use a query to remove duplicates from a table. My Fields are: MRN, APPT MADE DATE, Division, and User in the table Failed Complex Scheduling.
I have selected the delete query to use, but I am unsure what my criteria should be for this situation. I need MRN and APPT MADE DATE to be duplicated in one or more rows. However, in those rows Division and User cannot be duplicated.
I started by doing a duplicate query so that all of my MRN and APPT MADE DATEs are narrowed down to just duplicates, now I am unsure how to get rid of duplicates in the Division and User fields.
I have been Googling and playing around with this for hours to no avail. I am fairly new at Access, VBA, and SQL (gotta start somewhere!). If anyone could lend a hand - it would really be appreciated.
Edited for more info: Adding Distinct after Select in SQL has not worked. Also, going to Property Sheet and changing Unique Values (and Unique Records) to yes did not work either.