How do I create an NL Rows function that only lists odd or even numbers? NAV or Datawarehouse datasources.
Date
Votes
1 comment
-
Jet Reports Historic Posts Hello -
Simplest method would be to list all numbers and then use conditional hiding (https://jetsupport.jetreports.com/hc/en-us/articles/218953738) to hide those you do not want to see.
If you must filter out the odds or evens, you could use this method:
odds:=NL("Rows","table_name","field_name","=MOD(NF(,""field_name""),2)","1")
evens:=NL("Rows","table_name","field_name","=MOD(NF(,""field_name""),2)","0")
This method works for fully numeric (not alphanumeric) values.
Please sign in to leave a comment.