Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at CFUNITED 2009 (Lansdowne, VA) with: Kim
Ben Nadel at CFUNITED 2009 (Lansdowne, VA) with: Kim

Miles

Member since Dec 11, 2008

Recent Blog Comments By Miles

  • Ask Ben: Converting A Query To A Struct

    Posted on Mar 11, 2008 at 7:33 PM

    What about <cfset myArray=ArrayNew(1)> <cfloop query="someQuery"> <cfset myStruct = StructNew()> <cfloop list="#columns#" index="i"> <cfset StructInsert(myStruct,i,Evaluate("someQuery.#i#"))> </cfloop> <cfset ArrayAppend(myArray,StructCopy(myStruct))&... read more »