<cfloop from='#queryName.recordCount#' to='1' index='i' step='-1'>
#queryname.columnname[i]#
</cfloop>

should work
On 11/15/07, Tom King <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> Is there a way of outputting a Query in cfoutput in reverse without
> creating another query, or adding rows to the query, and with no
> numerical index?
>
> I have a "manual" query object created, with galleryId, and
> galleryName, but GalleryID is not a sequential number sequence nor
> alphabetical, so ORDER BY galleryID doesn't have the correct effect;
>
> ie. values might be:
>
> ID                                      Name
> 2007_foo                        Foobar
> 2007_abc                        FooFoo
>
> Obviously, when I CFDUMP the query, you get CF's ID in the column,
> and outputting QueryName.currentrow will give you a sequential
> numerical list, but I want CF to output that Query in reverse!
>
> Any ideas?
>
> Thanks
> T
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293389
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to