>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.