Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Revert not working with form with buffering
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00228014
Message ID:
00228035
Views:
17
Are you using table or record buffering? If it's record buffering, make sure that the pointer is not moved anywhere in your code because it will save automatically the record to the table.

If you are using table buffering, are you sure that you are in the right area? To avoid these problems, I allways specify the alias in the parameters of TableRevert().

>I apologize for the confusion. The issue is first setting up the form and databases correctly to utilize optimistic buffering. I think I have done this and validated it with the property cusorgetprop().
>
>Now that I have done this, I want to give the user the ability of selecting revert so their changes are not written to the database from the cursor. For this I have a command button whose caption is 'Revert' and whose click event is =Tablerevert().
>
>When I change data, and select 'Revert', the data gets saved regardless! Why? I don't know. Thats the problem.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform