Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
BIRT 2.6 Data Analysis and Reporting

You're reading from   BIRT 2.6 Data Analysis and Reporting Create, Design, Format, and Deploy Reports with the world's most popular Eclipse-based Business Intelligence and Reporting Tool

Arrow left icon
Product type Paperback
Published in Jul 2010
Publisher Packt
ISBN-13 9781849511667
Length 360 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
John Ward John Ward
Author Profile Icon John Ward
John Ward
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

BIRT 2.6 Data Analysis and Reporting
Credits
About the Author
About the Reviewers
1. Preface
1. Getting Started FREE CHAPTER 2. Installing BIRT 3. The BIRT Environment and First Report 4. Visual Report Items 5. Working with Data 6. Report Parameters 7. Report Projects and Libraries 8. Charts, Hyperlinks, and Drilldowns 9. Scripting and Event Handling 10. Deployment

Multiselecting parameters and binding them to a dataset through Property Binding


As we have discussed Expressions, now would be a good time to discuss Proeprty Binding. Property Binding is a mechanism in data sources and datasets that allows us to override values at run time through scripting. For example, let's say we need to change the value of a data source to point to a production database in a runtime environment, but want it to point to a development database while we are designing the report. Property Binding could be one way to accomplish this. We could set a report parameter, or a system environment variable, and using Property Binding, can change the JDBC URL on the fly. Property Binding will replace the value at runtime.

In the following example, we are going to look at using Property Binding to change a dataset's SQL query to use a multiselect parameter, to allow a report user to select multiple customers from a database and see their orders:

  1. 1. Create a new report called multiSelect...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime