Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
An 'undo' option
Message
From
11/04/2005 12:51:00
Denis Filer
University of Oxford
United Kingdom
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
An 'undo' option
Miscellaneous
Thread ID:
01003420
Message ID:
01003420
Views:
61
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
Next
Reply
Map
View

Click here to load this message in the networking platform