Difference between revisions of "Preview an iReport Template in IMSMA"

From IMSMA Wiki
Jump to: navigation, search
Line 3: Line 3:
 
{{note|The report "Statistics - Victims by Month and Accident Type" cannot be previewed. The reason is that it uses a SQL Field as a variable, i.e. there is a SQL query behind that variable. When doing preview the report is not executed, and the database is not accessed – hence the SQL field cannot be interpreted.}}
 
{{note|The report "Statistics - Victims by Month and Accident Type" cannot be previewed. The reason is that it uses a SQL Field as a variable, i.e. there is a SQL query behind that variable. When doing preview the report is not executed, and the database is not accessed – hence the SQL field cannot be interpreted.}}
  
To preview a report template:
 
 
<ol>
 
<ol>
<li>From the '''Customisation''' menu, select the '''Report Template Manager'''.</li>
+
<li>In the '''Customisation''' menu &rarr; '''Report Template Manager'''.</li>
The Report Template Manager window displays.
+
[[Image:ReportTemplatesWindow.png|500px|center]]
<li>From the Report Template Manager window, select the row associated with the report template that you would like to preview.</li>
+
<li>Select the row associated with the report template that you would like to preview.</li>
 
<li>Click the [[Image:ViewIcon.png]] button.</li>  
 
<li>Click the [[Image:ViewIcon.png]] button.</li>  
:The Report window displays the selected report template.  
+
[[Image:iReport preview.png|600px|center]]
 +
 
 +
 
 
</ol>
 
</ol>
  
 
{{NavBox HowTo Produce Reports}}
 
{{NavBox HowTo Produce Reports}}
 
[[Category:VIE]]
 
[[Category:VIE]]

Revision as of 20:22, 14 June 2017

Note.jpg Note that the preview feature only displays the attribute names and format of the report template. No data is displayed for the preview.
Note.jpg The report "Statistics - Victims by Month and Accident Type" cannot be previewed. The reason is that it uses a SQL Field as a variable, i.e. there is a SQL query behind that variable. When doing preview the report is not executed, and the database is not accessed – hence the SQL field cannot be interpreted.
  1. In the Customisation menu → Report Template Manager.
  2. ReportTemplatesWindow.png
  3. Select the row associated with the report template that you would like to preview.
  4. Click the ViewIcon.png button.
  5. IReport preview.png