You cannot dynamically add columns. Do you have a superset of possible column names? If so, give a default value to the optional ones.
On Monday, 16 June 2014 10:46:31 UTC-5, Alex Steinkamp wrote: > > I am trying to import a csv file into a table in a database. I don't > always know the number of columns I will have. This is where I am having my > problems. I can't find anywhere how to dynamically add columns to a table. > Does anyone have any ideas on how to do this? > > Thank you in advance. > -- 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-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

