Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scatter
Message
 
To
19/07/1997 02:11:19
Chiang Jeffrey
Paramoun Air Sea Svcs P/L
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00040596
Message ID:
00040764
Views:
38
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform