Apache OpenOffice (AOO) Bugzilla – Issue 77119
RPT: using fields from two tables in one report does not work
Last modified: 2013-08-07 15:45:41 UTC
0. open a new database 1. create two tables with any fields 2. open the report designer and bind it to the 1st table 3. open the add field container and d&d some fields into the working area 4. open the property browser for the report on tabpage 'data' 5. choose as 'content' the 2nd table and insert some fields 6. execute the report -> error message => idea: after changing the table binding to the report, there should appear a warning and maybe a deletion or saving of the former content or open a new one
set keyword 'new_implementation'
The Report Designer iTeam decided that this is no show stopper for the first release, and no "should be fixed if possible at all". targeting to "not determined" for the moment.
Please take care for this. Thanks.
Hi, today there is no error messages when execute the report. So I target the issue to Office Later. Bye Marc
In m228 there is no error messages when execute the report.
@ dyf: Just tested it and yes the error message doesn't appear anymore. :-) But we should show an error message when the user has an field which is bound to a column from a different table and this column doesn't exists in the new selected table.
;)an field bound to a column? I just see that content type insclude Table,Query and SQL Command.
Created attachment 48500 [details] Report with a table from two tables
I attached a odb file which contains a report where I inserted two text fields and two label fields. So, I think that the best way to raise the warning message when the user changes the source of the report. In this case when you change the content of the report in the property browser from table2 to table1. In this case the column c doesn't exists in table1 and we should warn the user. The best place which I would prefer is that the controller already listen at the report property command. So ReportController.cxx propertyChanged would be good place to start.
I see:).
Reset assignee on issues not touched by assignee in more than 2000 days.