Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffering Problem
Message
De
06/08/2004 15:18:43
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
 
 
À
06/08/2004 09:40:31
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00931286
Message ID:
00931407
Vues:
18
I have found the problem and I believe it is a dangerous bug. If the original form I am using is not subclassed - its parent is the generic form- then this problem does not occur. However, if the form I am using has a parent form that has optimistic row buffering set as the default then the only way I can find to keep data from being optimistically row buffered is to set each table in the data environment to have no buffering. If it is set to use the form default it is apparently picking up the default from the parent class , not the present instance of the form. This behavior seems to hold true in the VFP 9 beta also. I hope someone can confirm this and that this behavior will either be documented by Microsoft or altered to something more reasonable. Let me recap :

Form A is a subclass of a generic data entry form.
The generic data entry form is set to Optimistic table buffering
Form A is set to Buffer Mode NONE
Tables in the data environment of Form A are set Buffermodeoverride ='Use Form Setting (default)'
Tables in the dataenvironment are actually in optimistic table buffering mode rather than the expected no buffering mode.
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform