Hi -
I could really use some help getting at a query result in round about ways.
Someone suggested to me that I could use array syntax to do this. Something
along the line of:
<cfquery name="foo" ...></cfquery>
<cfoutput query="foo">
#foo[1]#
</cfoutput>
This doesn't work (just an example of what I'm hoping CF supports if the
syntax is right). Is there any way to this? That is, address the data in
foo without using any of the contents of columnlist?
What's causing the problem is a DB2 stored procedure that is returning
numbers for the column names. i.e. the column list is 1,2,3,4. The
variable foo.1 is illegal in ColdFusion. It appears I can invoke the
procedure just fine, I just can't get at any of the returned data!
Thanks,
Brian
______________________________________________________________________
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists