Skip navigation
Currently Being Moderated

QueryAddColumn

Jul 4, 2012 7:37 AM

 
Replies
  • Currently Being Moderated
    Jul 4, 2012 7:37 AM   in reply to Community Help

    The docs here state the third argument to this function is "array-name", being "Name of an array whose elements populate the new column".  it's not the name of an array (which would be a string, if anything), it's an actual array.  The array can be inline, or can be represented by a variable, or any other expression that returns an array; but you are not giving the function the name of the array (contrast with a  wherein it actually IS the name of the query, not the query itself).

     

    The docs are likewise obscure / incorrect for previous versions of CF also.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 4, 2012 7:38 AM   in reply to Adam Cameron.

    Make that the FOURTH argument.  The comment still stands though

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points