How Can i do : (query) & (db.table.Field == i or s) ???
regards On Tuesday, November 6, 2012 7:33:09 PM UTC+2, Hassan Alnatour wrote: > > Dear ALL , > > i am trying to do this : > > sup = db( > (db.Supplements.Category == (request.args(1)).replace('_',' ')) & (db. > Supplements.Users == str(request.args(0)) or 'Both') > ).select(db.Supplements.ALL) > > But its not working , any help ??? > > REgards, > --