Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Action Every Interval
Message
 
À
24/04/2002 08:58:50
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00648415
Message ID:
00648617
Vues:
17
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform