[web2py] Re: updating more than one record.

2012-01-31 Thread Ashraf Mansour
Thank you for the immediate reply. my problem is how and where to write the statement in controller and views ? Regards, Ashraf

Re: [web2py] Re: updating more than one record.

2012-01-31 Thread Bruno Rocha
in controller default.py *def update(): form = SQLFORM.factory(Field(category, requires=IS_IN_SET([category1, category2]), comment=Choose a category to update), Field(new_value, double)) if form.process().accepted: # all

[web2py] Re: updating more than one record.

2012-01-31 Thread Ashraf Mansour
thanks a lot