IF !("PCB" $ UPPER(fluid)) ; AND !("PYRANOL" $ UPPER(fluid)) ; AND !("WECOSOL" $ UPPER(fluid)) * OR IF NOT ( ("PCB" $ UPPER(fluid)) ; OR ("PYRANOL" $ UPPER(fluid)) ; OR ("WECOSOL" $ UPPER(fluid)))>I am trying to figure out why the second IF statement is not working correctly. In my code the field tmpName.liquid contains "PCB "
>IF !EMPTY(tmpLiquid.h20) && Evaluate only if record has a KF Analysis. > lcH20 = ALLTRIM(tmpLiquid.h20) > REPLACE fluid WITH ALLTRIM(tmpName.liquid) > IF !("PCB" $ UPPER(fluid)) ; > OR !("PYRANOL" $ UPPER(fluid)) ; > OR !("WECOSOL" $ UPPER(fluid)) > DO CASE > CASE 1 > Do something > CASE 2 > Do something > OTHERWISE > Do something else > ENDCASE > ELSE > > Do other stuff > > ENDIF >ENDIF >>