>that's ok because they will get an error message instead. Thanks
>
>>You could use the table and check the result of FLock() before trying to use it exclusively. You still have a chance that another user open the table between the time that you close the table and reopen it exclusively, though.
Timothy,
File lock and exclusive use are no the same thing. You can FLOCK a file that someone else has open. Also, getting the flock is no guarantee that you will still get exclusive use, so you need to cover that possiblitiy anyway.
Relax, and stop fretting over three or four lines of code.