<cfset alphaKeys = listSort(structKeyList(struct),"textnocase")>

<cfloop index="key" list="#alphaKeys#">
        <cfoutput>
        s.#key# = #s[key]#<p>
        </cfoutput>
</cfloop>

Warning - assumes s[key] is simple.

========================================================================
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email    : [EMAIL PROTECTED]
Blog     : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Marc Straka [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 17, 2003 11:51 AM
> To: Spectra-Talk
> Subject: Alphatbetized structure display
> 
> 
> With CF MX and Spectra 1.5.2, most of the time when 
> structures are displayed either in the Webtop or using a 
> CFA_DUMP, the properties are not alphabetized as they are in 
> our CF 4.5.1/ Spectra 1.5.1 environment. Anyone know of a 
> nifty fix for this? I am a fan of alphabetized data.
> 
> =====================
> Marc Straka
> Web Applications Engineer
> Nolo
> (510) 704-2226
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                        
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to