Once you've configured your DataFactory
implementation, it is important to know how to access this data within a report. As mentioned in the previous chapter, elements that contain the field name property access row data via the column headers provided by the data source. In addition to accessing the fields directly, you may also access this data in functions and formulas.
Functions in Pentaho Reporting will contain a property named "Field" or "Fields" that allow you to select a list of fields from the defined data source. To reference a field in a formula, you will need to place brackets around the field name. An example reference to a field name in a formula might be "[Library Description]".
When using a DataFactory
that isn't supported directly in the Report Designer such as the Hibernate HQLDataFactory
, you will need to manually type in the name of the fields into the Report Designer. Another issue with using non-supported DataFactory
classes in the Report...