Hi Guys!
I want to set a filter on the field number in a table for certain fields. The setfilter only allows a max of 12 parameters
"Change Log Entry".SETFILTER("Field No.",'%1|%2|%3|%4|%5|%6|%7|%8|%9|%10|%11|%12|%13|%14|%15|%16',50083,5059,5056,5054,9,84,102,5061,50001,86,50002,5,6,7,91,4,50083)
Is there a method to get around this other than not using the filter, reading all the records and then using an IF statement to check for these field numbers?
Thanks in advance.
#-o
Answers
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I'm doing a filter on the change log for changes to the customer table. I only want to work with certain fields where changes have been made. I'm new to Nav. How would I do this using temp tables?
I will try this method Belias. thanks
thanks for any explanation
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
RIS Plus, LLC
But if it's only an utility or the filter is fixed, there are no problems...this code
"Change Log Entry".SETFILTER("Field No.",'50083|5059|5056|5054|9|84|102|5061|50001|86|50002|5|6|7|91|4|50083')
is the same as
"Change Log Entry".SETFILTER("Field No.",'%1|%2|%3|%4|%5|%6|%7|%8|%9|%10|%11|%12|%13|%14|%15|%16',50083,5059,5056,5054,9,84,102,5061,50001,86,50002,5,6,7,91,4,50083)
thanks for the explanation
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Thanks Belias, that worked for me
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.