LOCAL lcError, llError lcError = ON("ERROR") ON ERROR llError = .T. USE Whatever EXCLUSIVE IF llError * It failed ENDIF ON ERROR &lcError