tcTable = 'myTable.dbf' local llExclusive, lnHandle lnHandle = fopen(tcTable,2) && Try to open RW llExclusive = (lnHandle > 0) && Not in use if llExclusive fclose(lnHandle) on error llExclUse = .F. && In nano/milliseconds might someone else open use (tcTable) exclusive on error else if ferror() # 5 && Access denied *... endif endif return llExclusiveCetin