Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Repeated records
Message
 
 
À
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:
01245534
Vues:
21
>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

Are you saying that you can drive and type at the same time? :)

Sorry, can not resist.

I haven't looked at the code today yet, will do at night.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform