Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
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

Product type Book
Published in Jul 2010
Publisher Packt
ISBN-13 9781849511667
Pages 360 pages
Edition 1st Edition
Languages
Author (1):
John Ward John Ward
Profile icon John Ward
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 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

Flat file data adapter


The next type of Data Source we will look at is the Flat File data adapter. The flat file data adapter is pretty much exactly like one would expect—it is an adapter that provides connections to flat data files such as comma separated text files and other delimited text file types. A limitation with this adapter is that there is no way to explicitly use a particular type of delimiter. We are stuck with commas, pipes, tabs, and spaces. This should cover most of the kinds of flat files we will come across.

In the following exercise, we will cover creating a connection to a flat text file that contains employee pay information. The format of the text file is fairly simple. The file will be a comma separated text file, with the fields displayed in the following format: First Name | Last Name | Payment Date | Payment Amount

An example of the file could be shown as follows:

John,Ward,1/2/2007,500
Data Source, BIRTflat file data adapterJohn,Ward,1/3/2007,600
John,Ward...
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 ₹800/month. Cancel anytime