Hi Juan,
Local values are set by adding "-local" multirow.
According to this API doc, the values are organized in a tcl array, where each key references a row, and each array value is an ordered list of values: https://openacs.org/api-doc/proc-view?proc=template::query::multirow
See also: https://openacs.org/doc/db-api-detailed#kernel.dbapi_db_multirow for options
cheers,
Ben