You are right you have to do the filter fields for update forms (not for create forms) because update forms contain the id and it cannot be an attribute of insert. Insert could remove it automatically thou.
On Apr 11, 6:32 pm, "hamdy.a.farag" <hamdy.a.fa...@inbox.com> wrote: > If this would be a problem, I already did solved it, as I could > remember by doing something like > > form=SQLFORM(db.table) > if form.accepts(...,dbio=False): > request.vars.image = form.vars.image_newfilename > ...... > > btw: > > I guess db.table.insert(**form.vars) also is not working > I've to do > db.table.insert(**db.table._filter_fields_(form.vars)) > > I'm sure of this but I'll double check tomorrow at work -- To unsubscribe, reply using "remove me" as the subject.