13.07.2015 Views

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>iReport</strong> <strong>Ultimate</strong> <strong>Guide</strong>4. In the dataset run section, select the dataset we have created.5. Click the Connection/Datasource Expression tab and select the Use connection expression.In this example, we will use the same database connection that is used by the report. Selecting Use connectionexpression causes the expression to be set automatically to that connection ($P{REPORT_CONNECTION}). If you want touse a different connection type, you can refer to Chapter 10 where specifying a connection or data source using anexpression is explained in depth.6. In order to allow the expression context to update the fields, parameters, and values, after the dataset run configurationyou should close the dialog to force an update with your changes, then reopen it. You should now be able to edit thesubdataset fields (see Figure 15-10).Figure 15-10 Expression editor showing the subdataset fields7. Set the chart dataset expressions (the expressions used to fill the chart) as shown in Figure 15-11.304

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!