Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buffering Problem
Message
From
06/08/2004 15:18:43
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
 
 
To
06/08/2004 09:40:31
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00931286
Message ID:
00931407
Views:
19
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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform