There are a raft of reports that an online application can produce, all
currently output as HTML. We're toying with the idea of outputting them also
as .pdfs (for greater control over formatting and printer-friendliness), but
are also aware that some people would like to be able to manipulate the data
in Excel.

There doesn't seem to be any easy way of getting from one format to the
other without having to open applications, cutting and pasting, formatting,
etc, and this all needs to be done programmatically on the server.

Is the best way of handling this to have a template that just grids the
numbers, stores the resultant data as a large structure and WDDX it into a
database. Then, when a user wants to create a report, depending on the
output format specified, a routine could be called to take the data and
write the files as required.

Does that sound like the best way of doing it? I know it means keeping
several different routines up to date if the report format changes, but is
there any other option?


Thanks

-- 
Aidan Whitehall <[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to