Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving a grandchild piece by piece.
Message
 
 
To
15/01/2009 13:41:43
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:
01374150
Views:
17
>>>>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?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform