As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
Hello I want to implement a traffic light condition for car table. If the car sales are higher than 3000 I want to show a red image in an column and if less than 8000 then green light. How do I go about it using a DEFINE ??This message has been edited. Last edited by: FP Mod Chuck,
TABLE FILE CAR
SUM SALE
COMPUTE IMAGE/A50 = IF(SALES GT 3000) THEN '<IMG SRC="/approot/ibisamp/images/1.png">' ELSE '<IMG SRC="/approot/ibisamp/images/2.png">';
BY CAR
END
But is there a way to do so using DEFINE or macros since i tried that and maybe the image path is not being identified thats why its giving me an error!!
Since when i use DEFINE FILE it throws an error for parsing no matter what name I use for filename even if i use CARThis message has been edited. Last edited by: asamant59,
Despite making changes I always get an error saying that it is an error in parsing request. I shall send you the code maybe you can help out with the same.
DEFINE FILE CAR SUM CAR.BODY.SALE COMPUTE IMAGE/A50 = IF(SALES GT 3000) THEN '' ELSE ''; BY CAR.COMP.CAR END
TABLE FILE CAR
SUM CAR.BODY.SALES COMPUTE IMAGE/A50 = ;
BY CAR.ORIGIN.COUNTRY
ON TABLE SUBHEAD "Sales wise distribution chart" ON TABLE SUBFOOT "End of Report" ON TABLE SET PAGE-NUM NOLEAD ON TABLE SET ASNAMES ON ON TABLE COLUMN-TOTAL AS 'TOTAL' ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLEMBEDIMG ON ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * INCLUDE = endeflt, $ TYPE=DATA, COLUMN=N6, BACKCOLOR=RGB(255 255 153), $ TYPE=REPORT, IMAGE=tk_logoneu.jpg, POSITION=(3.430556 0.055556), $ ENDSTYLE END