Thanks a lot Mr. Massimo you save my life :) .... I love web2py by the
way!

On 6 nov, 02:41, mdipierro <[email protected]> wrote:
> This should do it.
>
> db.define_table('mytable', Field('picture','upload'))
>
> db.mytable.picture.default=lambda:db.mytable.picture.store(open('path/
> pic.jpg','rb'))
>
> On Nov 6, 1:32 am, CesarBustios <[email protected]> wrote:
>
>
>
> > Hi, please in my database i have an 'upload' type Field and i want to
> > make some picture ('pic.jpg') the default picture when the form load,
> > how can i do that???
>
> > I really hope you can help me out, Thank you!- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -

Reply via email to