Solved

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

Posted on 2010-11-08
1
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem with data displaying 2 30
Fixing Old Legacy Code 1 52
trying to resize an Image, using CFimage tag. 8 69
Application.cfm not found issue 2 65
The technique is by far very Simple! How we can export the ColdFusion query results to DOC file?  Well before writing this I researched a lot in Internet but did not found a good Answer anyways!  So i thought now i should share my small snippet w…
I spent nearly three days trying to figure out how incorporate OAuth in Coldfusion for the Eventful API. Hopefully, this article will allow Coldfusion Programmers to buzz through the API when they need to. Basically, what this script does is authori…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

751 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