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] RECOMPUTE and SKIP-LINE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] RECOMPUTE and SKIP-LINE
 Login/Join
 
Guru
posted
I am drawing blank here. You would think it would be Monday. Smiler

Is there a way to put a blank line before the RECOMPUTE?

Thanks for any help.


 
TABLE FILE CAR
PRINT *
WHERE COUNTRY EQ 'ENGLAND'
BY COUNTRY
ON COUNTRY RECOMPUTE
ON COUNTRY SKIP-LINE
ON TABLE NOTOTAL

ON TABLE PCHOLD FORMAT HTML
END
ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=OFF,
     ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='ARIAL',
     SIZE=8,
     SQUEEZE=ON,
$
ENDSTYLE
END

 

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


WebFOCUS 8.1.05
 
Posts: 496 | Registered: January 04, 2008Report This Post
Virtuoso
posted Hide Post
You don't have a stylesheet. Without a stylesheet you get a generic output without any extras. Try the same code (without the extra END) with format WP or PDF. You'll see your skip-line. Alternatively, use a stylesheet for HTML.
TABLE FILE ibisamp/car
SUM CAR.BODY.DEALER_COST
BY CAR.ORIGIN.COUNTRY SKIP-LINE
ON TABLE PCHOLD FORMAT HTML
ON TABLE NOTOTAL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET SQUEEZE ON
ON TABLE SET EMPTYREPORT ON
ON TABLE SET HTMLCSS ON
ON TABLE SET HTMLENCODE ON
ON TABLE SET CACHELINES 100
ON TABLE SET GRWIDTH 1
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/combine_templates/ENWarm.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, SUMMARY=&WF_SUMMARY.QUOTEDSTRING, ORIENTATION=LANDSCAPE, PAGESIZE=LEGAL, $
ENDSTYLE
END


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Guru
posted Hide Post
Thanks, but I am not wanting a blank line after each country. In my report, I want it laid out like this

COUNTRY COST
ENGLAND 10,000
FRANCE 20,000

TOTAL 30,000


WebFOCUS 8.1.05
 
Posts: 496 | Registered: January 04, 2008Report This Post
Virtuoso
posted Hide Post
TABLE FILE CAR
SUM RCOST
BY COUNTRY 
ON TABLE SUBFOOT
" "
"TOTAL  <TOT.RCOST"


END

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


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Guru
posted Hide Post
Sorry if I am not clear. I am looking to add a blank line between the last row and the total.


WebFOCUS 8.1.05
 
Posts: 496 | Registered: January 04, 2008Report This Post
Virtuoso
posted Hide Post
I got that after I posted my code. Try this:
TABLE FILE CAR
SUM RCOST
BY COUNTRY 
ON TABLE SUBFOOT
" "
"TOTAL  <TOT.RCOST"
END


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Guru
posted Hide Post
Thanks - that may work.


WebFOCUS 8.1.05
 
Posts: 496 | Registered: January 04, 2008Report This Post
Virtuoso
posted Hide Post
And this way using WF Total feature
TABLE FILE CAR
PRINT *
BY TOTAL COMPUTE BIDON/A1 = ''; NOPRINT
BY COUNTRY
ON COUNTRY RECOMPUTE

ON BIDON SUBFOOT
""

ON TABLE COLUMN-TOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=OFF,
     ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
-*     GRID=OFF,
     FONT='ARIAL',
     SIZE=8,
     SQUEEZE=ON,
$
ENDSTYLE
END


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Guru
posted Hide Post
Unfortunately none of these solutions would have worked in my case. I am also doing a compound Excel report using BYTOC so I need to have my first BY field to sort and “Tab” it across multiple spreadsheet tabs. The good news is, that I used the MacGyver technique to save the day. Prior to presentation I used this technique to get my detail and total lines, then I used a newly created defined field and was able to use it in an ON FIELD SUBFOOT in my presentation.


Thanks all for the suggestions and help


WebFOCUS 8.1.05
 
Posts: 496 | Registered: January 04, 2008Report 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] RECOMPUTE and SKIP-LINE

Copyright © 1996-2020 Information Builders