Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recno() Order
Message
De
16/11/2000 12:14:14
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00442673
Message ID:
00442747
Vues:
7
>As I scan through a file I was thinking of showing a wait window that shows recno() of reccount(). I understand that this won't do me much good, unless I can scan the file in recno() order. Is there a way to do this?

You can show the RecCount(), but if you have deleted records or filters it won't be all that accurate either. You could also create an SQL Cursor to do it, in the order you want, then RecCount() and RecNo() should work, but of course, you won't be able to make changes to the Cursor.

Otherwise, do a COUNT or a SQL SELECT and get the _Tally for the real RecCount(), and display that. Then, in your scan, just keep a running count of how many records you've process that and display that as teh RecNo().
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform