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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Border Trouble
 Login/Join
 
Platinum Member
posted
Can anyone let me know why the follow code creates a gap between where the side borders end and the bottom border begins on the subtotal for country with the following code?

TABLE FILE CAR
PRINT
DEALER_COST
RETAIL_COST
BY COUNTRY NOPRINT
BY CAR NOPRINT
BY BODYTYPE
ON COUNTRY SUBHEAD
"<COUNTRY "
ON COUNTRY SUBTOTAL AS 'TOTAL'
ON CAR SUBHEAD
"<CAR "
ON CAR SUBTOTAL AS 'Total'
HEADING
" "
" CAR TABLE TEST"
" "
" "
" "
" "
FOOTING BOTTOM
"Run On : <+0>&DATEtrMDYY <+0>                                                                            <TABPAGENO "
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     PAGESIZE='Letter',
     LEFTMARGIN=0.5000000,
     TOPMARGIN=0.5000000,
	 BOTTOMMARGIN=0.000000,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     FONT='TIMES',
     SIZE=8,
     COLOR='BLACK',
     BACKCOLOR='NONE',
     STYLE=NORMAL,
$
TYPE=SUBTOTAL,
     BY=1,
	 COLUMN=N4,
	 BACKCOLOR='WHITE',
	 BORDER=LIGHT,
$
ENDSTYLE
    
END


I'm using DevStudio 7.1.4.


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 can't tell you why it is doing what it is doing with the border. What I can tell you is that it does NOT happen if you remove the COLUMN notation. However, this puts the border around the whole SUBTOTAL.

Sorry. Confused


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Virtuoso
posted Hide Post
Yep I tried that too... and a bunch of other things...how strange... Confused


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Expert
posted Hide Post
I can't tell you why it is doing what it is doing with the border. What I can tell you is that it does NOT happen if code your border as shown below.

TABLE FILE CAR
PRINT
DEALER_COST
RETAIL_COST
BY COUNTRY NOPRINT
BY CAR NOPRINT
BY BODYTYPE
ON COUNTRY SUBHEAD
"<COUNTRY "
ON COUNTRY SUBTOTAL AS 'TOTAL'
ON CAR SUBHEAD
"<CAR "
ON CAR SUBTOTAL AS 'Total'
HEADING
" "
" CAR TABLE TEST"
" "
" "
" "
" "
FOOTING BOTTOM
"Run On : <+0>&DATEtrMDYY <+0>                                                                            <TABPAGENO "
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     PAGESIZE='Letter',
     LEFTMARGIN=0.5000000,
     TOPMARGIN=0.5000000,
	 BOTTOMMARGIN=0.000000,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     FONT='TIMES',
     SIZE=8,
     COLOR='BLACK',
     BACKCOLOR='NONE',
     STYLE=NORMAL,
$
TYPE=SUBTOTAL,
     BY=1,BORDER=LIGHT, BORDER-COLOR=WHITE, $
TYPE=SUBTOTAL,
     BY=1,BORDER-TOP=LIGHT, BORDER-COLOR=BLACK, COLUMN=DEALER_COST, $
TYPE=SUBTOTAL,
     BY=1,BORDER-BOTTOM=LIGHT, BORDER-COLOR=BLACK, COLUMN=DEALER_COST, $
TYPE=SUBTOTAL,
     BY=1,BORDER-LEFT=LIGHT, BORDER-COLOR=BLACK, COLUMN=DEALER_COST, $
TYPE=SUBTOTAL,
     BY=1,BORDER-RIGHT=LIGHT, BORDER-COLOR=BLACK, COLUMN=DEALER_COST, $
ENDSTYLE

END


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
Very good...had not tried each one on a separate Subtotal Line....


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Gold member
posted Hide Post
Well sorry to report that 7.1.5 produces the same weird results. We have a real puzzle here.


Using: WF 7.1.5, XP Pro, Tomcat, Self Serve
 
Posts: 81 | Location: Calgary, Alberta | Registered: August 07, 2003Report This Post
Platinum Member
posted Hide Post
Interesting... I also modified it to have right and left borders set to OFF so that I only get a top light border and bottom heavy border (that actually appears immediately underneath the field) which was the desired result.

I also found that it worked with the border specifics together like this:
TYPE=SUBTOTAL,
     BY=1,
     BORDER=LIGHT, 
     BORDER-COLOR=WHITE, $
TYPE=SUBTOTAL,
     BY=1,BORDER-TOP=LIGHT, 
     BORDER-BOTTOM=HEAVY, 
     BORDER-LEFT=OFF, 
     BORDER-RIGHT=OFF, 
     BORDER-COLOR=BLACK, 
     COLUMN=DEALER_COST, $

Thanks for your help Francis.

One question, how did you figure out that combination?


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report This Post
Expert
posted Hide Post
trial and (t)error!


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders