Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ck for file open
Message
De
08/09/2004 15:40:03
 
 
À
07/09/2004 18:21:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00940122
Message ID:
00940396
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform