Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recno() Order
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00442673
Message ID:
00442747
Views:
12
>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
Map
View

Click here to load this message in the networking platform