I'd be more likely to use a multirow create /
db_foreach / multirow append rather than a
seperate loop to tack on another column "after the fact". I guess
my point is that db_multirow has provision for a
TCL block that gets evaluated for each row, and makes column
values available in that scope, which seems so close to what I'm
after that I can't help feeling that I've missed something obvious.