_samuel_ Posted July 25, 2008 Posted July 25, 2008 (edited) Hello, I have a student database with three layouts (fall, spring and summer). I would like to print one mailing label for each enrolled student during that year but when I make a search for "active" students in each layout, I have many duplicates because many of the students are enrolled in more than one semester. How do I get rid of these duplicates? I appreciate your help. Thanks, Samuel Edited July 25, 2008 by Guest
Osman Posted July 25, 2008 Posted July 25, 2008 hi samuel, you can check the link below to solve your problem http://thefilemakerblog.blogspot.com/2008/07/pick-one-copy-of-duplicate-records.html
Lee Smith Posted July 25, 2008 Posted July 25, 2008 Layouts are just copies of a TO, unless you have separate TOs for each of these classifications, you should be able to find your duplicates using the Find in your field for !. In Find Mode, it is one of the options in the drop-down menu under the Symbols. HTH Lee
_samuel_ Posted July 26, 2008 Author Posted July 26, 2008 Thank you for your reply. Is there a script or a way to omit duplicates without deleting them? There are over 900 duplicate records. Thanks, Samuel
Lee Smith Posted July 26, 2008 Posted July 26, 2008 (edited) Take a look at Finding only one of each record when there are duplicates! by Ray Link Edited July 26, 2008 by Guest
comment Posted July 26, 2008 Posted July 26, 2008 The real problem here is NOT how to omit the duplicates, but how not to have them in the first place. You should have (at least) two tables: one for Students (where every student has ONE UNIQUE record), and a related table of Enrollments, where each record represents one student's enrollment in one semester.
_samuel_ Posted July 26, 2008 Author Posted July 26, 2008 Yes, thank you very much. this is very helpful. Thank you all for your help. Samuel
Fitch Posted July 26, 2008 Posted July 26, 2008 One other technique is to use a summary part for your label in place of the body part. That way even with duplicates in your found set, when you sort and then preview/print you'll only have one of each.
_samuel_ Posted July 27, 2008 Author Posted July 27, 2008 this is brilliant! I like your solution, thank you very much. Samuel
Recommended Posts
This topic is 5962 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