Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ck for file open
Message
From
08/09/2004 15:40:03
 
 
To
07/09/2004 18:21:18
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00940122
Message ID:
00940396
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform