General information
Category:
Coding, syntax & commands
>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().
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only