To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=106543 Issue #|106543 Summary|Default field values not shown in subform with Table C |ontrol Component|Database access Version|OOO310m19 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|none Assigned to|dbaneedsconfirm Reported by|eremmel
------- Additional comments from [email protected] Mon Nov 2 10:34:15 +0000 2009 ------- Default field value(s) not shown in empty subform with Table Control when the previous record value was not initialized in the sub form of the previous main-record record. The following test description based on the sample database might make things more clear. The sub form has two fields with form-based default values (one text and one ListBox), both containing the phrase 'default'. When you open the form 'MainSubwithTableControl_Failing' and walk along the records of the main form look to the default values in the sub form of those main form records that have any record in the sub form. Some times the default values are displayed and sometimes not. Please follow the following sequence of steps through the main table step with the next-record indicator and note the comments. Main table | Sub form | Comment #Record 1 | not empty | default values at insert position are not shown because record position is not at insert position. 2 | empty | Default values are shown because records position indicator is at insert position. 3 | not empty | see #1 4 | empty | see #2 5 | empty | Default values are not shown !!! 6 | empty | see #5 7 | not empty | See #1 8 | empty | See #2 9 insert | N.A. | Do not enter any data. Sub form is empty because | main form is in insert mode 8 | empty | See #5 The conclusion is that default values are not shown on an empty subform when the previous data set on the subform is also empty or missing due to insert mode at main form. This does not apply for a non table control based sub form: check with form 'MainSubwithSingleRecord_OK' --------------------------------------------------------------------- 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]
