Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for Duplicates
Message
From
16/02/2004 14:41:25
 
 
To
16/02/2004 09:09:29
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00877622
Message ID:
00877735
Views:
15
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
Previous
Reply
Map
View

Click here to load this message in the networking platform