Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Behavior - New Child on New Parent
Message
From
09/07/2003 15:10:13
 
 
To
09/07/2003 14:21:43
Robert Jewett
Q Technology Consulting
Tyler, Texas, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00808305
Message ID:
00808646
Views:
14
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform