> headers=dict([(c,db[c.split('.')[0]][c.split('.')[1]].label) for c in
> rows.colnames])
> SQLTABLE(rows, headers=headers)
Thanks!> Not there is a reason this is not done by default: I can see. But what about an optional argument? I see myself repeating this a lot... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

