Guest Posted January 28, 2021 Share Posted January 28, 2021 benjamin.maxwell: Is there a way for me to see the green traffic light in RECAP 1010 where I am trying to combine the length of the Jaguar and BMW Try using column numbers on your RECAP: TABLE FILE CAR SUM LENGTH COMPUTE TL1/A100 = IF LENGTH GT 500 THEN '<span style="color : green";> &|#x1F311; </span>' ELSE IF LENGTH LT 500 THEN '<span style="color : red";> &|#x1F311; </span>'; AS '' FOR CAR -* 'JAGUAR' AS 'JAGUAR' LABEL R0010 OVER 'BMW' AS 'BMW' LABEL R0020 OVER -* RECAP R1000 = R0010; AS 'Jaguar' OVER -* RECAP R1010(1) = R0010+R0020; AS 'Jaguar and BMW' OVER RECAP R1010(2) = IF R1010(1) GT 500 THEN '<span style="color : green";> &|#x1F311; </span>' ELSE IF R1010(1) LT 500 THEN '<span style="color : red";> &|#x1F311; </span>'; ON TABLE SET PAGE-NUM NOLEAD ON TABLE SET ASNAMES ON ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLEMBEDIMG ON ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE=IBFS:/WFC/Repository/aFolder/code/stylesheets/warm.sty, $ ENDSTYLE END Link to comment Share on other sites More sharing options...
Ben Maxwell Posted January 28, 2021 Author Share Posted January 28, 2021 Anyone have any thoughts on this one. With my newfound knowledge of traffic lights, I am now trying to apply them into a report written in FML. Is there a way for me to see the green traffic light in RECAP 1010 where I am trying to combine the length of the Jaguar and BMW Code : TABLE FILE CAR SUM CAR.SPECS.LENGTH COMPUTE TL1/A100 = IF CAR.SPECS.LENGTH GT 500 THEN '<span style="color : green";> &|#x1F311; </span>' ELSE IF CAR.SPECS.LENGTH LT 500 THEN '<span style="color : red";> &|#x1F311; </span>'; AS '' FOR CAR.COMP.CAR JAGUAR AS JAGUAR LABEL R0010 OVER BMW AS BMW LABEL R0020 OVER RECAP R1000=R0010; AS Jaguar OVER RECAP R1010=R0010+R0020; AS Jaguar and BMW ON TABLE SET PAGE-NUM NOLEAD ON TABLE SET ASNAMES ON ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLEMBEDIMG ON ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty, $ ENDSTYLE END Current Results : Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now