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     FML Styling Question

Read-Only Read-Only Topic
Go
Search
Notify
Tools
FML Styling Question
 Login/Join
 
Platinum Member
posted
Hi All,

I am rewriting an existing report in FML and the following code captures the essence of what I'm trying to accomplish:

SET HOLDLIST = PRINTONLY
SET ASNAMES = ON

TABLE FILE GGSALES
SUM UNITS
BY REGION
BY CATEGORY
ON TABLE HOLD AS GGDATA
END

TABLE FILE GGDATA
SUM MIN.UNITS AS 'MIN_UNITS'
MAX.UNITS AS 'MAX_UNITS'
AVE.UNITS AS 'AVE_UNITS'
BY CATEGORY
SUM UNITS
BY CATEGORY
BY REGION
ON TABLE HOLD AS TESTING
END

TABLE FILE TESTING
SUM UNITS AS ''
MIN_UNITS NOPRINT
MAX_UNITS NOPRINT
AVE_UNITS NOPRINT
ACROSS REGION
COMPUTE NEW_MIN/I8 = MIN_UNITS ; AS 'Min'
COMPUTE NEW_MAX/I8 = MAX_UNITS ; AS 'Max'
COMPUTE NEW_AVE/I8 = AVE_UNITS ; AS 'Avg'

FOR CATEGORY
'Coffee' LABEL R1 AS 'COFFEE' OVER
'Food' LABEL R2 AS 'FOOD' OVER
'Gifts' LABEL R3 AS 'GIFTS'

ON TABLE SET STYLE *
TYPE=REPORT, COLUMN=N2, BACKCOLOR=BLUE,COLOR=WHITE,$
TYPE=REPORT, COLUMN=NEW_MIN, BACKCOLOR=BLUE, COLOR=WHITE,$
TYPE=REPORT, COLUMN=NEW_MAX, BACKCOLOR=BLUE, COLOR=WHITE,$
TYPE=REPORT, COLUMN=NEW_AVE, BACKCOLOR=BLUE, COLOR=WHITE,$
ENDSTYLE
END

My question is why isn't the styling for NEW_MAX and NEW_AVE recognized?

The current report I have contains styling similar to the above and the clients has historically been extremely picky regarding their styling requests. This is something they're not willing to part from.

Is there anyway I can accomplish this? I've exhausted many options to try to get this to work.

Ken
 
Posts: 177 | Location: Calgary, Alberta, Canada | Registered: April 25, 2005Report This Post
Expert
posted Hide Post
TYPE=REPORT, COLUMN=NEW_MIN, BACKCOLOR=BLUE, COLOR=WHITE,$
TYPE=REPORT, COLUMN=NEW_MAX(*), BACKCOLOR=RED, COLOR=WHITE,$
TYPE=REPORT, COLUMN=NEW_AVE(*), BACKCOLOR=ORANGE, COLOR=WHITE,$

I don't know why, but this worked for me (WF 5.3.2).
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
Thanks Francis. It worked great!

Ken
 
Posts: 177 | Location: Calgary, Alberta, Canada | Registered: April 25, 2005Report 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     FML Styling Question

Copyright © 1996-2020 Information Builders