[web2py] Re: Create a database table on submission of a form

2014-07-02 Thread Shubham Jain
Thank you Massimo and Manuele.. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups

[web2py] Re: Create a database table on submission of a form

2014-06-27 Thread Leonel Câmara
Why would you want to do this? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups

[web2py] Re: Create a database table on submission of a form

2014-06-27 Thread Massimo Di Pierro
The problem is not so much creating them but keeping track of them. Here is a possible solution: # a table of tables db.define_table('meta_table',Field('name'),Field('fields','json')) # for each table in meta_table define or create the table: for table db(db.meta_table).select():