Information générale
Catégorie:
Codage, syntaxe et commandes
>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement