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     Formatting of 'BY' fields not taking

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Formatting of 'BY' fields not taking
 Login/Join
 
Member
posted
Why are the BY fields not accepting the style formats? These 2 BY fields are not being formatted:

HLD_FILE1.ACCOUNT_NUMBER AS 'BILLING ACCOUNT'
HLD_FILE1.EFFECTIVE_DATE AS 'EFFECT. DATE'

BY HLD_FILE1.ACCOUNT_NUMBER NOPRINT SKIP-LINE
BY HLD_FILE1.EFFECTIVE_DATE NOPRINT

The format statement reads:

TYPE=TITLE, COLUMN=HLD_FILE1.ACCOUNT_NUMBER, JUSTIFY=lEFT, style=bold, COLOR=BLUE, $
TYPE=TITLE, COLUMN=HLD_FILE1.EFFECTIVE_DATE, JUSTIFY=RIGHT, style=bold, COLOR=BLUE, $

All other fields in the report have similiar formats and they work. When the report is extracted to Excel, the titles for these fields have no formatting applied. What am I missing?
 
Posts: 25 | Registered: March 15, 2006Report This Post
Virtuoso
posted Hide Post
It is my understanding that using EXCEL not EXL2K loses all formating. Is this your case?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Gold member
posted Hide Post
Try: COLUMN=N2 - or N3 etc.


WebFOCUS 7.6.11, WINDOWS, HTML, PDF, EXCEL
 
Posts: 77 | Location: Baltimore | Registered: May 31, 2006Report This Post
Guru
posted Hide Post
Remove the noprint from the by statement like such:

TABLE FILE CAR
PRINT BODYTYPE
MODEL
BY COUNTRY SKIP-LINE
BY CAR

ON TABLE SET STYLE *
TYPE=TITLE, COLUMN=COUNTRY, JUSTIFY=LEFT, style=BOLD, COLOR=BLUE, $
TYPE=TITLE, COLUMN=CAR, JUSTIFY=RIGHT, style=BOLD, COLOR=BLUE, $
TYPE=TITLE, JUSTIFY=LEFT, style=BOLD, COLOR=RED, $
TYPE=TITLE, JUSTIFY=RIGHT, style=BOLD, COLOR=RED, $
ENDSTYLE
ON TABLE PCHOLD FORMAT EXL2K
END


Glenda

In FOCUS Since 1990
Production 8.2 Windows
 
Posts: 301 | Location: Galveston, Texas | Registered: July 07, 2004Report This Post
Member
posted Hide Post
I'm using EXL2K which would be the only way to get formatting.
 
Posts: 25 | Registered: March 15, 2006Report This Post
Expert
posted Hide Post
guillo, what you're missing is that you are referencing your field name two times.
TABLE FILE CAR
SUM SALES BY SALES
...
so when your style sheet says
TYPE=DATA,COLUMN=SALES,COLOR=BLUE,$
it will reference the FIRST instance of SALES that it sees.
In your example, you have NOPRINTed your first instance of SALES, so you don't see the formatting anyway.
If you must SUM SALES BY SALES
either
1. apply your formatting using Column notation (C1, C2, etc)
or
2. use a dummy field to sort by
DEFINE FILE CAR
SORTSALES/I8=SALES;
END
TABLE FILE CAR
SUM SALES BY SORTSALES NOPRINT
...
then apply your style to SALES and it will show up fine.
ok?




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
Member
posted Hide Post
It worked. I created some dummy define fields and used them in the BY statement with NOPRINT. I kept the rest of the statement the same and the report was properly formatted.

Thank you all for your suggestions.
 
Posts: 25 | Registered: March 15, 2006Report This Post
Expert
posted Hide Post
The alternative would have been to use the syntax that has recently been mentioned -

TYPE=DATA, COLUMN=SALES(*), ...........

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
ah! now i get it. thanks T.




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     Formatting of 'BY' fields not taking

Copyright © 1996-2020 Information Builders