hexagon logo

Comment controlled by variables

Hello All,

I am trying to make the following

K1 =COMMENT/YESNO,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,OVC=NO,
Has any allowance been made for reporting purposes?
ASSIGN/K2=K1.INPUTVALUE
IF_GOTO/K2==2,GOTO = NO_TREATMENT
IF/K2==1
COMMENT/REPT,
******************************************
** REPORTING HAS ALLOWED FOR TREATMENTS **
******************************************
END_IF/
NO_TREATMENT=LABEL/

Although this works whenever i refresh the report page the comment comes up regardless of if i have yes or no selected. 

Can someone please help here? id like it so only if yes is selected can it show up on the report even if the report is refreshed