![]() |
![]() |
![]() |
This package can be used with iReports report designer, following is a description of how to do so.
The class RecordDataSourceProvider implements JRDataSourceProvider ands acts as the interface between iReports and the RecordDataSource (file based data source for a report).
Steps:
Note: The class name is net.sf.RecordEditor.Jasper.RecordDataSourceProvider
First you need to create a report, then
Follow is the description of the fields on the screen:
Field | Description |
System | The Record Layouts can be grouped into different systems. This Combo Box is used to select a specific System. |
Record Layout | The Record Layout used to format the file. Only layouts belonging to the selected System (above) are displayed. Note: A Record Layout describes the format of a file, each layout consists of either
|
Define fields as numeric | If this check box is ticked, fields defined as numeric in the RecordEditor DB will be defined as numeric in the Report (otherwise they are defined as String which is faster). If performance is an issue, unselect this option and define only those fields that need to be numeric as numeric. |
Report Record | When a file consists of more than one record, you would use this combo box to select which record should be used in the report. i.e. If file consists of
You could choose Store if this is a store level report.
Note: The last record of every record type is available via [record name].[Field Name]
|
Record | In this List box you select the records that contain fields you want to use in the report. Only fields from the selected Records will be returned to iReports. |
Designing a file based in iReports:
To run the report:
![]() |
![]() |
![]() |