Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Doevents()
Message
 
À
20/08/2002 15:44:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00691644
Message ID:
00691999
Vues:
8
Claudio,

Try something like this;
lnCnt = 0
Do while not EOF
   IF MOD(lnCnt,100) = 0
      Doevents()
   ENDIF
   write( )   ** here i write a txt file from the records of the table
   lnCnt = lnCnt + 1
Enddo
This will issue the DoEvents() every 100 times through the loop. BTW, you can change the loop to a SCAN/ENDSCAN and that goes faster too.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform