To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=59846 Issue #:|59846 Summary:|New record in a subform is not linked to the form |record (as Access does) Component:|Database access Version:|OOo 2.0.1 Platform:|All URL:| OS/Version:|All Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|none Assigned to:|dbaneedsconfirm Reported by:|gissi
------- Additional comments from [EMAIL PROTECTED] Wed Dec 28 05:14:26 -0800 2005 ------- Please, follow with the included example test2.odb 1) Create a new db (internal db engine) 2) Create two tables (book, writer) as in the included example test2.odb 3) Create the 1:n relation: writerId -> bookWriter 4) Create a form and its subform with the wizard (fWriter) The connected fields are writer.writerId (master), book.bookWriter (slave) 5) Enter a new book record in the subform for the record writerId=1 (Giovanni Pascoli) The foreign key "book.bookWriter" does not default to writer.writerId=1, it defaults to 0. So the subform creates a new record that is not connected with the record displayed in the form. In MSAccess the foreign key defaults to the connected value from the form. I humbly think this would be the right choice. Or, did I lose something? (Thanks for OO.o 2, it's my daily tool!) --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]