Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET BUFFERMODE - Can this be done??
Message
De
19/05/1999 13:22:04
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00220329
Message ID:
00220524
Vues:
30
>Does anybody know of a command in FoxPro (VFP) to set buffering globally. If you go to tools, options, data; there is an option there to set the buffer mode globally but we can't find a code equivalent. Something like SET BUFFERMODE.
>
>The only thing we found was form BUFFERMODE property. The project we are maintaining here was written with all forms using default data session. If the buffermode property on one form is set to 2 (optimistic) and not set in any forms visited after that, will these forms retain the setting of 2 or use the default of 0? If they are not explicitly set to 0, will they be implicitly set? We've encountered some strange happenings and need some help with this one thing which I've narrowed it down to.
>
>Thanks in advance,

The setting in the Options dialog only specifies the buffermode for cursors opened in the default datasession. These buffermodes can be set at any time using CURSORSETPROP.

Changing _SCREEN.Buffermode does not affect this. I don't think there is a SET statement that can be used to set this, but if you absolutely need to, you can modify the registry setting. This value is stored in
HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\6.0\Options\ as the key 'crsBuffering'. A value of 1 is no buffering, a value of 5 is optimistic table buffering.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform