Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
An 'undo' option
Message
De
11/04/2005 12:51:00
Denis Filer
University of Oxford
Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
An 'undo' option
Divers
Thread ID:
01003420
Message ID:
01003420
Vues:
64
Is there a good way to implement a data edit 'undo' option for a form data grid. I have a grid class used thoughout my application which in turn has its own textbox class. I've created a smaple function that compares the data in the textbox gotfocus and lostfocus and if different, adding the data to an array which stores record number, controlsource and pre-edited data value. This works OK and could be extended to add 'redo' and deal with deletions. However, I run into problems with memo fields as I have a special memo field editor - and it starts getting more complicated! All my tables are free tables. Something tells me there's a better way to do this ... TIA, Denis
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform