queryname.fieldname[#]
So, if your query is named "mystuff" and the field is "myfield", you get to
row 3 with:
mystuff.myfield[3] or in your case mystuff.myfield[thisRecord]
-----Original Message-----
From: Geoff Hoffman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 4:36 PM
To: CF-Talk
Subject: Newbie question
I want to use CFLOOP such as
<CFLOOP INDEX="thisRecord" FROM="1" TO="#myquery.recordCount#">
instead of CFOUTPUT QUERY= to display a series of returned records.
How do you use the value stored in thisRecord (the incrementing number)
to access the correct record? I have it looping the right number
of times, but I can only output the first record over and over.
TIA,
[EMAIL PROTECTED]
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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