| | | StrataFrame 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? |
| | | | 
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 |
| | | | StrataFrame 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? |
| | | | 
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 |
| | | | StrataFrame 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. |
| | | | 
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 |
| | | | StrataFrame 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 |
| |
|
|