K
Kay
Hi I have incorporated error handling at form level but
now I am using the run time version of access I would
like to change my code to say in each procedure the
following .....
On Error GoTo Error_Handler
In Error_Handler i would have something like
Error_Handler:
Call procedure in standard module
This would then tell the error to not show any message
but continue (simulate button selection "End"), then to
show a message "An Error Occurred in the database please
inform the administrator" the application would then quit
using -
DoCmd.Quit but log the error in a log file using
application path as the location for the log file.
I would like to include as much information about the
error as possible. Error number, Description, Date,
Specific Line of Code copied to the log instead of having
to write line numbers into the code.
Any ideas on how I can do this sort of thing would be
great!
Thank you for reading all this on your sunday afternoon.
Kay
now I am using the run time version of access I would
like to change my code to say in each procedure the
following .....
On Error GoTo Error_Handler
In Error_Handler i would have something like
Error_Handler:
Call procedure in standard module
This would then tell the error to not show any message
but continue (simulate button selection "End"), then to
show a message "An Error Occurred in the database please
inform the administrator" the application would then quit
using -
DoCmd.Quit but log the error in a log file using
application path as the location for the log file.
I would like to include as much information about the
error as possible. Error number, Description, Date,
Specific Line of Code copied to the log instead of having
to write line numbers into the code.
Any ideas on how I can do this sort of thing would be
great!
Thank you for reading all this on your sunday afternoon.
Kay