Hi all,

How would I call a specific row in a query.

example of what I want to do:

<cfquery name="myQuery" Datasource="#DSN#">
    SELECT myField1, myField2
    FROM myTable
</cfquery>

<cfoutput>

I want to display the 3rd record in my query<br>
I assume I would do something like this<br>
#myQuery.myField1[3]#<br>

</cfoutput>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to