Save Changes on Exit Problem


Author
Message
Douglas Riley
Douglas Riley
StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)
Group: StrataFrame Users
Posts: 21, Visits: 267
I am having a problem with the Save Changes dialog.  The dialog box appears when attempting to close a form when I have not modified or added any records.  If I just open the form and close it, the dialog does not appear.  If I navigate to another record and attempt to close the form, the "Do You want to save changes?" dialog appears Crazy! This form has a one-to-many business object relationship (4 child business objects).  Another odd thing is if I don't preload the child bo's when the form initializes, navigate to another parent bo record and attempt to close the form, the dialog does not appear.  Am I missing a setting somewhere?  Any help would be appreciated!  Thanks!

Doug

Replies
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Douglas Riley (07/21/2008)
Got it!  Added the IsDirtyChanged event to each BO and the guilty party appeared immediately.

And what was causig the problem....?

Edhy Rijo

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Glad you got it going Smile
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