Nadya,
I don't know of any way other than error trapping (although you may get more info from others) but since the file could be opened on another computer entirely I would think error trapping is about the simplest way you could go.
>Hi everybody,
>
>Just wondering, is there a way other than trapping for error to check, if particular table is already opened in some (not neccessary the same) datasession exclusively.
>
>One more question: dbused() and used() apply only for current datasession? How in this case we can determine, if table is in used or database is in used in other DS? In DOC there is nothing about DS for USED() command.