Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table not updated
Message
De
19/01/2006 20:24:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
19/01/2006 12:31:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01088290
Message ID:
01088737
Vues:
9
>I have tried it without Multilock statement, and VFP said nothing, which worry me, if the code didn't work at all.

I don't have VFP right now, on this computer.

I am not sure if this command is scoped to the current datasession. Perhaps you already set multilocks on in the VFP preferences.

To test whether it is ON or OFF:
? set("multilocks")

* or (more appropriate for a form):

MessageBox("Multilocks is " + set("multilocks"))
>in DataEnvironment, I have all the tables set to 5 - Optimistic Table Buffering, and RLOCK() for every Replace.
>
>I want to make sure before I change the code for the whole project:
>
>I should:
>- add SET MULTILOCKS ON in the startup

Yes, but as I said, you should check whether it is scoped to the datasession.

>- delete all the RLOCK()

Correct; with buffering, there is now almost never a need to explicitly lock records.
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