Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Action Every Interval
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00648415
Message ID:
00648546
Vues:
17
Hi Steve,

>I have a monster SCAN loop where I want to report status every n rows. I know I want to do something with MOD() to make this happen, but I can't get the logic in my head. Anyone?

Hilmar already posted the solution regarding MOD(). If your table might contain deleted records and you have SET DELETED ON, than you might prefer to have your own counter variable inside the scan loop, rather than using recno().

Regards,
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform