| | | StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 5:16:01 PM Posts: 314, Visits: 1,290 |
| | Just wondering if anyone has implemented Undo/Redo history at the business object level. Right now we can Undo changes since the last save, however I have a requirment to keep track of all changes since the last save operation and allow users to undo them one at at time (and Redo them as well), until you save or Undo All changes. Any idea's on how you would go about doing this? Thanks, Tim |
| | | | Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 7:53:31 PM Posts: 760, Visits: 3,283 |
| | Hi Tim, You can use the BO methods SaveCurrentDataTableToSnapshot and RestoreCurrentDataTableSnapshot() to properly handle that situation. Check the help file for more information, but these are the methods you need to implement this feature.
|
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 8:40:14 PM Posts: 666, Visits: 27,926 |
| | Edhy is right, snapshot feature rules. |
| | | | StrataFrame Team Member

Group: StrataFrame Users Last Login: 12/23/2008 11:10:40 AM Posts: 232, Visits: 511 |
| Good call Edhy  Tim, those are pretty new, so you'll need to get the most recent 1.6.6 beta to use them. Not sure if they are in the help yet, but you can find a pretty good explanation of them in this post, three replies down. |
| |
|
|