I am a bit confused about this thread...

It is not clear to me the relation between these rows

> > result_a = db().select(db.sometable.ALL)
> > result_b = db().select(db.othertable.ALL)

if there is a relation between the records of one and the records of
the other there should be a JOIN in the select. If the two tables have
the same table structure you can merge them with

  rows=(result_a|result_b).sort(...)

and display with SQLTABLE(rows,headers='fieldname:capitalize')

In general you can customize the field presentation with

  db.table.field.represent=lambda value: f(value)

for an f of your choice.

Reply via email to