Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
kljkhkjhkjh #1
CFLOOP/CURRENTROW
I have a LOOP that runs over a query and I use CURRENTROW so that I can then
use MOD on it so I can utilize repeating ARRAY data to change the color on a
table.. All is well. but now I find I have to create a CFLOOP that does not
have a query but a TO and a FROM (form variables for a date range).. Is there
any way to dig into the CFLOOP to find out what record it's on , so first loop
would be 1, second loop would be 2 etc Thanks Mark
kljkhkjhkjh Guest
-
CurrentRow problem in a random question list
Hi: I found a free source code of a coldfusion app and it works very fine and shows a list of random questions form a database but the prblem is it... -
Help PLEASEEEEEE With CurrentRow Issue
I would like to display 6 records in row then go to the next row. I would like to do this without using a table. I would also like to me able to... -
PLEASE I Need Help with CurrentRow Issue
I would like to display 6 records in row then go to the next row. I would like to do this without using a table. I would also like to me able to... -
CurrentRow Problem
I would like to display 6 records in row then go to the next row. I would like to do this without using a table. I would also like to me able to... -
CurrentRow
In the tutorial the author says: The CurrentRow variable is one of a few variables that ColdFusion automatically exposes that provide information... -
Adam Cameron #2
Re: CFLOOP/CURRENTROW
In a <cfloop>, when you've got a FROM and a TO, you're also supposed to
specify an INDEX. I didn't actually know it was possible to NOT specify
the index parameter (and neither did the docs, it seems...):
[url]http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p77.htm#wp1101087[/url]
--
Adam
Adam Cameron Guest
-
Supra LTD #3
Re: CFLOOP/CURRENTROW
You can also do this:
<cfset row = 0>
<cfloop from="1" to="100">
<cfset row = row+1>
#row#
</cfloop>
Supra LTD Guest



Reply With Quote

