Thanks for your reply.
I am definitely missing something.
> appadmin and crud.update are ok (they are fine also in my environment).
> SQLFORM.factory(db.person) is fine too. I don't get when you say "when I
> submit the update".... SQLFORM.factory has no database interactions.
>
I use SQLFORM.factory(...) to build an update form which updates 6 tables.
A table node, depending on a variable a table organization, person or hub,
etc. Since the form is being build dynamically, I have to pre-populate its
fields using form.vars.field=node.field etc. This is what introduced the
problem: form.vars.birthday=row.birthday. It should be:
form.vars.birthday=row.birthday.strftime('%d-%m-%Y')
Kind regards,
Annet.
--