Information générale
Catégorie:
Codage, syntaxe et commandes
In my program I capture runtime errors by issuing a call to a program called ERRORTRAP (ON ERROR DO ERRORTRAP).
Within the program ERRORTRAP, a record is inserted into a table and the message "An error has occurred, program will exit...Please contact technical support" is displayed. Once the user clicks ok, the program shuts down.
This procedure works just fine. In my program I copy files from a remote PC to my PC. If these files are in use, of course the above occurs. In this situation, I would like to just display a message to the user to notify them of this without the system shutting down completely. Do not call the errortrap program!!!
Would is the best approach to this.
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