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

enter image description here

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

Popular posts from this blog

java - Callback from new thread to class from which thread was initiated -

Receive udp packets in android gstreamer -

php - Extract Text from HTTP referer -