Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FLOCK and USE
Message
 
 
À
18/05/2012 16:33:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01543813
Message ID:
01543839
Vues:
90
This message has been marked as the solution to the initial question of the thread.
J'aime (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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform