Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BufferModeOverride vs The Help File
Message
De
25/02/2008 17:39:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01296250
Message ID:
01296254
Vues:
10
>When I select a cursor in the DE, and drop down the property in the prop sheet for BufferModeOverride, I see six
>options, 0 - 5. The help file for BufferModeOverride shows only two options - 3 and 5.
>
>Is this a mistake, or am I missong something?

Strange. Probably options 3 and 5 (optimistic buffering) are the most important ones, but that is really no reason to eliminate all the other options from help.

For your information, here is the help (more complete) for VFP 6:
0 None. No buffering is done. 
1 (Default) Use form Setting. Uses the BufferMode property set at the form or form set level. 
2 Pessimistic row buffering. Locks the record and buffers the changes until the record pointer moves. You can use TABLEREVERT( ) to undo your changes. 
3 Optimistic row buffering. Allows edits to a single record and locks the record only when it is written to disk. You can use TABLEREVERT( ) to undo your changes. 
4 Pessimistic table buffering. Locks each record edited, but records are not written to disk until TABLEUPDATE( ) is called. You can use TABLEREVERT( ) to undo your changes. 
5 Optimistic table buffering. Allows edits to all records and does not lock them until the records are written to disk with TABLEUPDATE( ). You can use TABLEREVERT( ) to undo your changes. 
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform