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] Make SUBHEAD repeat after page-break

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Make SUBHEAD repeat after page-break
 Login/Join
 
Virtuoso
posted
Is there a setting to cause a subhead to repeat on each page, whenever a sort-break runs to multiple pages?

I have something like

PRINT [details]
BY sort1 NOPRINT
BY sort2 NOSPLIT NOPRINT
BY sort3 NOPRINT
ON sort2 SUBHEAD
"..."
HEADING
"... ..."

If there are several consecutive short sort2 groupings, NOSPLIT allows them to share the page, with an appropriate subhead above each group.

But if a sort2 groups needs more thn one page, I want its Subhead to print after the page heading, before the first detail lines, on each continuation page. Is there syntax to make that happen?

This message has been edited. Last edited by: <Kathryn Henning>,


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Expert
posted Hide Post
That's not necessarily an easy task other then adding a line counter, which get's tricky, and do a conditional branch around "another subhead" if the line counter is not satisfied.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Virtuoso
posted Hide Post
Not easy at all.

I thought there was a post once about a new feature, or at least an NFR. Maybe in my dreams....
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Virtuoso
posted Hide Post
I know it is bare bones, but could you use something like:
TABLE FILE GGSALES
PRINT DOLLARS
BY CATEGORY
HEADING
"HEADING"
WHEN TABPAGENO EQ 1
HEADING
"<CATEGORY"
WHEN TABPAGENO NE 1
ON CATEGORY SUBHEAD
"<CATEGORY"
ON TABLE PCHOLD FORMAT PDF
END


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Virtuoso
posted Hide Post
Hmmm...maybe it's not so complicated:
ON SORT3 SUBHEAD
"...same as for SORT2..."
WHEN (TABPAGENO NE LAST TABPAGENO) AND (SORT 1 EQ LAST SORT1) AND (SORT2 EQ LAST SORT2);    

But not entirely clear (certainly not publicaly documented) exactly what event triggers WHEN for a subhead, and what value TABPAGENO and LAST TABPAGENO have at that point. Can't affort either TYPE I or TYPE II errors.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Virtuoso
posted Hide Post
NOGO.

When I tried it, it almost worked.

I did get a sort3 conditional subhead on the continuation page -- but there was a detail line printed above it. That lonely detail line belonged to the sort3 group that started on the prior page, and BY sort3 had a NOSPLIT.

I guess NOSPLIT and conditional SUBHEAD/SUBFOOT don't play nicely together: the genii obviously calculated that the entire sort3 group (with applicable subfoot lines) would fit on the prior page, and that was untrue. So when it decided not to flip the page, it wound up with no room for the last detail line, and the sort3 sort-break did not occur until after that orphaned detail was rendered on the next page.

I don't see why TABPAGENO NE LAST TABPAGENO was true after the orphaned detail was emitted, but as I said the specs for evaluating TABPAGENO (and LAST TABPAGENO) are unpublished.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report 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] Make SUBHEAD repeat after page-break

Copyright © 1996-2020 Information Builders