Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What function would be equivalent to 'ISEXCLUSIVE()'
Message
De
16/06/2000 04:50:05
 
 
À
13/06/2000 22:29:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00339668
Message ID:
00381245
Vues:
18
Not wanting to be a nuisance, but...

If the table is already opened 'shared' as another alias in another work area or in another 'datasession' then won't this code fail? Does this mean that mean that another user has it open :-)

No, I don't have a better answer :-)

(and yes, its my last day before a holiday, so I'm in a silly mood)

>>How do you check if a file is opened exclusively somewhere else (on another machine)? ISEXCLUSIVE() doesn't seem to be the answer.
>
>You have to just go for it and trap the error.
>
>lcError = on('error')
>on error *
>use mytable excl
>?used('mytable')
>on error &lcError
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform