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



CRM Example QuestionExpand / Collapse
Author
Message
Posted 11/28/2006 11:49:40 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/30/2006 10:58:13 AM
Posts: 33, Visits: 71
In terms of undoing the changes to a current row

Where is BusinessUndoType.CurrentRowOnly Set?

Post #4809
Posted 11/28/2006 11:52:38 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 1:09:23 PM
Posts: 2,686, Visits: 1,888
It's passed as a parameter to the Undo() method of the business object.  If you call Undo() on the form, it automatically undoes all rows, not just the current one.


www.bungie.net
Post #4810
Posted 11/28/2006 11:56:02 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/30/2006 10:58:13 AM
Posts: 33, Visits: 71
sorry I wasnt clear enough, where do I initalize BusinessUndoType?
Post #4811
Posted 11/28/2006 11:58:01 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 1:09:23 PM
Posts: 2,686, Visits: 1,888
You don't initialize it anywhere... BusinessUndoType is an enumeration, and CurrentRowOnly is one of the enum members.  The only place where that enumeration is used is as a parameter passed to the Undo() method of a business object.


www.bungie.net
Post #4813
Posted 11/28/2006 12:05:44 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/30/2006 10:58:13 AM
Posts: 33, Visits: 71
hmmm interesting...if they are enums then I have to define them somewhere, don't I?

When I'm setting the undo method on my object, I'm receiving the error:

BusinessUndoType not declared.

Post #4814
Posted 11/28/2006 1:29:11 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 1:09:23 PM
Posts: 2,686, Visits: 1,888
Ah, you're missing the namespace imports...

Imports MicroFour.StrataFrame.Business

at the top of the file


www.bungie.net
Post #4818
Posted 11/28/2006 1:49:35 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/30/2006 10:58:13 AM
Posts: 33, Visits: 71
That was it on that.. It's always the simple stuff.

Derrick

Post #4822
« 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 9:59am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 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.