Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Behavior - New Child on New Parent
Message
De
09/07/2003 15:10:13
 
 
À
09/07/2003 14:21:43
Robert Jewett
Q Technology Consulting
Tyler, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00808305
Message ID:
00808646
Vues:
13
>Jason:
>
>This appears to be on the right track! I traced the code from the new, and sure enough a record IS added to the child table. However, the parent ID is never propogated to the child, and the requery sure enough does a table revert, eliminating the new record. Since this is obviously not the way things are intended to work (at least from my read on the docs), I am wondering if I missed a step somewhere, or this is a known bug?

Just because New Child on New Parent is checked, it won't automagically insert the ParentID in the child table, that's still your responsibility.
Of course, you then have to save it before the Requery() to be sure it survives.

Chris.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform