Using Postgres backend.

We have two tables in a parent-child relationship.   On a form, we are
adding a new record to the parent and then adding child records without
first saving the parent record.   Upon saving (Form.saveAll) we were
expecting the following....the parent record would be saved and the pkid for
new record retrieved, then the child records would be updated with the
parent pkid as the foreign key and then saved.  

However, we are not seeing this.   It appears that the child fk value is
getting assigned an unexpected number that is absolutely not the pk of the
parent.

We have FillLinkFromParent = True and have set up the LinkField and
ParentLinkField attributes assigned properly and the pk's as NonUpdateable
on both tables.  The Pk's are serial (auto increment) fields.

We thought that this issue was resolved a few months ago.

Any suggestion or comments as to what may be amiss?

Thanks,
Larry Long

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.8.15/847 - Release Date: 06/12/2007
9:42 PM
 



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to