Board index » delphi » Looking for records with repeated data
Arrow
![]() Delphi Developer |
Mon, 03 Sep 2001 03:00:00 GMT
Looking for records with repeated data
The situation you are describing has been an old routine commonly used for merge aand purge in mailing lists. The old proven method was to sort the table on the field you are trying to compare. In Pdox that would mean creating a secondary key. You read the first record. You save the compare field value in a variable. You read the next record. You compare the values of the of the compare field and the variable. If they equal you mark the record. If they don't you change the variable value. Read the next record and so on. I hope this helps. Arrow Software <<<< L R G M >>>> wrote in message <7cpv4i$82...@forums.borland.com>... |