try *-- instead of this code: * select 0 * use crossref!sc_parts *-- this instead *-- make sure your database is open and set at the client site as well... wait window dbc() wait window used('sc_parts') use sc_parts in 0 catch to ErrObj MsgText = "Error " + transform(ErrObj.ErrorNo) + ": " +; ErrObj.Message +; gcCRLF + gcCRLF +; iif(ErrObj.ErrorNo = 1705,; "The SC_PARTS table could not be opened exclusively." +; gcCRLF + "Close all other forms and try again.", "") messagebox(MsgText, 64, "Import List Prices") OkToContinue = .f. endtry if not OkToContinue return endif>Stacy-
>>try >> open database crossref >> set database to crossref >> use crossref in 0 >>catch to ErrObj >> MsgText = "Error " + transform(ErrObj.ErrorNo) + ": " +; >> ErrObj.Message +; >> gcCRLF + gcCRLF +; >> iif(ErrObj.ErrorNo = 1705,; >> "The SC_PARTS table could not be opened exclusively." +; >> gcCRLF + "Close all other forms and try again.", "") >> messagebox(MsgText, 64, "Import List Prices") >> OkToContinue = .f. >>endtry >>if not OkToContinue >> return >>endif >> >> >>>>