On Error Goto identifies a label for the code to move to...
On Error Resume Next tells the code to move to the next line if an error occurs
On Error Goto 0 disables any error handler currently enabled within th current procedure
Look up the On Error statement in the Access Help as this also tells you one one is preferable over the other.