Hi!
newcomer to FM. have 8 version. Want to delete all duplicate records in a table but cant get the example in the helpfile to work
My table contains of 2 fields
Destination textfield
Rate numberfield
There are a lot of records with the same destination and rate that I want to delete
Please help
Delete Duplicate records
2 posts
• Page 1 of 1
|
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Here is a simple way to do this...
a) Backup your file then find your dupe records. b) Sort them by their dupe criteria (so that all the duplicates are next to each other). c) Run the following script. Remember: this only works if your dupes are sorted as described above. If you're in FileMaker 7 or previous, set a global field instead of using the variable in this script. "YourField(s)" below represents the criteria by which you know a record is a dupe. In your case this might be your Destination and Rate appended to each other like this: Destination&rate
John Sindelar
SeedCode |
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests