>>In a process I select records from a view and I append them in another view I have the following problem.
>>If during the process the user does something else with the machine (opening the Internet Explorer, for example), the result is a complete disaster. The method works fine if the user does nothing but waiting in the meantime.
>>
>
>You haven't told us what the problem is...
You're right...
It seems that my brain has the same problem...
What I meant saying that the result is a complete disaster is that part of the process was skipped. I have a SCAN-ENDSCAN inside another SCAN-ENDSCAN. The rest I do is to copy records from one view to another. When the problem arises it skips a percentage of the last records.
That situation is usually found with activex controls. Autoyield must be .F. and one should use the DOEVENTS but I have three problems:
- the extra control I'm using is a progressbar to indicate the time left which doesn't work properly if I use Autoyield = .F.
- the second problem is that even without the progressbar I found the same situation in any machine if you turn on the IE or any other program while the process is running
- in a particular machine the process worked wrong every time (maybe there is a resident disturbing)
This thing is giving me a hard time.
Thank you for any idea.
Eduardo
Précédent
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