local llError, lcError * Adding following line along with lcError declaration lcError = ON("Error") on error llError = .T. * The following is the line (or lines) that could cause an error use MyTable * Adding following line on error &lcError if llError MessageBox("The file could not be opened; please try again later.") * Or do some more detailed analysis, e.g. with aerror() else * Go ahead, and do whatever you would with the table endif