Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing the same record
Message
 
À
27/11/2000 13:30:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00445734
Message ID:
00445768
Vues:
20
>Try using the default buffermode.
>and what about all of the advanteges included with the optimistic bufferring?

There isn't really any advantage to optimistic buffering. The keyword here is optimistic. Meaning you are highly optimistic that record locking won't be necessary when editing and FoxPro will only attempt to lock the record when the table is updated. The wizstyle.vcx class txtbtns detects this optimistic buffermode and prompts you to save or not. picbtns is a subclass of txtbtns so if you want to remove that funtionality, open txtbtns in your wizstyle.vcx and search for E_DIRTYREC_LOC and edit the class code to not ask the question. However, keep in mind that the mod will change every instance of picbtns in any project that uses wizstyle.vcx.

>+ it's not as simple now for me to change the bufferring mode...

Why?
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform