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.
After making a large compound report in web focus 7.6 that makes use of "ON TABLE PCHOLD FORMAT PDF OPEN NOBREAK" in many places, the decision maker came back to me and asked for next to each column, the column % of that report. I thought it would be an easy fix, but instead get the error:
0 NUMBER OF RECORDS IN TABLE= 68 LINES= 18 (FOC3218) NOTE: REPORT WILL BE PANELED; TOTAL WIDTH IS: 12.04 INCHES (FOC3269) PDF: CANNOT USE NOBREAK WITH PANELED REPORTS (FOC3298) ERROR FOUND IN A COMPOUND REPORT Compound Report is TERMINATING.....
The only change was
(DEFINE)
TABLE FILE TEST_TABLE SUM COLUMN1
(OTHER STUFF)
to
(DEFINE)
TABLE FILE TEST_TABLE SUM COLUMN1 PCT.COLUMN1/D5% (OTHER STUFF)
Anyone know some kind of work around?This message has been edited. Last edited by: <Kathryn Henning>,
WebFocus 8.104 Windows 7 Entreprise, SP1
Posts: 82 | Location: Abbotsford BC | Registered: March 15, 2010
The new change in the column is taking more space. Either you wrap other columns to make space for the new one or try increasing the page size for PDF report. Try the following code to increase the page size: ON TABLE SET STYLE * TYPE=REPORT, -IF &FMT NE 'PDF' THEN GOTO SKP_SIZE; PAGESIZE=B, -SKP_SIZE ORIENTATION=LANDSCAPE,$ ENDSTYLE
You can use the letters from B,C,D and E for different page sizes. I think E is the maximum page size available.
Let me know if you need code for WRAP also.
Thanks, Pravin Singh
WebFOCUS 7703 Windows, All Outputs pravinsinghwebfocus.blogspot.com
I had similar problems recently when migrating reports from 7.x to 8.x: 8.x made the page (in PDF) spread to two panels.
I found it helpful to add background colors during testing. It revealed how wide the rendering engine considered each data column, and how that was affected by each tweak I applied to the styling.
Reusable code below can be useful in this connection. Top section can be a -INCLUDE; Use "-SET &bgRainbow=1;" to override the DEFAULT, activating the palette of colors; the final section of code goes in the STYLE section of the report (explicitly, to maintain GUI compatibility).
- test: SET &bgRainbow=1;
-DEFAULTH &bgRainbow=0;
-* &bgRainbow switches background colors on or off for the report
-* =1 (for testing) turns the feature on, defining &bg1 thru &bg6 as a palette of pastel colors.
-* =0 (the Production setting) turns the feature off, by defining them all as "white"
-SET &bg1=DECODE &bgRainbow(0 white ELSE 'rgb(#9999ee)');
-SET &bg2=DECODE &bgRainbow(0 white ELSE 'rgb(#99ee99)');
-SET &bg3=DECODE &bgRainbow(0 white ELSE 'rgb(#99eeee)');
-SET &bg4=DECODE &bgRainbow(0 white ELSE 'rgb(#ee9999)');
-SET &bg5=DECODE &bgRainbow(0 white ELSE 'rgb(#ee99ee)');
-SET &bg6=DECODE &bgRainbow(0 white ELSE 'rgb(#eeee99)');
Add code like the following to the STYLE section, to conditionally apply background colors to the rendered ('printed') columns.