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     [SOLVED] Across to Bottom

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Across to Bottom
 Login/Join
 
Platinum Member
posted
Hello,
Is there a way to put the across result in the bottom of the table?

Thanks,
Carlos Dias

This message has been edited. Last edited by: Carlos Dias,


WebFOCUS version: 7.6
Linux/Windows
HTML, Excel
 
Posts: 127 | Location: Aveiro, Portugal | Registered: February 04, 2011Report This Post
Expert
posted Hide Post
Hi Carlos,

For our experts to better help you, can you please elaborate a bit more: what do you mean with "having across on the bottom"? If we do something like column total, is that what you want? A detailed example with any of our test files (CAR, EMPDATA) would be nice.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Platinum Member
posted Hide Post
Here is an example:
TABLE FILE CAR
SUM 
     CAR.SPECS.WIDTH AS ''
     CAR.SPECS.HEIGHT AS ''
BY  LOWEST CAR.BODY.DEALER_COST
ACROSS LOWEST CAR.BODY.SEATS
ON TABLE SET PAGE-NUM NOLEAD 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,
$
TYPE=ACROSSVALUE,
     ACROSS=1,
     BACKCOLOR='WHITE',
$
ENDSTYLE
END



What I would like to see is the ACROSS SEATS like a total.

Thanks,
Carlos Dias


WebFOCUS version: 7.6
Linux/Windows
HTML, Excel
 
Posts: 127 | Location: Aveiro, Portugal | Registered: February 04, 2011Report This Post
Expert
posted Hide Post
Hi Carlos,

From our technicals: is the following output truly what you want? If so, it will be challenging to do. Otherwise, please let us know how you would want the output to be.



Cheers,
Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Master
posted Hide Post
ON TABLE ROW-TOTAL


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
 
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010Report This Post
Virtuoso
posted Hide Post
Carlos,
Never underestimate the power of Focus!
  
-SET &ECHO=ALL;
-* File FOOT01.fex
TABLE FILE CAR
BY SEATS
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE SAVE
END
-RUN
-SET &L=&LINES;
-SET &FOOT='" ';  
-REPEAT #R FOR &I FROM 1 TO &L;
-READ SAVE,&S
-SET &FOOT=&FOOT | '<+0>' | &S ; 
-#R
-SET &FOOT=&FOOT | '"';  
-RUN

TABLE FILE CAR
SUM 
     CAR.SPECS.WIDTH AS ''
     CAR.SPECS.HEIGHT AS ''
BY  LOWEST CAR.BODY.DEALER_COST
ACROSS LOWEST CAR.BODY.SEATS NOPRINT
FOOTING
" <+0>SEATS "
&FOOT
ON TABLE SET PAGE-NUM NOLEAD 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=FOOTING, HEADALIGN=BODY, $
TYPE=FOOTING, LINE=1, ITEM=2, COLSPAN=6, $
-REPEAT #FOOT FOR &I FROM 1 TO &L;
-SET &J=&I + 1;
TYPE=FOOTING, LINE=2, ITEM=&J, COLSPAN=2, $
-#FOOT
ENDSTYLE
END

This message has been edited. Last edited by: Danny-SRL,


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Platinum Member
posted Hide Post
Danny-SRL,
Thanks for the tip this solve my problem.

Carlos Dias


WebFOCUS version: 7.6
Linux/Windows
HTML, Excel
 
Posts: 127 | Location: Aveiro, Portugal | Registered: February 04, 2011Report 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     [SOLVED] Across to Bottom

Copyright © 1996-2020 Information Builders