Information générale
Catégorie:
Codage, syntaxe et commandes
In addition to Sergey's recommendations, consider upgrading to VFP 7.0. DOEVENTS seems to work "right" now - there is very little difference in timing, assuming you don't have a lot of other apps running and trying to do something too.
Rick
>My code is in a loop (Do while) like this :
>
>Do while not EOF
> Doevents()
> write( ) ** here i write a txt file from the records of the table
>Enddo
>but with the Doevents() sentence the process take a lot of time, in the same code if i don't execute the Doevents() , the process take a few seconds.
>How can I fix this problem ?
>Thanks.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement