hexagon logo

If statements in custom reports

Hello, all I'm currently trying to have my comment yes/no output a check mark on a field on a custom report.

example

C6 =COMMENT/YESNO,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,OVC=NO,
Are there any Blisters on the part?
ASSIGN/B1=C6.INPUT
IF_GOTO/C6.INPUT=="NO",GOTO = L1
C7 =COMMENT/INPUT,NO,FULL SCREEN=YES,
Where on the part are these located?
ASSIGN/B2=C7.INPUT
L1 =LABEL/
C8 =COMMENT/YESNO,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,OVC=NO,
Did the part Pass?
ASSIGN/B3=C8.INPUT

Then Stealing Code from the PPAP Lable

=IF(double(DIM_OUTTOL:N) == 0,"a"," ")

And editing it to


=IF(double(Variable("B3")) == "yes","a"," ")

However, this has just left the report blank.

I'm looking for any help on this.