Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird Buffering
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Weird Buffering
Miscellaneous
Thread ID:
00948406
Message ID:
00948406
Views:
42
I have a weird problem. I have two forms, the first form (navigator) opens the second (properties). The properties-form uses a private datasession and a table (pcInfo, which has only 1 record) in its dataenvironment with Buffering set to 5. On leaving this form the buffered table is updated. When I change a value on the Property form and leave it I expect the value to be changed in the default datasession aswell. The navigator form uses the default datasession and I expect this to "see" the value I just changed. This didn't happen unless I did something with the table (browse, move the record pointer). To test this I added a button to the navigator form which executes the following code:
MESSAGEBOX('Pre-Locate ' + pcInfo.cDD201685 + ' buf:' + TRANSFORM(CURSORGETPROP("Buffering", 'pcInfo')))
GO TOP IN 'pcInfo'
MESSAGEBOX('Post-Locate ' + pcInfo.cDD201685 + ' buf:' + TRANSFORM(CURSORGETPROP("Buffering", 'pcInfo')))
After exiting the properties-form and having changed the cDD201685 value there from STI2.2 into STI1.2, I press the button on the navigator form and the result is two messages:

Pre-Locate STI2.2 buf:1

and

Post-Locate STI1.2 buf:1

What could be going on here?
Reply
Map
View

Click here to load this message in the networking platform