Jump to content
Changes to the Jaspersoft community edition download ×

how to generate ireport from csv file


2005 IR Help

Recommended Posts

By: ksm - siromani

how to generate ireport from csv file

2005-06-24 02:31

hi

i am using ireports 0.4.0 for generating reports.upto now i used oracle data base. but now i need to generate report from csv file(text). i created file csv data source.but when i select the csv file in report query menu i am getting problem.when i click on read atribute button i am getting class not found exception.

so where i need to put the csv file.please tell me the detail procedure for generate report .

please any one elp me .its very urgent

thanks & regards

ksm

 

 

 

 

 

 

By: alanHardwick - alan314

RE: how to generate ireport from csv file

2005-06-24 05:49

In the documentation that comes with iReport there is an example how to do this..

Basically you need your jrCSVDataSource as per the example...

Also a method in your DSFactory.. e.g.

public net.sf.jasperreports.engine.JRDataSource getTheCSVDatasource( )

{

return new JRCSVDataSource("test.csv");

}

You will need to create the fields in iReport manually

(i.e. COLUMN_1, COLUMN_2, COLUMN_3 etc...)

etc...

 

 

 

 

By: ksm - siromani

RE: how to generate ireport from csv file

2005-06-24 06:05

thank u alanHardwick

i saw that example but i didn't get any clear idea.

i used file csvdata source not custom datasource.

is there any example for this.

please help i need urgently.

thanks & regards

ksm

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...