Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Filter for integer numbers in Aggregate

$
0
0

Rodrigo Henriques wrote:

leo ferreira wrote:

Afonso Carvalho wrote:

Hi leo,

Your link is not accessible, it redirects to a login screen, but from what you describe the best would be using an IN clause - but Aggregates don't have a direct equivalent. There's two alternatives:

 - convert your Aggregate to an Advanced Query and create an input with Expanded Inline set to Yes, so you can generate an IN clause and perform the search you're thinking of;

 - create a new Attribute in your Aggregate and then determine there if the entity records hold one of the values you've searched for:



I'm afraid you missunderstand, I have the filter that allows to search for that exact combination of numbers, when add the comma to search input it does not show results.

What I need is filter that can applied when the sku is just number or it has commas.

Is there a way I can ignore the commas on the filter?

Hi leo ferreira,

If i understood correctly you want to remove the comma(s) before aplying the filter correct?

if so, why not just use the "replace" function and convert the string to a integer before applying the filter?

 - https://www.outsystems.com/forums/discussion/34361/replace-text-function/

For example:   TextToInteger(Replace(VAR_TEXT,",",""))

Best Regards 

Rodrigo Henriques

This way: TextToInteger(Replace(VAR_TEXT,",","")) it works

Thanks!



Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>