Ask Your Question

Base report problem [closed]

asked 2014-12-20 17:45:33 +0100

music_junkie gravatar image

Is there a way to either update a report once the query is changed or to use an existing report to create a template?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-03-07 02:43:37.711118

1 Answer

Sort by » oldest newest most voted

answered 2014-12-21 04:52:39 +0100

frofa gravatar image

updated 2014-12-22 23:21:24 +0100


The basics....

  1. Open your report in editing-mode.

  2. Make sure you have a pane at the right with information about the currently selected object. If you don't have this pane, click the "View" entry in the Report Designer menu, and click on "Properties" to turn on the Properties pane.

  3. Click on the gray field outside the report field. To be sure you are in the right place, click on the General tab, and be sure that the properties you're looking at are for the object named "Report". If you are, switch back to the "Data" tab.

  4. The value of "content type" is probably SQL-command (but it might be a “query”) and the corresponding value in "content" would be an SQL-command (but it might be the name of an existing query in your database). Change the "content type" to query or table, whichever is your type of source.

  5. In "content" select your query or table and click on a random part of your report.

  6. Save the changes you have made.

  7. The report will now reflect changes you make, but, note, if you add a field to your table or query you still have to add it to the report 'manually'.

Some fine tuning...

  1. If the data source ffield/column names have changed from the names in the original data source used in your report, you might need to 're-connect' each individual report-template text box to the appropriate field/column name. For example if you have a field called 'last_name', and in the 'new' query (in your updated data source) the field is called 'lastname', you will need to 're-connect' the field by using the properties of the container text box.

  2. To do this, click on the field (above), and then click on the data tab in the properties pane (on right side), then choose the correct field name from the data field drop down menu.

  3. If the expected data for specific fields do not appear in the final report, you might additionally need to re-connect these specific report field text-boxes to their correct data-fields (even if their names do not change). This is because switching the report data source (as in steps 4 & 5 above) does sometimes 'disconnect' text-box fields in the report document from the underlying data column.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-12-20 17:45:33 +0100

Seen: 1,077 times

Last updated: Dec 22 '14