>>>>The real question here is WHY cant he not get exclusive use of the table - and this can be narrowed down pretty easily if that becomes the focus here.
>>
>>But if the selected worked area isn't exclusive or is empty then PACK would throw an error.
>>
>>Unless ON ERROR RESUME or similar is involved... or unless isexclusive()=.t.
>
>That is correct - but since isexclusive()=.F. for him, then all bets are off at that point - so what happens after that means nothing (yet).
In his original code he was calling ISEXCLUSIVE() without an alias parameter. So if it's not the current work area that had the Bookings table open it could return the wrong value. My feeling is that's a red herring.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up