I need to export a MS Access database table to MS excel spreadsheet in my java program. I read something about JExcelAPI. Is that the only way of doing it or i have some other options? Please help. Thanks
You should be able to read the data in the Access table (into memory) using JDBC. Once you have the data in memory you can could write it to Excel format using the Apache POI library: http://poi.apache.org/
Hi How large is your data? if its say >45k records,i suggest using JExcel to POI. Its more stable. Also,JExcel provides lot of inbuil functions like opening and writing to another sheet if th upper limit of number of rows in a sheet is reached. All the best.
Jhakda
If I become filthy rich, I'll sponsor research for painless dental treatment at Harvard Medical School. Thats why,I'm learning Java.I have 32 teeth, 22 are man made.
Attractive, successful people love this tiny ad:
a bit of art, as a gift, the permaculture playing cards