Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at the New York ColdFusion User Group (Sep. 2009) with:

Shannon

Member since Apr 13, 2010

Recent Blog Comments By Shannon

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Apr 20, 2010 at 10:56 AM

    @Ben I found that not only do you have to figure out the order of the columns but if there are rows and the new columns don't have any data in them, coldfusion seems to have trouble referencing the new row locations and errors if you try to dump the query. Creating a column doesn't seem to guarantee... read more »

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Apr 19, 2010 at 12:37 PM

    I thought I would post the final outcome just in case someone else would like to do this in the future. Hopefully this isn't too much code for a comment... <!--- Convert query to struct ---> <cfloop from="1" to="#origQuery.recordcount#" index="i"> <cfset j = origQuery["index"][i] /... read more »

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Apr 16, 2010 at 4:29 PM

    @Ben Sweet thanks! I wonder if that 'setColumnNames' function will let me add new columns at the same time as I am altering them. I could grab the correct order with the underlying java, tack on the new columns, and go... potentially. Even if it doesn't let me add new columns, it will still do exact... read more »

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Apr 16, 2010 at 2:57 PM

    @Brad That is a great idea! I already have the column list prebuilt anyways so it would actually look cleaner than that even. Hopefully this works with CF 7 but I can't see why it wouldn't. Why doesn't that query realize the table doesn't exist in the FROM and choke?... read more »

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Apr 16, 2010 at 11:27 AM

    @Ben So the reason why I am going from a query to a struct is because I have 4 or 5 queries (depending on arguments passed into my function) that all contain an orderID and need to be blended together. All the queries except for the main one need to have their row data become column names. This bec... read more »

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Apr 13, 2010 at 12:47 PM

    So I have a similar, yet hopefully not too unrelated, question. This post was amazing and I pass arrays around by reference all the time now. I have a query that, in order to load it quickly on the page, I need to convert it to a struct, add some more information, then convert it back into a query... read more »