I was handed a poorly designed to integrate into an app. The record set
is fairly huge.

I need to access the db using a dynamic query where the select column
statement is populated by a form.

<CFQUERY NAME="cc" DATASOURCE="#request.mainDSN#">
SELECT      #form.material#, 
FROM        cc, compat
where chemicalID = #chemicalID#
</CFQUERY>

My question is how do I reference the column name for output if I don't
know the column name on the processing page?  I know ive seen something
about this somewhere.

Emmet
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to