Solved

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

Posted on 2010-11-08
1
196 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
iPhone looses session info 5 21
On Submit return to same spot 7 85
Trying to deCrypt CSV file using coldfusion 29 140
Coldfusion reading Excel file translates ñ into n 4 62
This article  is about submitting  form through  ColdFusion.Ajax.submitForm to the action page and send a response back in JSON format which later can be decoded using ColdFusion.JSON.decode. By this way you can avoid the usual page refresh for subm…
Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 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

22 Experts available now in Live!

Get 1:1 Help Now