OK, if I specify which columns get returned in my rows, generic.json returns "no json".
If my function returns rows.as_list(), generic.json works, but my generic.csv breaks. I figured out this, though, which seems to work, but I don't know if it's wise. Also, it doesn't seem like it should be necessary. def function(): dbset = db() records = dbset.select(db.table.field1, db.table.field2, orderby=db.table.field1) otherrecords = records.as_list() Then in my generic.csv, I use records and in generic.json I use otherrecords. -- Lorin Rivers Mosasaur: Killer Technical Marketing <http://www.mosasaur.com> <mailto:lriv...@mosasaur.com> 512/203.3198 (m)