-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kevin,

You can do something like this...

<cfquery name="qGetSomething" datasource="#dsn#">
        SELECT bean
        FROM table1
</cfquery>

<cfloop from="1" to"#qGetSomething.Recordcount#" index="i">
        <cfoutput>
                #qGetSomething.bean[i]#
        </cfoutput>
</cfloop>


Aaron Johnson, MCSE, MCP+I
MINDSEYE, Inc.
<phn>617.350.0339
<fax>617.350.8884
<icq>66172567
[EMAIL PROTECTED]

___________________________________________
"Never forget that only dead fish swim with 
the stream." -- Malcolm Muggeridge
___________________________________________

- -----Original Message-----
From: Kevin Willyerd [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 5:17 PM
To: CF-Talk
Subject: queries vs arrays


In Ben Fortas he says "ColdFusion queries are essentially arrays with
named collumns. You may therefore use any of the array functions with
queries"  Does this mean ther is a way to address queries in the form
Query [row] [collumname]? I have tried and can not get it to work.

Kevin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to