Don,
You need to try to open it EXCLUSIVEly, if it is open elsewhere, it will throw an error. You can catch the error in a TRY/CATCH block.
>I'm finally writing a class to handle file open with all of the error checking etc. One of the things I need to ck is to see if the file is already open. The used() function will ck if the proposed alias is in use or if the current workarea has an open file in it, but what if the file is open with a different alias that I don't know and it's not in the current workarea?
>
>I can't seen to find any other functions that deal with this.
Steve Gibson