NAV 2013 : How to only print selected records with checkbox

i’ve tried this :

the field “print” (checkbox) is on sales line page, and in the report (Sales line - OnAfterGetRecord()) i tried to put the code

IF NOT Print THEN

CurrReport.SKIP;

even tried to use table filter

Field Type Value

Print CONST Yes

but none of it is working, what is the function to pass the record ? thx before :slight_smile: