Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Page (subform) not filtering properly

$
0
0
Hi,

I've got a page with a subform in it where I need to pass custom filters, rather than using the SubPageLink property on the page.

However, when inside the subform, I don't see any filter set on Rec variable so the subform just shows all comments found in the table it is linked to.

OrderComment.SETRANGE("Contract No.","No.");
OrderComment.SETFILTER("Change Order No.","Change Order No.");
CurrPage.CommentsSubForm.PAGE.SETTABLEVIEW(OrderComment);
CurrPage.CommentsSubForm.PAGE.UPDATE;

OrderComment is a global variable, not temporary one

It works well under Nav2013R2 but not in 2016

Viewing all articles
Browse latest Browse all 10032

Trending Articles



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