Hi, everyone.  Is there a way to loop through the columns--and not the
rows--of a query?  Let's say I have a query:

<cfquery name="GetData" dsn="mydsn">
   SELECT *
        FROM USERS
</cfquery>

..and I am too lazy to type out all of the many columns to output them to a
page.  Can I loop through the columns, first to display the column names and
second to display the values within those columns?

Basically, I want to loop through the query as I would loop through the Form
structure, for example, to output all current form variable values.

Thanks,
Matthieu
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to