Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Values before editing and after saving
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01286843
Message ID:
01286853
Vues:
23
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)...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform