QueryAddColumn (query, column-name, array-name) 


Inserts a column in a query and populates its rows with the contents of a one-dimensional array. If necessary, ensures that all columns have the same number of rows.


 <cfset exampleCar = ArrayNew(1)>  <cfset exampleCar [1] = "Ford">  <cfset exampleCar [2] = "GM">  <cfset exampleCar [3] = "Chevrolet">  <cfset exampleCar [4] = "Toyota">  <cfset exampleColumn = QueryAddColumn(myQuery, "CarBrand", exampleCar)>  

Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net