Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a Read-only file exclusive doesn't generate an err
Message
 
 
À
06/08/2007 16:40:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01246274
Message ID:
01246295
Vues:
25
>>Hi everybody,
>>
>>I've tried the following three commands in the command window:
>>
>>USE H:\VFPAPPS\HelpDesk\Data\users.dbf ALIAS Users IN 0
>>USE S:\VFPAPPS\HelpDesk\Data\users.dbf ALIAS Test IN 0 EXCLUSIVE
>>ZAP IN test
>>
>>The last command gave me an error that file is read-only. How can I find the read-only status on the use command?
>>
>>Thanks.
>
>I would use error handling in any case, since other things may go wrong: apart from read-only, you may not have adequate permission; or there may not be enough disk space for some operations (for other cases, such as PACK, REINDEX, or adding records).

Good point. This command was a one-time deal, though.
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