PUBLIC glWasError ON ERROR glWasError = .T. USE tablename ON ERROR IF glWasError *-- Use AERROR to get the info and then deal with it ENDIFWith doing things the OOP way, I don't have the ON ERROR anymore. Instead, if the USE fails, it goes to the error method.
USE tablename IF ????? && An error occurred loResult.lSucceded = .F. loResult.cError = ??????? ELSE loResult.lSucceded = .T. ENDIF RETURN loResultWhat I don't know is how to make the IF statement know there was an error and what that error is.