Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan + count
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01322689
Message ID:
01323117
Vues:
20
>I need to find repeated records in a table
>
>I am using scan + count as below, but looks like count stops scan process
>Scan does not go beyond the first record
>
>
>SELECT TEST11
>
>   SCAN
>   STORE TEST11.ID TO VERR
>    COUNT FOR TEST11.ID = VERR TO VERIX
>      IF VERIX > 1
>  = MESSAGEBOX ("DUPLICATE RECORD" + STR (VERR))
>     ENDIF
>       ENDSCAN
>
Are you using SCAN loop because you have un-commited changes?
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform