Hello
I am trying to collect errors and record them in a table instead of a
popup message stopping my code. It seems to work ok, but when I try to
add ERR.Description to my code it fails on Syntax Error (missing
operator).
Any help would be very much appreciated
Thanks Dave
Dim strSql As String
strSql = "INSERT INTO tbllogoftimedev ents(Log)VALUES ('" &
("Routine Failed " & "Error No " & Str(Err.Number) & Err.Description &
"');")
DoCmd.RunSQL strSql
Resume Exit_RMesc
I am trying to collect errors and record them in a table instead of a
popup message stopping my code. It seems to work ok, but when I try to
add ERR.Description to my code it fails on Syntax Error (missing
operator).
Any help would be very much appreciated
Thanks Dave
Dim strSql As String
strSql = "INSERT INTO tbllogoftimedev ents(Log)VALUES ('" &
("Routine Failed " & "Error No " & Str(Err.Number) & Err.Description &
"');")
DoCmd.RunSQL strSql
Resume Exit_RMesc
Comment