2006 IR Open Dicussion Posted August 26, 2006 Share Posted August 26, 2006 By: mbarreiros - mbarreiros Dynamic Report using multiple data 2006-02-14 05:56 I need to create a report where the number of columns is dynamic. My situation is that i have a CSV file in entry that contains the informations to be printed in the report. And, I have the description of this file (Column header) in a table (SQL Request). I have different files in entry, with different numbers of columns to be printed. Exemple : For the file "users.csv" i need to print 3 columns (Name - Phone Number - E-Mail) For the file "computer.csv" i need to print 5 columns (Name - IPAddress - OS - Server(Y/N) - USER) And .... To simplify the developpments, i want to use the same Jasper Report for existing and futur files. Sorry for my bad english. Thank, Michel By: jasperkan - jasperkannan RE: Dynamic Report using multiple data 2006-02-14 10:44 use the PrintWhen expression so based on the field that changes u can show/hide it . eg printWhenExpression><![CDATA[new Boolean($P{REPORT_FOR}.equals("BILLING"))]]></printWhenExpression> By: mbarreiros - mbarreiros RE: Dynamic Report using multiple data 2006-02-15 00:45 Thanks. I try this and tell you if it works for what i'm trying to make. Michel. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now