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 formatting question

Read-Only Read-Only Topic
Go
Search
Notify
Tools
FML formatting question
 Login/Join
 
Platinum Member
posted
In the sample code below, the bottom border formatting on the dealer_cost and retail_cost columns doesn't work. If you comment out the free text "Europe", it does. Or if you use, TYPE=TITLE, BORDER-BOTTOM=LIGHT, $ instead of the column specific bottom border formats, you get a bottom border under all of the columns. I, however, only want the bottom border under the dealer_cost and retail_cost columns. Any ideas on how to get that to work?

TABLE FILE CAR
SUM
DEALER_COST
RETAIL_COST
FOR COUNTRY
"EUROPE" OVER
ENGLAND AS 'ENGLAND' LABEL ENG OVER
ITALY AS 'ITALY' LABEL ITL OVER
BAR OVER
RECAP TOTEUR = ENG + ITL; AS 'TOTAL EUROPE' OVER
"ASIA" OVER
JAPAN AS 'JAPAN' LABEL JAP OVER
BAR OVER
RECAP TOT = TOTEUR + JAP; AS 'TOTAL' OVER
BAR AS '=' 
ON TABLE NOTOTAL
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
LEFTMARGIN=0.5,
RIGHTMARGIN=0.0,
TOPGAP=.025,
BOTTOMGAP=.025,
RIGHTGAP=.15,
LEFTGAP=.15,
TOPMARGIN=0.5,
BOTTOMMARGIN=0.0,
ORIENTATION=LANDSCAPE,
SQUEEZE=ON,
$
TYPE=REPORT,
     FONT='TIMES NEW ROMAN',
     SIZE=8,
     COLOR='BLACK',
     BACKCOLOR='NONE',
     STYLE=NORMAL,
$
TYPE=TITLE, COLUMN=DEALER_COST, BORDER-BOTTOM=LIGHT, $
TYPE=TITLE, COLUMN=RETAIL_COST, BORDER-BOTTOM=LIGHT, $
END


Bethany


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report This Post
Virtuoso
posted Hide Post
I would open a case with techsupport on this one. I played with it for a minute and found the following. Any text other than blanks in ANY line before the first FOR field causes the underlines on column title to disappear. If you add " " OVER as the first line, you get column titles underlined, but they are moved down a line. If you put 'FRANCE' OVER as the very first line under the FOR, you get correct underlines. You can use TYPE=TITLE, COLUMN=DEALER_COST, STYLE=UNDERLINE,$ in the stylesheet, but when I run your code with this, I get double underlines under the column titles.

Seems like there are several things going on with this that should not.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Gold member
posted Hide Post
Hi,

I had a similar problem

Here is a workaround:

TABLE FILE CAR
SUM
DEALER_COST
RETAIL_COST
FOR COUNTRY
"EUROPE" LABEL TU OVER
ENGLAND AS 'ENGLAND' LABEL ENG OVER
ITALY AS 'ITALY' LABEL ITL OVER
BAR OVER
RECAP TOTEUR = ENG + ITL; AS 'TOTAL EUROPE' OVER
"ASIA" OVER
JAPAN AS 'JAPAN' LABEL JAP OVER
BAR OVER
RECAP TOT = TOTEUR + JAP; AS 'TOTAL' OVER
BAR AS '=' 
ON TABLE NOTOTAL
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
LEFTMARGIN=0.5,
RIGHTMARGIN=0.0,
TOPGAP=.025,
BOTTOMGAP=.025,
RIGHTGAP=.15,
LEFTGAP=.15,
TOPMARGIN=0.5,
BOTTOMMARGIN=0.0,
ORIENTATION=LANDSCAPE,
SQUEEZE=ON,
$
TYPE=REPORT,
     FONT='TIMES NEW ROMAN',
     SIZE=8,
     COLOR='BLACK',
     BACKCOLOR='NONE',
     STYLE=NORMAL,
	 GRID=OFF,
$
TYPE=TITLE, COLUMN=DEALER_COST,LABEL=TU, BORDER-TOP=LIGHT,$
TYPE=TITLE, COLUMN=RETAIL_COST,LABEL=TU, BORDER-TOP=LIGHT, $
END
 


Hope this helps

This message has been edited. Last edited by: LEX-IA,


PROD: WebFOCUS 7.1.0 on Linux/Tomcat 5.5.12 (standalone)/Informix on AIX
TEST: WebFOCUS 7.1.3 on Linux/Tomcat 5.5.16 (standalone)/Informix on AIX
 
Posts: 53 | Location: Montreal,Quebec,Canada | Registered: February 13, 2006Report This Post
Platinum Member
posted Hide Post
Thanks for looking. I'll give tech support a call on this one.


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report This Post
Platinum Member
posted Hide Post
Thanks LEX-IA! That should do the trick!


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report This Post
Gold member
posted Hide Post
Did the tweak I made to your example help?
I used label and border-top instead of border-bottom?


PROD: WebFOCUS 7.1.0 on Linux/Tomcat 5.5.12 (standalone)/Informix on AIX
TEST: WebFOCUS 7.1.3 on Linux/Tomcat 5.5.16 (standalone)/Informix on AIX
 
Posts: 53 | Location: Montreal,Quebec,Canada | Registered: February 13, 2006Report This Post
Gold member
posted Hide Post
Cool!


PROD: WebFOCUS 7.1.0 on Linux/Tomcat 5.5.12 (standalone)/Informix on AIX
TEST: WebFOCUS 7.1.3 on Linux/Tomcat 5.5.16 (standalone)/Informix on AIX
 
Posts: 53 | Location: Montreal,Quebec,Canada | Registered: February 13, 2006Report 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 formatting question

Copyright © 1996-2020 Information Builders