You don't need the id field. The best approach might be to add a few dummy records to the table and export to CSV -- then look at the structure of that file.
Anthony On Friday, February 12, 2016 at 5:01:41 PM UTC-5, Felipe dos Santos Ferreira wrote: > > Hi guys, > > I am new to web2py. Recently I was trying to import some data from a csv > file to my sqlite database through the web2py admin area. > > The problem was I had to create several different csv files untilll I've > found one which I could import properly. > > All the others files i've had tried returned error (index out of range) or > fill up the tables with null values in every single field. > > I would like to know if someone has a csv file as an example to post for > me or tell me the proper way to create this file. > > Do I have to use the 'id' field? Do I have to use double quotes, single > quotes, no quotes? Please, be kind to me, I am a newbie haha > > :D > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.