Solved

Aurena Lobby "Like" Filter


Userlevel 5
Badge +12

How All.

How could I set up a parameter in Aurena Lobby to understand “Like” where condition with % so I will be able to type a part of the text.

In the example bellow, if I use like condition with %, the element in Aurena doesn’t not work, just in IEE. IF I remove the %, it works fine.

Is it possible?

Tks a lot!

this way works without %.

 

In Aurena Lobby does not with %

UPPER(ITEM_DESCRIPTION) LIKE NVL(UPPER('%$CPF_NOME$%'),'%')

 

 

icon

Best answer by Tomas Ruderfelt 7 June 2022, 14:29

View original

2 replies

Userlevel 7
Badge +19

If there is a problem with % in your version maybe try this:

UPPER(ITEM_DESCRIPTION) LIKE UPPER(CHR(37) || '$CPF_NOME$' || CHR(37))

 

CHR function gives you character “%” if you use number 37. You can find the ascii number of a character by doing:

SELECT ASCII('%')

FROM dual

Userlevel 5
Badge +12

If there is a problem with % in your version maybe try this:

UPPER(ITEM_DESCRIPTION) LIKE UPPER(CHR(37) || '$CPF_NOME$' || CHR(37))

 

CHR function gives you character “%” if you use number 37. You can find the ascii number of a character by doing:

SELECT ASCII('%')

FROM dual

Hi @Tomas Ruderfelt , it worked fine!

Tks a lot for attention and help!

Br.

Lopes

Reply