Solved

How do I add the number of the record for query results?

Posted on 2010-11-08
1
199 Views
Last Modified: 2012-05-10
OK, so I am outputting the results of a query on screen.  there are 15 results, but I want to number them 1-15.  (They are ranked pictures...)

how to do this in cold fusion??
0
Comment
Question by:14_east
1 Comment
 
LVL 52

Accepted Solution

by:
_agx_ earned 250 total points
ID: 34086426
Use #currentRow#

<cfoutput query="yourQuery">
   This is query record number #currentRow#  <br>
</cfoutput>
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CFFILE upload help 98 156
Automate ColdFusion Internet Form with VBA from Access 10 49
Problem with data displaying 2 26
coldfusion cfloop help 6 31
Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now