Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Repeated records
Message
De
02/08/2007 12:17:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01245292
Message ID:
01245528
Vues:
25
Naomi,
select testdup
set order to CompMe
go top
*-- init to unequal to save cycles in loop
lcCompMe = iif(testdup.CompMe=="!", "?", "!")
scan
 if m.lcCompMe == testdup.CompMe
   delete while m.lcCompMe == testdup.CompMe
 endif
 lcCompMe = testdup.CompMe
endscan
should be enough, as the delete positions on the next "different".
Not tested... just secondary brain thinking while driving

regards

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform