[web2py] Re: update with variable field (stored in variable)

2012-02-06 Thread Serbitar
works like a charm. Thanks a ton. On Feb 5, 9:15 pm, Anthony wrote: > On Sunday, February 5, 2012 2:04:13 PM UTC-5, Serbitar wrote: > > > I need to do something like this: > > > variable_field = 'val1' > > x = 2 > > id = 1 > > > db.define_table('a', > >     Field('name', type = 'integer'), > >  

[web2py] Re: update with variable field (stored in variable)

2012-02-05 Thread Anthony
On Sunday, February 5, 2012 2:04:13 PM UTC-5, Serbitar wrote: > > I need to do something like this: > > variable_field = 'val1' > x = 2 > id = 1 > > db.define_table('a', > Field('name', type = 'integer'), > Field('val1', type = 'integer'), > Field('val2', type = 'integer') > )