Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Revert Problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00083629
Message ID:
00083630
Views:
26
>Hello All;
>
>We've created a database with certain rules and messages.
>at the field level. When a user enters a value that breals
>these rules, VFP issues a messagebox with the ok, revert
>and help command buttons.
>The reason is that the revert button literally reverts
>all changes on the record and not just the specific fields.
>
>How do I go about controling these buttons - specifically
>I want only the OK button??
>
>Thanks
>
>Sandy

I guess that Revert button fires Tablerevert() which really reverts whole buffer (record in a case of row buffering). Probably, you should change your code using CURVAL(),OLDVAL() to restore previous field value.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform