Maggie Barr
Board Regular
- Joined
- Jan 28, 2014
- Messages
- 188
Hello and thank you in advance for helping if you can,
I am using Access 2019 desktop. I have a database I finished, or thought I did, but I need to go in and remove some duplicates for one field. I merged three columns of interest as: Species_Common_Name; Event_ID; BlockName as one field, and I need to remove all duplicates records but keep one associated with that field alone. I have been looking online and tried to run a find duplicates query based off of one of my queries, but I keep getting errors about IIf statements I have in my query and it won't work.
Is there a way to put something in the criteria for the field in design view, like DISTINCT, that will remove duplicates while still keeping one? The entire record is not duplicated on the row level, just within categories I need, and it doesn't matter to me who the observer is, just so long as one record representing the unique value for the merged field remains.
I hope this makes sense. I am trying to figure out how to squeak a query in to fix this issue and change the source for the subsequent query to accommodate the change so I don't have to redo everything.
Any advice would be appreciated.
Thank you for your time,
Maggie
I am using Access 2019 desktop. I have a database I finished, or thought I did, but I need to go in and remove some duplicates for one field. I merged three columns of interest as: Species_Common_Name; Event_ID; BlockName as one field, and I need to remove all duplicates records but keep one associated with that field alone. I have been looking online and tried to run a find duplicates query based off of one of my queries, but I keep getting errors about IIf statements I have in my query and it won't work.
Is there a way to put something in the criteria for the field in design view, like DISTINCT, that will remove duplicates while still keeping one? The entire record is not duplicated on the row level, just within categories I need, and it doesn't matter to me who the observer is, just so long as one record representing the unique value for the merged field remains.
I hope this makes sense. I am trying to figure out how to squeak a query in to fix this issue and change the source for the subsequent query to accommodate the change so I don't have to redo everything.
Any advice would be appreciated.
Thank you for your time,
Maggie