Versions des environnements
Network:
Windows 2003 Server
>>>>>I don't understand the problem exactly here. Why you can not have 3 related biz objects with appropriate properties for the child objects (Save on Save parent, etc.) ?
>>>>
>>>>I do have three business objects, and that's how they're set. If I requery() when changing pages to get different grandchild sets, any changes to a previous page(and previous view) are lost. How can I set it to edit different subsets, and only use one save/cancel?
>>>
>>>Don't requery. Do save on a parent first, then requery() on the parent. Save on the parent should save children also (if properly set up) and requery() on the parent should requery all too.
>>
>>While that works, it makes it impossible to revert those changes - a feature I need.
>
>Can you again define your case, please?
I have a form with a parent-child-grandparent relation. Only one parent record, as this is the edit result of a find operation. They can change between child records, and are prompted to save/cancel when switching records. All this works just fine.
There is a pageframe on the form, each page has its own parameterized view of grandchild records. I want to be able to switch pages and make changes on all pages without having to save/cancel changes when switching pages.
How can/should I do that?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement