StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Undo, Redo HistoryExpand / Collapse
Author
Message
Posted 08/25/2008 2:56:32 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame 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

Post #18718
Posted 08/25/2008 4:02:49 PM
Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced 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.



 
Post #18720
Posted 08/25/2008 9:06:24 PM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: Today @ 8:40:14 PM
Posts: 666, Visits: 27,926
Edhy is right, snapshot feature rules.
Post #18723
Posted 08/26/2008 10:50:29 AM
StrataFrame Team Member

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.

Post #18742
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 8:45pm

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.062. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.