Hi,
I'd like to ask if someone knows how to create a macro in a query filter that results in multiple in statement e.g. LCG_TYPE in ('a') or LCG_TYPE in ('b') or LCG_TYPE in ('c') based on user's input. I used this technique due to Oracle limit on 5000 values for in statement.
As you may see below, I used join, split and promptmany macros which returns up to a point what I needed but I cannot find the way to set closing parenthesis ")" at the end of each in clause.
#join(' or 'substitute('^","[LCG_TYPE] IN 'split(':',promptmany('psearchValue', 'string','1'))))#
Looking forward for any suggestion that you may have.
Kind Regards,
Pantelis
------------------------------
Pantelis Stavroulidakis
------------------------------