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.
I need some help with subhead formatting. I am running a report that is set to 57 lines, so on the 58th line page numbering should increment and display on page 2 or whatever the next page is. In some cases that expected behavior does not occur. The reason is because on my subhead I am forcing it to skip a line. ON BYFIELD1 SUBHEAD "1 Thanks
WF 7.6.12, Win08
Posts: 16 | Location: Houston | Registered: April 18, 2007
Since you have set your lines to 57, I will assume this is a printed output. For PDF or Postscript output you can use ON BYFIELD1 NOSPLIT. For other printed output formats I would still give this a try.
IHTH.
Greg
current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11
You may also want to try SET PRINTPLUS=ON before the fex. Fixes a lot of problems with WF incorrectly calculating the length of pages for PDF output.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
The only format I can use is WP, because that is the only format that is accepted by the printer (auto feed printer). If the printer was capable I would use PS. When I try your suggestions the behavior acts different than before, but still not correct. Since the BYFIELD1 occurs on the 57th line now it moves the BYFIELD1 to page 2, but the page 2 label is displayed on line 56 (on the first page). If it makes any difference I am on Ver 7.1.3. Thanks
WF 7.6.12, Win08
Posts: 16 | Location: Houston | Registered: April 18, 2007
Play with the LINES, PAGE-SIZE, or RPAGESET settings. This may get you what you need.
Try including ON BYFIELD1 NOSPLIT as Greg suggests
Try setting PAGE-NUM to NOLEAD.
Having to use the WP format limits your options, but there is still probably a way to get what you need.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
So far I have applied everyone's suggestions. Thank you for all of your help so far, but I still have issues. It seems like no matter what technique I use, if the BYFIELD1 is on the 57th line it will affect the line behavior. Is there a way to create a conditional subhead that says if BYFIELD1 is on line 57 then ignore the 1 else run subhead as normal. Thanks again.
WF 7.6.12, Win08
Posts: 16 | Location: Houston | Registered: April 18, 2007
Sorry it got cut off. Is there a way to create a conditional subhead that says if BYFIELD1 is on line 57 then ignore the (cr) else run subhead as normal. Thanks again.
WF 7.6.12, Win08
Posts: 16 | Location: Houston | Registered: April 18, 2007
Skyler: Another strategy is to compute a line counter that is hidden (noprint). Then have a style statement such as: TYPE=SUBHEAD, BY=BYFIELD1, WHEN=LINE_CNTR LT 57, $ This will execute your ON BYFIELD1 SUBHEAD as long as the line_cntr is less than 57. If it equals 57 the subhead will be ignored.
ihth.
Greg
current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11