Sunday, June 05, 2005

Coldfusion Reference Query Row

I need to be able to reference a row in my queries output, how can I do that?

<cfset #NumberOfRows# = #A_Number#>
<cfquery name="myquery" datasource="mydbase">
Select field1, field2 From mytable
</cfquery>
<cfoutput> #myquery.field1[NumberOfRows]# </cfoutput>

0 Comments:

Post a Comment

<< Home