General information
Category:
Coding, syntax & commands
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only