How to filter on 2 records in microsoft dynamics nav -


i want set filter on 2 fields of record in microsoft dynamics nav.

this tried doesn't work:

//set filter on fields "location start" not blanco. myrecord.setfilter("location start",'<>%1',''); myrecord.setfilter("location end",'<>%1',''); 

i need set filter on "location start" on "location end"

this works wrote it. selected wrong record? if you're on page, use setfilter("location start", '<>%1', ''); directly instead of using rec.setfilter ... can give bit more context doesn't work or trying do?


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -