Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scatter
Message
 
À
19/07/1997 02:11:19
Chiang Jeffrey
Paramoun Air Sea Svcs P/L
Singapore, Singapour
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00040596
Message ID:
00040764
Vues:
40
>Thanks,....but when do I issue TABLEUPDATE() and TAABLEREVERT()?...should I put them the the 'click' event of the command >buttons that I created for save and delete?
Jeff,

Yes that would be an ideal place for them. Better yet would be to give your fomr a SaveData Method and a RevertData method and put the TableUpdate() in teh SaveData and the TableRevert() in the revertData method. Have the click of your save button say;

THISFORM.SaveData()

The Cancel button could say;

THISFORM.RevertData()

This way the butotns never change no matter what form you use them in. You kust make sure the form has those two methods and that the needed code is in there.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform