How to Save the parent and Child from the parent Form


Author
Message
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
I have a Parent Form With a listbox of children (that is initially empty)and also a ChildDialogue control. I have an Add button  that calls the Child Form. When I close the child form, SF asks me do I want to Save. If I say yes, the Child and parent are saved. If I say no, the Child Business object acumulates as i hit the Add button again and again, which is the behavior I want, but without the question.

How do I get the Child Form NOT to ask me "Do I want to save". I may want to go back to the parent form without doing a Save but also without losing the children. When I am completely finished, I have a 'Save' button on the Parent Form and want to do all the databse updating from the parent form

Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
ok. Did a bit of searching around and found a property on the child form called: AutoShowSaveChangesMessage and I set this to false. This does not put up the messagebox, and it also does NOT seem to save the data back to the server.... which is exactly what I am looking for..maybe if there is something else I need to do somebody might jump in
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