QueryAddColumn
Method Signature
QueryAddColumn(query=[query], columnName=[string], datatype=[any], array=[array])Arguments
Argument
Type
Required
Description
Default
Examples
Tag Example
<!--- Make a query. --->
<bx:set myQuery = queryNew( "" ) >
<!--- Create an array. --->
<bx:set FastFoodArray = arrayNew( 1 ) >
<bx:set FastFoodArray[ 1 ] = "French Fries" >
<bx:set FastFoodArray[ 2 ] = "Hot Dogs" >
<bx:set FastFoodArray[ 3 ] = "Fried Clams" >
<bx:set FastFoodArray[ 4 ] = "Thick Shakes" >
<!--- Use the array to add a column to the query. --->
<bx:set nColumnNumber = queryAddColumn( myQuery, "FastFood", "VarChar", FastFoodArray ) >
<bx:dump var="#myQuery#"/> member syntax example
Additional Examples
Related
Last updated
Was this helpful?
