All, using access 2010. I have code to delete a temp file before processing more code.
Code:
DoCmd.DeleteObject
acTable, "tbl_temp"
Sometimes; users would start the process and stop for some reason or another. This doesn’t happen often but I would like to avoid the errors. What happens now is a pop up tells them the temp table is not found and just hangs. I know I need to put error trapping but need the correct error trapping. I want them to be able to go beyond that point. Ideally; I want them to not even become aware that the table is not there but just go on to the next step without them knowing the table is not there. Can anyone help with error trapping and message pls.