Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert into
Message
De
18/06/2007 11:06:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01233950
Message ID:
01233955
Vues:
11
You are right. Indeed, a quick test shows that SET EXCLUSIVE is obeyed.

>I think it's VFP6 help error. SET EXCLUSIVE should determine if table is opened exclisevly or not.
>
>>According to the help: "If the table you specify isn't open, it is opened exclusively in a new work area..." The emphasis is mine.
>>
>>I hadn't noticed this before (I use APPEND BLANK + buffering most of the time); but now I ask: wouldn't this be problematic for multiuser applications?
>>
>>Is this behavior still so in later versions of VFP?
>>
>>Must the programmer always include something like the following?
>>
>>
>>if not used("MyTable")
>>  use MyTable again in 0
>>endif
>>insert into MyTable...
>>
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform