StrataFrame Forum

Access to "Was" values

http://forum.strataframe.net/Topic4656.aspx

By Andria Jensen - 11/20/2006

Is there a way to see the "was" values before a save is committed, like in the CheckRulesOnCurrentRow event?  That way I can compare the value that was in the BO to what is going to be in the BO.  Basically, I want access to the value currently in the BO and value trying to be put into the BO.
By Trent L. Taylor - 11/20/2006

You can look at the CurrentRow of the BO or cycle through the CurrentDataTable and the Rows collection.  In either case, when you get to the row, it will look something like this:

Me.CurrentRow.Item("MyFieldName",DataRowVersion.Original)
By Andria Jensen - 11/20/2006

Awesome, thanks!
By Trent L. Taylor - 11/20/2006

Sure. BigGrin