Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for Duplicates
Message
De
16/02/2004 14:41:25
 
 
À
16/02/2004 09:09:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00877622
Message ID:
00877735
Vues:
14
Jeffrey,

Nadya's code is very complete. Just adding some few lines for checking if identical fields exists before to do anything.
lnQtyRegs = reccount("TableWithDuplicatedRecords") 
select * distinct from TableWithDuplicatedRecords into cursor curDifferentFlds
calculate cnt() to lnQtyDifferent
use
? "DuplicatedRecords = " + allt(str(lnQtyRegs - lnQtyDifferent))
Enrique
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform