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:32:04
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
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:
01246284
Vues:
24
>>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?
>
>You can use ADIR() to determine if a file is read-only.
>
>EXCLUSIVE is not the same as read-only - in fact there is a NOUPDATE clause to USE which I don't think is widely used.

Thanks, it was a bit strange for me that I can open a read-only file exclusively.

You're right, these both statuses have nothing to do with each other.
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