On Friday, May 27, 2011 8:39:02 AM UTC-4, Manuele wrote: 
>
> On 27/05/2011 14:25, Massimo Di Pierro wrote:
> > response.headers['Content-Disposition'] =
> > 'attachment;filename=thisfile.csv' 
>
>
> thankyou Massimo... I had just found the answer in the list archives. 
>
> Any suggestion about the second question? 
>
> Is it possible to store somewhere the query in order to pass it first to 
> SQLTABLE and let the user save it results in a csv file?
>
You could cache the query: 
http://web2py.com/book/default/chapter/06#Caching-Selects
 

Reply via email to