Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Three Questions on Reports

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Three Questions on Reports
 Login/Join
 
Platinum Member
posted
I have three questions on report.

1. Is it possible to give an id to TR/TD/TABLE to the report output?

2. Is it possible to hide a part of data from the report based on some
condition. In the example below,

TABLE FILE CAR
PRINT COUNTRY DEALER_COST RETAIL_COST SALES
ON TABLE SET ONLINE-FMT HTML
ON TABLE SET STYLE *
TYPE=DATA,COLUMN=DEALER_COST,COLOR=RED,WHEN=COUNTRY EQ 'ITALY', $
ENDSTYLE
END

When Country is 'ITALY', I dont want the data to be displayed in the DEALER_COST
field. The DEALER_COST is a numeric field. Is there a command like,
TYPE=DATA,COLUMN=DEALER_COST,VISIBILITY=HIDDEN,WHEN=COUNTRY EQ 'ITALY', $

3. How to apply multiple when conditions?
For example, in the above example, i need RETAIL_COST to be BOLD when SALES is 0
and COUNTRY is ITALY.

Thanks for your time.


Regards,
Cyril Joy.

WF Production 8008 on Linux.
 
Posts: 143 | Location: Rochester,NY. | Registered: August 20, 2004Report This Post
Guru
posted Hide Post
Here are some answers for you:

1) I'm not sure.

2)
TABLE FILE CAR
PRINT
     COUNTRY
     DEALER_COST
     RETAIL_COST
     SALES
ON TABLE SET ONLINE-FMT HTML
ON TABLE SET STYLE *
TYPE=DATA,COLUMN=DEALER_COST,COLOR=WHITE,WHEN=COUNTRY EQ 'ITALY', $
ENDSTYLE
END


3)
TABLE FILE CAR
PRINT
     COUNTRY
     DEALER_COST
     RETAIL_COST
     SALES
COMPUTE MK_BOLD/A1 = IF COUNTRY EQ 'ITALY' AND SALES EQ 0 THEN '1' ELSE '0'; NOPRINT
ON TABLE SET ONLINE-FMT HTML
ON TABLE SET STYLE *
TYPE=DATA,COLUMN=SALES,STYLE=BOLD,WHEN=MK_BOLD EQ '1', $
ENDSTYLE
END
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Expert
posted Hide Post
1) not directly, only if you hand code your html tags using an ALPHA output file.
2) how about this:
define file car
DCOST/D9.2 MISSING ON=IF COUNTRY EQ 'ITALY' THEN MISSING ELSE DCOST ;




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Three Questions on Reports

Copyright © 1996-2020 Information Builders