with this db setup:
db.define_table('station', Field('name'), Field('location'), Field('file',
'upload')
db.define_table('records', ('station_id', db.station), Field('col1'),
Field('col2'))
col1-col2 are from file uploaded
i want to have a controller that takes this csv file and imports the data,
assigning also a station_id value
with a form.process().accepted i can handle the file, but with which method
should be better to import?
db import from csv can have custom columns layout such as SQLFORM.grid()
for example?
thanks
--
---
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/groups/opt_out.