I'm sorry that I repeat my question, but I still cannot find solution. Following works: IS_IN_DB(db, 'lesson.id', '%(name)s')
And now I need an expression in 3-rd parameter instead of simple field name, something like: IS_IN_DB(db, 'lesson.id', '%(name.upper())s') to see all names in Uppercase. This however doesn't work. Is there a way how to do it? Thanks in advance. Mirek

