Writing a property control to all rows in a table within Spotfire


I am trying to come up with a way to write a value in a property control (using an input field) and writing this value to a table in Spotfire.  I am able to write a single value to the table using the simple code below, however, it generates the warning message below and only write to one row, I need to it to write to all the rows in a table.  I think a loop of some kind is the solution?  

I realize that tags have this functionality too but I need this separately.  

r script:

output <- input

Warning message

"Adapting output columns to result table row count.
All columns in an add columns operation need to have the same row count as the data table. Output column has 1 rows while the table TableCopy has 59 rows."


Thanks in advance! 

(1) Answer