grrrrrrr query = query&(db.sarua[request.vars.refine.lower()].like('%'+request.vars.value.lower() +'%'))
or (equivalent) query = query&(db.sarua[request.vars.refine.lower()].like('%'+request.vars.value +'%')) On Apr 5, 3:24 pm, Johann Spies <johann.sp...@gmail.com> wrote: > query = > query&(db.sarua[request.vars.refine.lower()].like('%'+request.vars.value.lower+ > '%')) > TypeError: cannot concatenate 'str' and 'builtin_function_or_method' objects > > :( > > Regards > Johann > > -- > "Every good gift and every perfect gift is from above, > and cometh down from the Father of lights, with whom > is no variableness, neither shadow of turning." > James 1:17 -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.