Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Total of records after delete
Message
 
 
À
10/12/2009 11:17:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01438395
Message ID:
01438405
Vues:
44
>Thanks Sergey.
>It's just what I need. I wanted to avoid to save the selected work area and then restore it.
>
>
>SELECT 1 FROM louvores TO SCREEN NOCONSOLE
>?_TALLY
>
>

IMHO, you can just do then
select count(*) from myCursor into array laTotalRecs

lnTotal = laTotalRecs[1]
release laTotalRecs
It is better solution than Sergey's (I would assume), in case of many records.
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