Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Possible Bug in DataEnvironment Class
Message
From
20/06/2006 17:55:21
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Possible Bug in DataEnvironment Class
Miscellaneous
Thread ID:
01130368
Message ID:
01130368
Views:
69
If I have a form with the form buffer mode set to Optimistic, and then add tables to the Data environment with the tables set to use the form buffering setting then the value for the buffermode override for those tables is 1 in the dataenvironment.

If I then create a class from the data environment of the form and attempt to use this class in a prg file , then cursorgetprop('buffering') for each of the tables set to use the original forms buffering mode will return 1 -> which is no buffering.

Has anyone else run into this? I suppose there is an easy workaround by just setting an individual buffeing mode for each table in a form dataenvironment, but it seems like the class creation module would be smart enough to pick this up.
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!
Reply
Map
View

Click here to load this message in the networking platform