A suggest for documentation: explicit that record argument can be the
rowid or the row object.
I had not understud it before.
By and new thanks.
leone

On 2 Gen, 17:48, leone <[email protected]> wrote:
> Very simple!!!
> Thanks.
> leone
>
> On 2 Gen, 17:09, mdipierro <[email protected]> wrote:
>
>
>
> > Invece di
>
> > form=crud.update(table,record_id)
>
> > Try this:
>
> > record=table[record_id]
> > record.fieldname = 'newvalue'
> > form=crud.update(table,record)
>
> > On Jan 2, 9:51 am, leone <[email protected]> wrote:
>
> > > When SQLFORM is called with record parm valorized,  a row is loaded to
> > > be updated.
> > > I want set the value of a column by code BEFORE submit it so that it
> > > is visible in input field.
> > > Default doesn't work (it is not a new row...). How can I do? Is it
> > > possible?
> > > Thanks
> > > leone
>
> > > On 2 Gen, 16:37, mdipierro <[email protected]> wrote:
>
> > > > Sorry, I do not understand. Can you make an example?
>
> > > > On Jan 2, 5:44 am, leone <[email protected]> wrote:
>
> > > > > Good morning.
>
> > > > > Using SQLFORM I must update a row with defined values that i want push
> > > > > in the input tags programmatically.
> > > > > There is a way?
>
> > > > > Thanks.
> > > > > leone

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to