Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COUNT TO
Message
De
30/06/2000 10:40:12
 
 
À
30/06/2000 10:21:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00387054
Message ID:
00387072
Vues:
19
>In one deleted method I count and then go to the record selected and DELETE, but it doesn’t deleted anything. So I got rid of the COUNT and went back to RECCOUNT and all was fine again.

COUNT moves the record pointer to EOF because it looks at every record. So, either store and restore the record pointer before and after the COUNT, or use and SQL SELECT instead, checking the RECCOUNT of the result, or the better yet the _tally system variable.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform