B
BobW
I have the following code to delete a temporary query called "temp"
On Error resume next
DoCmd.DeleteObject acQuery , "Temp"
........ more code ....
If query "temp exists all works fine. If query "temp" does not exist instead
of jumping to next line I get the standard error message-
Run-Time error 7874
.....can't find object temp
In fact: ON error GoTo Error_Correct does not work either. Error
correction seems to be disabled. Any ideas on how to fix it.
On Error resume next
DoCmd.DeleteObject acQuery , "Temp"
........ more code ....
If query "temp exists all works fine. If query "temp" does not exist instead
of jumping to next line I get the standard error message-
Run-Time error 7874
.....can't find object temp
In fact: ON error GoTo Error_Correct does not work either. Error
correction seems to be disabled. Any ideas on how to fix it.