Sorry for that stupid piece of code I just posted a few minutes ago. Trying
to type too fast and answers phones and talk to others all at the same time.
Here is a better illustration of what I want:
<cfquery name="qry" datasource="test">
Select * from table
</cfquery>
<cfoutput query="qry">
#qry.column[1]#
</cfoutput>
Thanks
-----Original Message-----
From: Steve Milburn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 02, 2005 1:56 PM
To: CF-Talk
Subject: Query column index number
Hi folks.
How can I refer to a column in my query by it's position in the query, or an
index number, rather than the name of the column? For example
<cfquery name="qry" datasource="test">
#qry.column[1]#
</cfquery>
Or something similar to this.
Thanks in advance.
---
---
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222941
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54