Seems like everytime I try to do this, I muck the syntax or can't quite find
the exact documentation. How do you treat a query as a structure:

<cfquery ... name="test">
        SELECT field1, field2 FROM myTable WHERE 0 = 0
</cfquery>

<!--- these all return false --->
<cfoutput>
        #isStruct(test)#<br>
        #isArray(test)#<br>
        
        <br><br>
        
        #isStruct(test['field1'])#<br>
        #isArray(test['field1'])#<br>
</cfoutput>

Help much appreciated.

Adam.

______________________________________________________________________
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