Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FLOCK and USE
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01543813
Message ID:
01543839
Views:
88
This message has been marked as the solution to the initial question of the thread.
Likes (1)
7 is good value, 3(default) is not. 7 couldn't be default because value 4 was added later.

>It is local. The SET TABLEVALIDATE command was still completely unknown to me. I have now set it to 7 and the error is completely gone! Great.
>
>Is 7 a good value? I wonder why this isn't the default.
>
>>Is table local or on the network? What is in VFP9
>>
>>? SET("TABLEVALIDATE")
>>
>>
>>>I open a table shared in VFP9SP2 and do a successful FLOCK().
>>>
>>>I open the table shared in VFP7 with USE. It opens and is browseable. I close the table.
>>>
>>>I open the table shared in another session of VFP9SP2 with USE and get the error: File is in use by another user.
>>>
>>>What's going on here?
>>>
>>>Another scenario: I open the table shared in both vfp9 sessions. Then I do the FLOCK() in one of them. No errors.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform