StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Enhancement Requests
»
SetDirtyOnAdd
SetDirtyOnAdd
Post Reply
Like
1
SetDirtyOnAdd
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Brad Vick
Brad Vick
posted 18 Years Ago
ANSWER
Topic Details
Share Topic
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
Like
1
Reply
Trent Taylor
Trent Taylor
posted 18 Years Ago
ANSWER
Post Details
Share Post
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
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
SetDirtyOnAdd
Brad Vick
-
18 Years Ago
Well, a record has to be added so that the business object knows to...
StrataFrame Team
-
18 Years Ago
Is there something else I can look at on the BO to determine if the...
Brad Vick
-
18 Years Ago
Why can't you just look at the row state? This will tell you what is...
Trent L. Taylor
-
18 Years Ago
The row state is 'Add' regardless of whether or not the user enters...
Brad Vick
-
18 Years Ago
So what is your criteria to determine if a record is "truly dirty?"...
Trent L. Taylor
-
18 Years Ago
Yes, I want to know if they user actually typed in anything. Just...
Brad Vick
-
18 Years Ago
This is obviously much more difficult since you are truly adding a new...
Trent L. Taylor
-
18 Years Ago
This is where Foxpro's getfldstate() -function would come VERY handy,...
Pertti Karjalainen
-
18 Years Ago
As mentioned above, if you have this need you can implement it...
Trent L. Taylor
-
18 Years Ago
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search