Adding Data Fields
Data fields are fields that will be filled with live data from the datasource when the report is run. While the template is being edited, ReportWeaver displays the field name in the cell where the data field appears. Data fields are treated differently when they appear in a table:
Table fields are data fields that come from a collection. They are placeholders for a whole column of data in the report. A table field is created automatically when a field of an object in a collection is added to the report. Table fields can only appear in a table template. When a table field is added to a frame, the table template is created for you. This happens with the table wizard.
Singular fields fields appear only once per report. They are created for fields that are reachable from the master object of the report without traversing a collection.
To add a data field:
The field will be added to the grid as shown below:
Important:ReportWeaver uses a grid to layout a template. Elements are not placed at the random location where they are dropped, but rather snap into place in the grid. Please take a minute to learn how ReportWeavers grid based layout works. Grid based layout speeds up report devlopment and allows the layout to adjust elegantly to changing contents.Grid Based Layout
Note: The grid is indicated by grey lines to make placement easier. If you want to view the template without the grid,select View/Toggle Grid from the menu.
You can easily add fields from nested or related objects. ReportWeaver will automatically create the required navigation path. E.g., to add the elements_length (which is in a related object accessed through the products member), simply open the branch labeled products in the fields tree of the structure pane. Then drag the elements_length field onto the template.
To modify the arrangement of cells using drag and drop please see the chapter on Grid Based Layout
|Adding Static Text Labels or Images||Contents||Adding Tables for Collections|