i know that web2py has CSV module. but now I need to create another
controller which allow me to choose which table to export the values
and save them as text file  without click on the originally build in
CSV in web2py

On Nov 12, 10:10 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> from appadmin you can save any table as CSV.
>
> also any statements
>
>    db(...).select(...)
>
> if you replace select with _select,
>
>    db(...)._select(...)
>
> will return the SQL statement without executing it.
>
> you can also replace insert with _insert, count with _count, delete
> with _delete and update with _update
>
> not sure I answered the question.
>
> Massimo
>
> On Nov 12, 7:15 am, somebody <[EMAIL PROTECTED]> wrote:
>
>
>
> > export sql statement and tables'values save as text file in web2py.
> > any guidance?
> > thanks- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to