StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
Disable unsaved data message?
Disable unsaved data message?
Post Reply
Like
0
Disable unsaved data message?
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Wil Cantrell
Wil Cantrell
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 23,
Visits: 129
This should be a quick one. When I load data into a business object, I run further calculations on a couple of fields before presenting the data. Doing this makes the data dirty and I get a prompt to save when I leave the form. Since I am only presenting this data, where's that little setting that turns off the prompt?
Thanks
____________________
Programmer/Analyst
Captain D's, LLC
Reply
Like
0
Trent Taylor
Trent Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
It is on the form. Set the AutoSHowSaveChangesMessage to False. Another option is to accept the changes on the current data table so the BO doesn't think it is dirty.
MyBO.CurrentDataTable.AcceptChanges();
Reply
Like
0
Wil Cantrell
Wil Cantrell
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 23,
Visits: 129
I like the second option too. Thanks again.
____________________
Programmer/Analyst
Captain D's, LLC
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search