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.
Hi all. I did a search to tried to find an answer for this. I have a report that returns in a Grid format. Based on whether the Benchmark column is greater than the PCT5 column to make it change to a particular color indicating whether they hit or exceeded the benchmark.. My problems is if the column in the middle (PCT6, DEN6, NUM5) are not there then it throughs this off. How can I get columns (6) to appear even if it returns no data. Someone suggested I do a print parameter that when there is no data it prints something and when there is data make a noprint parameter. Not sure how to do that either. Does anyone have suggestions or code? Here is part of my code. I only need the titles of fields6 to appear when there is and when there isn't data so that the "triggers" work.
The issue is missing data and how it is evaluated by the macro.
use DEFINE logic to set a flag that can be evaluated in your WHEN,
for example
-* 1st step just to gen missing data USE C:\IBI\APPS\IBISAMP\COURSE.FOC AS CAR END DEFINE FILE COURSE CC1/A1=EDIT(COURSECODE,'9'); END TABLE FILE COURSE SUM DURATION ACROSS CLASSIF BY CC1 ON TABLE HOLD MISSING ON END -RUN -* DEFINE FILE HOLD XX/A2=IF E05 IS MISSING AND E04 NE MISSING THEN 'Y' ELSE IF E04 GT E05 THEN 'Y' ELSE 'N'; END TABLE FILE HOLD PRINT E04 E05 E06 E07 XX NOPRINT WHERE CC1 EQ 'U' ON TABLE SET STYLE * TYPE=DATA,COLUMN=N4,COLOR=RGB(0 0 160),BACKCOLOR=RGB(118 223 254),STYLE=BOLD,WHEN= XX EQ 'Y',$ ENDSTYLE END
The problem was because I had a "conditional style" set based upon the data and when it wasn't there it would not let anything appear. Either I had to remove the conditional styling or use JG suggestion.
WebFOCUS 7.1.3 on Win 2000
Posts: 45 | Location: North Carolina | Registered: February 17, 2005