local llInUSe on error llInUSe = .t. use Table1 exclusive on error if llInUse *...2) Try to open lowlevel readwrite
local llInUse lnHandle = fopen('table1.dbf',12) llInUse = ( lnHandle < 0 and ferror() = 5 ) if lnHandle > 0 fclose(lnHandle) use Table1 exclusive endifCetin