Kirsten Posted July 19, 2005 Posted July 19, 2005 I am trying to make a warning note for a portal populated with registrant names for an event. The warning should show when the same participant is entered in the same event. The portal is in the event file, and links via a many to many join file to a registrant file. How can I set up a script so that a warning notice shows up whenever a registrant is duplicated for the same event? Registrants have unique IDs, and so do Events. I'm thinking of searching for duplicate "reg ID + event ID" in the join file, but am unsure how to launch such a search from the event file registrant portal. Thanks in advance. Kirsten Masse
Wim Decorte Posted July 20, 2005 Posted July 20, 2005 You can make a concatenated key field (regID & " - " & eventID) and make a self-join relationship based on that key. If you loop through each record and test for Count(any field through that relationship) you can find all those with a count > 1; your duplicates.
Recommended Posts
This topic is 7067 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now