Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data buffering not working
Message
From
21/06/2001 10:19:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Data buffering not working
Miscellaneous
Thread ID:
00521900
Message ID:
00521900
Views:
47
I have started a new form using my base form class which I have used for over 50 forms.

The Base form class uses data buffering. It contains a "Changed" method which is called from the valid event of the textbox. It compares this.ActiveControl.Value against oldval(this.ActiveControl.DataSource) to see if there was a change. If there was a revert toolbar button is enabled.

This works on the other, older forms - not the new one.

oldval(this.ActiveControl.DataSource) returns the NewValue as if the change were already committed.

BaseForm BufferMode is optimistic. I have tried BufferModeOverRide for the cursor of 1,3 & 5. All fail to catch the change.

MultiLocks is set on.

I have checked all these settings from the Valid Event of the textbox before Changed().

I have run into this before and cannot for the life of me remember what the problem is. What am I missing?
Best Regards
Don Simpson
Next
Reply
Map
View

Click here to load this message in the networking platform