On 24 jul, 19:01, weheh <richard_gor...@verizon.net> wrote: > I have a list, x, with allowed values for field table.x. Is there a > succinct way to do something like this? > > db(db.table.x in x).select()
Hi, You must use the operator Belongs. Please see here [1] Regards Jose [1] http://www.web2py.com/book/default/section/6/10?search=belong