Re: [web2py] Re: Upload with SQLFORM.factory

2010-09-01 Thread Andrew Buchan
Massimo, I fixed this by replacing "SQLFORM.factory" with the use of "SQLFORM" and "dbio = False", and it works fine. However, in case you thought it should behave differently I have copied my code below. The html generated by SQLFORM.factory gives the likes of id="no_table _Attachment", even tho

[web2py] Re: Upload with SQLFORM.factory

2010-09-01 Thread mdipierro
I need to see the code because I miss the logic. If a form is generate with SQLFORM.factory than there is table and no model and the uploaded file cannot go in the database becsause there isn't any connected to it. On Sep 1, 5:24 am, Andrew Buchan wrote: > Hello, > > I have two tables with 'file