Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving a grandchild piece by piece.
Message
De
15/01/2009 13:41:43
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01373682
Message ID:
01374144
Vues:
21
>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform