Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement