When I run the code below, the keys are outputted in alphabetic order, not
the order that they are in the structure (which is of course what I am
after).

Can someone point me in the right direction ... *please*?

And while we're at it ... is there a way I can output the name of the
structure without using <CFSET stSwatch.name="#qGetDetails.name#"> or
another <CFLOOP>?

THANKS

<CFLOOP QUERY="qGetDetails">
        <CFSET Swatch="#qGetDetails.name#">
        <CFSET stSwatch=StructNew()>
        <CFSET stSwatch.name="#qGetDetails.name#">
        <CFSET stSwatch.family="#qGetDetails.family#">
        <CFSET stSwatch.style="#qGetDetails.style#">
        <CFSET stSwatch.width="#qGetDetails.width#">
        <CFSET stSwatch.linYd="#qGetDetails.linYd#">
        <CFSET stSwatch.sqYd="#qGetDetails.sqYd#">
        <CFSET stSwatch.content="#qGetDetails.content#">
        <CFSET stSwatch.stretch="#qGetDetails.stretch#">
        <CFSET stSwatch.increment="#qGetDetails.increment#">
</CFLOOP>

<CFLOOP COLLECTION="#stSwatch#" ITEM="key">
        <CFOUTPUT>
                #key#: <BR>
        </CFOUTPUT>
</CFLOOP>

--------------------------
Tim Bahlke, CIFO
Graphica
www.thinkcreate.com
p.336.230.0575
f. 336.230.0083



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

Reply via email to