Hi sasogeek, try something like this:
# process first tag rows = db((db.contents.msg.contains(mytags[0]))|(db.contents.description.contains(mytags[0]))|(db.contents.tags.contains(mytags[0]))).select() # process next tags for tag in mytags[1:]: rr=db((db.contents.msg.contains(tag))|(db.contents.description.contains(tag))|(db.contents.tags.contains(tag))).select() rows=rows&rr # rows is the result Denes --

