Formula Query to find duplicates in a specific field
Hi All,
I've watched all the youtube videos and looked at all the posts, but I can't seem to get my head around this.
I have a table with the following fields:
- store number
- User ID
- Selected as Admin (checkbox)
A user ID can be found in more than 1 store, but cannot be selected as Admin more than once. So basically I want to say that if the user ID is selected as Admin in another store already, it can't be selected in this store.
I've embedded a user record report in the Store form to show all the users for that store. If a user in that store has already been selected as Admin in another store, I don't want them to show on this report.
I'm thinking that I need to create a 4th field "Already Selected as Admin", and somehow look for duplicates. If one of the records in the set of duplicates is selected as Admin, set "Already Selected as Admin" to true for all of them. Then I would just filter out records that way.
Hoping someone can help!
Thank you,
Kim
------------------------------
Kim
------------------------------