Link to home
Start Free TrialLog in
Avatar of OggieOne
OggieOne

asked on

Create an XLS file from raw data

Hi, I was wondering how to convert raw data (from a database [derby database]) to a spreadsheet (xls).

Thanks.
Avatar of Roger Baklund
Roger Baklund
Flag of Norway image

You would normally use a .csv file as an intermediate step: Export to csv from database, and import the csv file into excel.
Avatar of OggieOne
OggieOne

ASKER

Is there a way to do the 2 step process programmatically? What I want to do is have an xls file created on the user's machine. My program is a java web app running on the localhost. So I don't want my users to have to open up Excel and have to import anything.

Thoughts?
Thanks,
D.
ASKER CERTIFIED SOLUTION
Avatar of Roger Baklund
Roger Baklund
Flag of Norway image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the push in the right direction. After a bit of review the http://poi.apache.org/ is my choice and I am already creating a spreadsheet from java. In opens in OpenOffice so I am pleased as punch!

Thanks!
D.
Not sure that the questions for completing the solution are relevent for this question. The person who answered pushed me in the right direction and that is all that was needed. Thanks!