Skip to main content
Inspiring
June 21, 2007
Answered

CFRETURN with two Arrays

  • June 21, 2007
  • 1 reply
  • 345 views
Trying to CFRETURN two separate Array structures, but the documentation isn't clear on how to do this.

Any help would be great.
Thanks.
-Christopher Keeler
    This topic has been closed for replies.
    Correct answer cf_dev2
    You can only return one object. Put them in a structure

    <cfset results.ix = ix>
    <cfset results.ex = ex>
    <cfreturn results>

    1 reply

    cf_dev2Correct answer
    Inspiring
    June 21, 2007
    You can only return one object. Put them in a structure

    <cfset results.ix = ix>
    <cfset results.ex = ex>
    <cfreturn results>