Spreadsheet Exports

For everything that's not in any way related to PureBasic. General chat etc...
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Spreadsheet Exports

Post by Foz »

Hummm... I've been taking the view that ActiveReports won't work unless it's a VB application.

So, I need to look at an alternative. Obviously srod's Artic Reports comes to mind here. Coupled with the free report viewer, that should take care of PDF exports (or lack thereof... I suppose that CutePDF could be installed in PDF is an absolute necessity.)

That leaves me with one niggle. Exporting to a spreadsheet format. Obviously this would be mostly tabular data with the report header and footer being different. oh, and formatting is required!

I'm thinking down the lines of using PureZIP and then generate the docx or ods format, however I have no experience in either format, so I would appreciate if people could recommend a format for learning.

Or perhaps I'm going about it the long hard way when there is a tool around to help me do this and I don't know about it yet! :)

I know of installing Excel and then using COM to write to Excel, however, I need to also run the exporters on a server, and that's something I'm not willing to install Excel on!

So... thoughts/ideas anyone?
Yogi Yang
Enthusiast
Enthusiast
Posts: 107
Joined: Sun Dec 11, 2005 2:19 pm

Re: Spreadsheet Exports

Post by Yogi Yang »

Foz wrote:Hummm... I've been taking the view that ActiveReports won't work unless it's a VB application.

So, I need to look at an alternative. Obviously srod's Artic Reports comes to mind here. Coupled with the free report viewer, that should take care of PDF exports (or lack thereof... I suppose that CutePDF could be installed in PDF is an absolute necessity.)
If you are looking for a free reporting tool that will also generate PDFs then do give Report Manager a close look. It is really a very good open source reporting tool.
Foz wrote:I know of installing Excel and then using COM to write to Excel, however, I need to also run the exporters on a server, and that's something I'm not willing to install Excel on!

So... thoughts/ideas anyone?
Instead of developing something from scratch I would suggest you to adopt a commercial solution. This a component which comes as a DLL version. Its name is FarPoint Spread. It is the best Spread sheet component that I have seen till date.

Previously we used to use VCI's FormulaOne and Impress but we have replaced these lately as VCI seems to have closed down :(.

If you want charting RMChart is the way to go!


HTH
--
Yogi Yang
ebs
Enthusiast
Enthusiast
Posts: 562
Joined: Fri Apr 25, 2003 11:08 pm

Re: Spreadsheet Exports

Post by ebs »

How about using the ExcelWriter library? http://www.purebasicpower.de/?ExcelWriter
User avatar
Michael Vogel
Addict
Addict
Posts: 2820
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Spreadsheet Exports

Post by Michael Vogel »

ebs wrote:How about using the ExcelWriter library? http://www.purebasicpower.de/?ExcelWriter
ExcelWriter seems to be a fine standalone solution :roll: -- but does anyone know how to get color into the spreadsheets? Would be fine to have red text or yellow background for cells :?
Post Reply