A very nice, tag, but I had a few issues with it.

I moved the first cfset of TheColumnList to be after the Attributes.Header
check, and set the former to the latter. This means the order of the
outputted columns is the same as the order specified in the headers
argument, and also means that the columns dont get the wrong titles when the
header agrument was used.
This meant changing the tests for the correct number of columns listed.

I also added a feature so that if the query has blank items, the row is
padded (line 153) is extra <td>'s to make it up to the same number of boxes.

Regards,

Thomas Chiverton,
Intranet Architect and Desktop Analyst
Office: 01565 757 909
As a GUI, reality in useless...
 <<Query2Excel.cfm>> 
 <<Query2Excel.cfm>> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to