You can turn the result set into a list and then do a list sort and sort it
alphabetically like so:

ListSort(valuelist(get_PH.hier_num, "",""), "TextNoCase", "ASC", ",")

or this (will probably run faster)

ListSort(valuelist(get_PH.hier_num, "",""), "Text", "ASC", ",")


And then loop over the list for your drop down.

G



On Thu, Apr 3, 2008 at 5:31 PM, Paul Ihrig <[EMAIL PROTECTED]> wrote:

> Gerald
> they are nums in a num field
> they sort correctly if i wanted them sorted like a number.
> but powers that be want them sorted in a was to show hierarchy..
>
> nm... i will tell them we can recreat the table with the order they
> want by hand...
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302666
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