Hi everybody,
This probably would be hard to replicate, but if you can, please let me know the behavior you're seeing.
We have a form that has a pageframe with lots of pages. On the first page we have Patient information, on the second - Guarantor information. The patient may not have guarantors.
On that second page all the page controls are bound to children biz objects. In other words, the parent Guarantor biz object doesn't have fields we need to fill. But we're populating Guarantor name, address, etc., which are coming from child tables (and therefore child biz objects).
Now, when we try to close the form by clicking on the x in the upper right corner, the "Do you want to save your changes?" question is not coming up, since QueryUnload method first does CancelAllNewAndEmpty, and that method cancels new and empty of the parent and then of all children.
I'm not yet sure of the right approach to fix this problem and I'm wondering, if you can replicate this problem.
Thanks in advance.
If it's not broken, fix it until it is.
My Blog