Thanks a lot! So now i first do an update of the record in the db and afterwards create the crud.update form. this works perfect.
But just for my curiosity; when using an 'crud.create' setting default values with 'db.table.field.default=...' works fine, as far as i understand from the post i refered to in the beginning Massimo suggests using 'db.table.field.update=...' for changing the existing value? Jaap On Aug 28, 5:16 pm, Bruno Rocha <rochacbr...@gmail.com> wrote: > On Sun, Aug 28, 2011 at 12:06 PM, JaapP <j...@tetra.nl> wrote: > > db.bestelling.bedrag.update = '10' > > It is wrong. shoud be simething like: > > db(db.bestelling.id==request.args(0)).update(bedrag = '10') > > -- > Bruno Rocha > [ About me:http://zerp.ly/rochacbruno] > [ Aprenda a programar:http://CursoDePython.com.br] > [ O seu aliado nos cuidados com os animais:http://AnimalSystem.com.br] > [ Consultoria em desenvolvimento web:http://www.blouweb.com]