johnf wrote:
> On Monday 19 March 2007 20:10, Paul McNett wrote:
>> dabo Commit
>> Revision 2937
>> Date: 2007-03-19 20:10:49 -0700 (Mon, 19 Mar 2007)
>> Author: Paul
>> Trac: http://svn.dabodev.com/trac/dabo/changeset/2937
>>
>> Changed:
>> U   trunk/dabo/biz/test/test_dBizobj.py
>> U   trunk/dabo/db/dCursorMixin.py
>> U   trunk/dabo/db/test/test_dCursorMixin.py
>>
>> Log:
>> Fixed dCursorMixin to not take into account brand-new records in
>> isChanged(). A brand-new record is one that has just its initial values,
>> including those gotten from DefaultValues.
>>
>> Please test and let me know if this is correct. Honestly, it still feels
>> somewhat odd to me, but I'll get over it. :)
> 
> Ok I was able to test and it works.  But when I do add text to the dEditBox 
> and when the record is saved, the record does not have the foreign key saved. 
>  
> Shouldn't the foreign key automaticly populate?  If not where do I update the 
> foreign key data?

Do you have your child bizobj's FillLinkFromParent set to True, and 
ParentLinkField set to the parent's PK?



-- 
pkm ~ http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to