SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 120 | Next

John Ward

"Practical Data Analysis and Reporting with BIRT"


14. "Drag and Drop" the dsEmployeeList either from the Data Explorer or from
the Outline.
Report Parameters
[ 128 ]
15. Preview the Report.
Now, when you bring up the Show Report Parameters Dialog, you can see that you
have a drop-down list with all the possible jobs for the employees. When you select
one and hit OK, it will filter down to employees with that job.
The example just explained used a database Data Set instead of one of the static
ones. In case of a database, you usually want to use a Data Set Parameter instead of
a Filter. Using a "where" clause and a Data Set Parameter will always outperform a
Filter, as the data is being filtered on the end of the DBMS. The DBMS is much more
efficient at filtering data than BIRT would be. If you pulled a large Data Set, BIRT
would have to retrieve that entire Data Set and apply the filter to it, wasting network
bandwidth and processing time. Filters are useful in cases where you don't have a
database to work with, such as a text file Data Source, or XML Data Source. In those
cases, there is no DBMS to process a "where" clause and you have no choice but to
use a Filter. However, in either case, we have seen how the user can influence the
data that gets returned, as the last example will apply to the scripted Data Source,
the flat file Data Source, and the XML Data Source.


Pages:
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6