• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1496
  • Last Modified:

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.
0
OggieOne
Asked:
OggieOne
  • 3
  • 2
1 Solution
 
Roger BaklundCommented:
You would normally use a .csv file as an intermediate step: Export to csv from database, and import the csv file into excel.
0
 
OggieOneAuthor Commented:
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.
0
 
Roger BaklundCommented:
I'm not a java expert, but there should be plenty of libraries available.  

http://poi.apache.org/
http://j-integra.intrinsyc.com/support/com/doc/excel_example.html
http://www.activexls.com/
0
 
OggieOneAuthor Commented:
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.
0
 
OggieOneAuthor Commented:
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!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now