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?
Reply
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
As mentioned above, if you have this need you can implement it yourself.  The GetFldState is replaced in ADO.NET by looking at the version of the field, which you can do just like you did in FoxPro.  All fields in ADO.NET have a buffer, this is how concurrency works.

MyBO.CurrentRow.Item("MyField",Version....)

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