r1 = db(query0).select(db.table.ALL,orderby=something)
r2 = db(query1).select(db.table.ALL,orderby=somethingelse)
r1.response+=r2.response

h3 = SQLTABLE(r1,headers=headers) rderby=somethingelse)

This does not work

> my_rows = r1.as_list() + r2.as_list()
> h3 = SQLTABLE(my_rows,headers=headers)  #<< does not work

because SQLTABLE excepts a SQLRows, not a list.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to