Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using a Read-only file exclusive doesn't generate an err
Message
 
 
To
06/08/2007 16:40:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01246274
Message ID:
01246295
Views:
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?
>>
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform