cfquery returns information as a structure so if you want to exact data you can use queryname.columnname so in this case for example #at.username# would return whatever the first row of the query is.
You can use cfdump to view what the query is returning by doing cfdump(#at#).
Line 6 errors because cfquery does not return a list, it is a structure.
If you want to loop the query:
<cfloop query="at">
<cfoutput>#at.lastName#, #at.firstName# </cfoutput>
</cfloop>
OR
<cfoutput query="at">
#at.lastName#, #at.firstName#
</cfoutput>
lastName and firstName would be my guess of column names since you used *
Let me know if this helps, you really dont need to convert this to an array unless there is more behind the question.
cfwebdeveloper
Junior Poster in Training
78 posts since May 2011
Reputation Points: 19
Solved Threads: 8
No problem, just mark this thread as solved. :D
cfwebdeveloper
Junior Poster in Training
78 posts since May 2011
Reputation Points: 19
Solved Threads: 8