coldfusion - Dynamically adding column -
sometimes need add column empty table
if (listfind(arguments.config[3], "payout")) { queryaddcolumn(local.qryresult, "payout", "cf_sql_float"); } i error looks like
it seems want java.util.list
isn't "cf_sql_float" single element list?
the documentation guide. need array name. use arraynew(). should trick.
queryaddcolumn(local.qryresult, "payout", "cf_sql_double", arraynew(1)); 
Comments
Post a Comment