Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BufferModeOverride vs The Help File
Message
 
To
25/02/2008 17:39:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01296250
Message ID:
01296256
Views:
8
>>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.
>
That's what it looks like - 0 means Dont Buffer, and 1 means "Dont change it from
the form's setting", and 2-5 are the same as CURSORSETPROP,so it sort of makes sense.
Although I agree - all should be in the help.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform