Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Values before editing and after saving
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01286843
Message ID:
01286853
Views:
22
I do use classes. I have a SAVEIT() method that is called when the SAVE button is clicked.

I do not have abeforesave() or aftersave() method. It is local FoxPro tables.

>I would do this in the save method of your control or form. Do you use classes? Is there a parent class? Do you have a beforesave() and aftersave() or something similar? Is each field saved as the user moves through a field or is there a save button? Is it local tables or sqlserver backend? Store the current value using a property of the control and then check it when the control loses focuses against the current value (or right after your save, etc) or check each field against it original value right after a save (if done using a button, etc)...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform