I need a little help with a "contains" or "does not contain" filter for my Jet Report. I am away of the "starts with" syntax *, but I have not found a way to adapt the wild card to a filter of "contains".
Does anyone have any solutions they can offer?
Thanks in advance!
Date
Votes
2 comments
-
Jet Reports Historic Posts Have you tried the Jet Reports Help, or the Jet Reports Documentation that you may download from support.jetreport.com, or the manuals you got from your Jet Reports training course?
Searching for Filter will you give a list of all the filter operators with some very nice examples, including "does not contain" which is "<>". -
Jet Reports Historic Posts including "does not contain" which is "<>".
This is the operator for UNEQUALS… You cannot do a 'does not contain' <>*X* because ? and * cannot be combined with < and/or >.
<>B* INVALID for does not start with B.
<>*E INVALID for does not end with B.
You can however use NP array function to get the does not contain:=NL("Rows"; NP("Difference"; NL("AllUnique";"Customer";"No."); NL("AllUnique";"Customer";"No.";"Name";"B*") ) )
Above gives you all unique customers from the first NL("AllUnique") that are not found in second NL("AllUnique"), so all customer not starting with B.
Please sign in to leave a comment.