Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at BFusion / BFLEX 2009 (Bloomington, Indiana) with: Dee Sadler
Ben Nadel at BFusion / BFLEX 2009 (Bloomington, Indiana) with: Dee Sadler@DeeSadler )

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 »