I have a form using this: options=[str(my_macaddr[i].MacAddr) for i in range(len(my_macaddr))] form=FORM(SELECT(*options,_name='MacAddrSelect',_multiple='multiple'),INPUT (_type='submit'))
records = db4((db4.data_table.MacAddr==request.vars.MacAddrSelect) & (db4.data_table.ReqTime>='2010-11-08T21:00') & (db4.data_table.ReqTime<='2010-11-08T22:00')).select(db4.data_table.MacAddr,db4.data_table.ReqTime,db4.data_table.Po) How do I create a loop that will return records using more than one selection in my form? -- Lorin Rivers Mosasaur: Killer Technical Marketing <http://www.mosasaur.com> <mailto:lriv...@mosasaur.com> 512/203.3198 (m)