[web2py] Re: export table to csv

2015-01-22 Thread Yebach
I managed to solve the issue with the following code def csvExport(): scriptId = request.args[0] #rows = db(query,ignore_common_filters=True).select() rows = db(db.result.r_id_script == scriptId).select(db.result.r_item1_name, db.result.r_date,

[web2py] Re: export table to csv

2015-01-21 Thread Dave S
On Wednesday, January 21, 2015 at 1:24:36 PM UTC-8, Yebach wrote: and one more question. Is there a way to name column headers in csv? Exporting, that seems to be done for you.

[web2py] Re: export table to csv

2015-01-21 Thread Dave S
On Wednesday, January 21, 2015 at 5:17:49 PM UTC-8, Dave S wrote: On Wednesday, January 21, 2015 at 1:24:36 PM UTC-8, Yebach wrote: and one more question. Is there a way to name column headers in csv? Exporting, that seems to be done for you. URL: