Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving a grandchild piece by piece.
Message
From
16/01/2009 13:09:03
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01373682
Message ID:
01374430
Views:
13
>>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?
>
>See if my comments on the following link help. My comments are at the bottom.
>
>http://fox.wikis.com/wc.dll?Wiki~GrandChildren~SoftwareEng

Yes, it's the same setup, and it wasn't completely confusing. ;)

Like you said, it would require one full grandchild view, but I see two possible ways to show what's on each page:
1) Present each page with a filtered view of the full grandchild(your solution), or
2) Present each page with a view of the full grandchild. This allows me to commit each page's view back to the full view, which can then be saved/discared/refreshed as a whole.

My question is, which is the better design (and why?), or is there another way?
Previous
Reply
Map
View

Click here to load this message in the networking platform