SetDirtyOnAdd


Author
Message
Brad Vick
Brad Vick
StrataFrame User (129 reputation)StrataFrame User (129 reputation)StrataFrame User (129 reputation)StrataFrame User (129 reputation)StrataFrame User (129 reputation)StrataFrame User (129 reputation)StrataFrame User (129 reputation)StrataFrame User (129 reputation)StrataFrame User (129 reputation)
Group: Forum Members
Posts: 33, Visits: 88
We would like a new SetDirtyOnAdd property that works just like the SetDirtyOnEdit property for business objects.  If a user clicks to add a record and never actually enters any data, when they close the screen we don't want to show the save changes confirmation message.  Is this possible?
Replies
Brad Vick
Brad Vick
StrataFrame User (129 reputation)StrataFrame User (129 reputation)StrataFrame User (129 reputation)StrataFrame User (129 reputation)StrataFrame User (129 reputation)StrataFrame User (129 reputation)StrataFrame User (129 reputation)StrataFrame User (129 reputation)StrataFrame User (129 reputation)
Group: Forum Members
Posts: 33, Visits: 88




Is there something else I can look at on the BO to determine if the current row is truly dirty? I don't want to ask the user to save changes on exiting a form if they have not changed anything. The IsDirtyOnEdit property works great for editing, but I need to do the same type of thing for adding.
Trent Taylor
Trent Taylor
StrataFrame Developer (31K reputation)StrataFrame Developer (31K reputation)StrataFrame Developer (31K reputation)StrataFrame Developer (31K reputation)StrataFrame Developer (31K reputation)StrataFrame Developer (31K reputation)StrataFrame Developer (31K reputation)StrataFrame Developer (31K reputation)StrataFrame Developer (31K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Why can't you just look at the row state?  This will tell you what is going on with the current row.

MyBO.CurrentRow.RowState

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search