So it looks like db_multirow does support the tcl code block, which solves my problem. I guess I should read the current docs before spewing nonsense. I still wonder why the current rownum is an array var.
db_multirow