>>Simple.
>>
llOK = .T.
>>try
>> use myTable Exclusive
>>catch to loexception
>> llOK = .F.
>> messagebox( 'Someone else is using the table!')
>>endtry
>
>OK, that sounds like what I need.... thanks for this.
You have to check for error 1705 specifically otherwise you'll hide any other errors
--sb--