Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Action Every Interval
Message
 
To
24/04/2002 08:58:50
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00648415
Message ID:
00648617
Views:
16
>Mainly, I wanted to point out that my "quick-and-dirty" solution (with recno()) would fail circumstances in addition to the deleted records you mentioned.
>Declaring your own variable is, indeed, the safest way to go, but it may not be necessary if you process a cursor (query result) - in which case, using recno() saves 3 lines of code.
>The same considerations apply to using reccount() ("processing record 100 of 5000"): the results of this function are only reliable in a newly-created cursor (non-filtered).

Ok, I see! Just didn't understand, what you wanted to point out. Thanks for making that clear! Now Steve will know about all the pitfalls as well :)

Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Reply
Map
View

Click here to load this message in the networking platform