Conditional width of column

Hi,

I need a variable width of column set based on two conditions. If condition one is true and condition two is true, then set width to 82, if condition one is true and condition two is false, then set width to 90 etc. I tried with HasData function with nested IIf but it seems it doesnt work for all four cases. The first condition has to be a "HJ" expression in a POINT.HOLE_TYPE field and second condition is existance of any data in ODPOR.OP field.

<<HasData(<<ODPOR.OP>>,_

<<IIf(<<POINT.HOLE_TYPE>> = "HJ",82,105)>>,_

<<IIf(<<POINT.HOLE_TYPE>> = "HJ",90,113)>>)>>

Is there any proper way to do it

Thanks for help.