Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pulling data from a record number from a recordcout

Status
Not open for further replies.

DrDan1

Technical User
Oct 2, 2002
127
GB
Lets say I do a recordcout and it comes up with 50 records. It it possible to say in coldfusion that I want to see record 25 from that 50?

----------------------------------------
Knowing is not enough, we must apply. Willing is not enough, we must do.
--So said the ever wise Bruce Lee
Memorize and live by it!
 
<cfoutput>#QueryName.FieldName[ID_Here]#</cfoutput>

or

Code:
<cfoutput query="..." startrow="ID_Here" maxrows="1">
  #QueryName.FieldName#
</cfoutput>

This is the lazy way.. the first way is better.

ALFII.com
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top