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     [CLOSED] Problem in Subfoot border.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Problem in Subfoot border.
 Login/Join
 
Guru
posted
Hi,
I am trying below piece of code to place border around subfoot in my report.

  
DEFINE FILE CAR
DUMMY/A2 = ' ';
END
-RUN

TABLE FILE CAR
PRINT
     'CAR.COMP.CAR'
     'CAR.CARREC.MODEL'
     'CAR.BODY.SEATS'
     'CAR.SPECS.FUEL_CAP'
BY DUMMY NOPRINT

ON DUMMY SUBFOOT
"<DUMMY<DUMMY TOTAL<ST.FUEL_CAP"
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,   SQUEEZE=ON,     ORIENTATION=PORTRAIT,$
TYPE=REPORT,FONT='TIMES NEW ROMAN', SIZE=10,$
TYPE=SUBFOOT,  HEADALIGN=BODY,$
TYPE=SUBFOOT, BY=1,LINE=1,OBJECT=TEXT,ITEM=1,BORDER=ON,BORDER-STYLE=SOLID,BORDER-COLOR=BLACK,COLSPAN=1,JUSTIFY=RIGHT,$
TYPE=SUBFOOT, BY=1,LINE=1,OBJECT=FIELD,ITEM=3,BORDER=ON,BORDER-STYLE=SOLID,BORDER-COLOR=BLACK,COLSPAN=1,JUSTIFY=RIGHT,$
TYPE=SUBFOOT, BY=2,LINE=1, OBJECT=FIELD, ITEM=1,COLSPAN=1,JUSTIFY=LEFT,$
ENDSTYLE
END


In the report,I want to have border in subfoot around the Text 'TOTAL' and the value '305.0'.But the reports is not coming this way.Can you please check the code and tell me where it is misbehaving.

Thanks in Advance.

This message has been edited. Last edited by: Kerry,


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
 
Posts: 281 | Location: India | Registered: April 21, 2007Report This Post
Virtuoso
posted Hide Post
There is no "misbehaviour". Intra borders are just not supported in either SUBHEAD or SUBFOOT via Style sheets.

You *may* get them working in HTML by using external CSS classes (with border statements in them of course) but that may not be transferable to other output formats such as PDF.

If you really, really need them to be like that and be applicable to all supported formats you will then have to "calculate" your totals as extra records added to your original data and, when reporting, apply conditional formatting to them.

As those are now actual records any regular TYPE=DATA style definition can be used.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Expert
posted Hide Post
TYPE=SUBFOOT, HEADALIGN=BODY, BORDER=1,$


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Virtuoso
posted Hide Post
quote:
TYPE=SUBFOOT, HEADALIGN=BODY, BORDER=1,$


Tom, for a moment there you got me all excited as I thought I had missed this new feature in a more recent release since my upgrade from 5.3 a few months ago. Smiler

Sadly, the limitation still seems to exist:

TABLE FILE CAR
PRINT CAR AND DEALER_COST
BY COUNTRY
ON COUNTRY SUBFOOT
"Look mom<+0>No hands!"
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=SUBFOOT, BY=1, HEADALIGN=BODY, BORDER=LIGHT, $
ENDSTYLE
END



WF can indeed "paint" borders surrounding SUBHEAD / SUBFOOT but intra-borders within each individual cell are still not supported ... or am I missing something?

This message has been edited. Last edited by: njsden,



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Expert
posted Hide Post
The request was to surround the SUBFOOT with a border. Yours works, mine works, maybe I am not understanding the question?

Never mind, I see. Need to further test as I know I've done this before...

Try this:
  
APP PREPENDPATH DWPROD IBISAMP
-RUN
TABLE FILE CAR
PRINT CAR AND DEALER_COST
   COMPUTE DUMMY/A1 = ''; AS ''
BY COUNTRY
ON COUNTRY SUBFOOT
" <+0>Look mom<+0>No hands!<+0> <+0>"
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=SUBFOOT, BY=1, HEADALIGN=BODY, BORDER=LIGHT, $
TYPE=SUBFOOT, ITEM=2, BORDER=1,$
TYPE=SUBFOOT, ITEM=3, BORDER-RIGHT=1,$
ENDSTYLE
END
-EXIT

This message has been edited. Last edited by: Tom Flynn,


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Virtuoso
posted Hide Post
I see what you mean. The request is rather contradictory.

quote:
I am trying below piece of code to place border around subfoot in my report


But then:

quote:

I want to have border in subfoot around the Text 'TOTAL' and the value '305.0'.


Based on the last statement and the attempts Shankar made in the code to style the SUBFOOT, I was perhaps too quick to assume (s)he needed borders around each individual cell, including the separating ones.

Anyway, hopefully Shankar will try out the different ideas provided and/or clarify what's needed.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Expert
posted Hide Post
Thanks for everyone's input.

FYI, info from our technicals: This is a known issue already reported to programming. If you have not done so, please open a case so that you will be notified when the fix is available. To open a case, please call at 1-800-736-6130, or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report 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     [CLOSED] Problem in Subfoot border.

Copyright © 1996-2020 Information Builders