Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EXCLUSIVE and USED()
Message
 
 
À
02/09/2008 13:52:05
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01344237
Message ID:
01344241
Vues:
13
>I need to save the status of a table, do some stuff, then get the table back to where it was.
>
>* Need to determine what the status of WorkList is at this point. Used, Exclusive, etc.
>
>USE (m_prom_dir) + 'WORKLIST' EXCLUSIVE IN 0
>
>DO WHATEVER
>
>* Need to get WorkList back to where it was before. Used, Exclusive, etc.
>
I think you need to check Used() and IsExclusive() (if memory serves). Also you may check IsReadOnly status. I'm not sure how to check other clauses such as NOUPDATE (probably IsReadOnly), etc.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform