General information
Category:
Coding, syntax & commands
>If you have a data entry form and wish to include a save/undo feature then TABLEUPDATE() and TABLEREVERT() are the commands to use. If you allow Foxpro to do a table update (which it will if you move the record pointer - or even simply GO RECNO()! ) then the user can no longer "Undo".
>You also wish to avoid automatic table updates if you have auxiliary data validation in your save method. My data form base class has a "hook" out from the save event which prevents the update if I deem that necessary. If Foxpro is allowed to do the update then all this code is bypassed.
>Jim Booth, who is a MVP here on the UT wrote a very good article in Foxtalk about setting up a such systems about a year ago.
Thanks David, That has helped me understand alot.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only