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     Compound report problems

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Compound report problems
 Login/Join
 
Platinum Member
posted
Please run this code and note how the borders under the column title and subtotals in the 2nd report are shifted down. If you run the code for just the 2nd report, the borders appears as they do in the first report.

Any idea what's causing this and how to fix this???

DEFINE FILE CAR
UN/A1 = ' ';
G/A1 = ' ';
END

TABLE FILE CAR
COUNT
CAR
BY UN NOPRINT
BY COUNTRY
BY G AS ' ' 
ON UN SUBTOTAL CAR AS 'TOTAL'
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF OPEN NOBREAK
ON TABLE SET STYLE *
     UNITS=IN,
     PAGESIZE='Letter',
	 TOPMARGIN=0.500000,
     BOTTOMMARGIN=0.1000000,
	 LEFTMARGIN=0.50,
	 RIGHTMARGIN=0.50,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     FONT='TIMES NEW ROMAN',
     SIZE=8,
     COLOR='BLACK',
     BACKCOLOR='NONE',
     STYLE=NORMAL,
     RIGHTGAP=0.02,
     LEFTGAP=0.02,
	 BOTTOMGAP=0.05,
$
TYPE=DATA,
     COLUMN=ACCT_UNIT,
	 STYLE=BOLD,
$
TYPE=TITLE,
     BORDER-BOTTOM=LIGHT,
	 STYLE=BOLD,
	 JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=G(*),
	 BORDER-BOTTOM=OFF,
	 SIZE=5,
$
TYPE=SUBTOTAL,
     BORDER=LIGHT,
	 BORDER-COLOR='WHITE',
$
TYPE=SUBTOTAL,
     BY=1,
	 BORDER=LIGHT,
	 BORDER-COLOR='WHITE',
	 STYLE=BOLD,
$
TYPE=SUBTOTAL,
     BY=1,
	 COLUMN=N4,
	 BORDER-TOP=LIGHT,
	 BORDER-TOP-COLOR='BLACK',
	 BORDER-BOTTOM=HEAVY,
	 BORDER-BOTTOM-COLOR='BLACK',
$

TYPE=REPORT,
     COLUMN=G(*),
	 SQUEEZE=OFF,
$
END

DEFINE FILE CAR
UN/A1 = ' ';
G/A1 = ' ';
END

TABLE FILE CAR
SUM
RETAIL_COST
BY UN NOPRINT
BY COUNTRY
BY G AS ' ' 
ON UN SUBTOTAL RETAIL_COST AS 'TOTAL'
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF CLOSE
ON TABLE SET STYLE *
     UNITS=IN,
     PAGESIZE='Letter',
	 TOPMARGIN=0.500000,
     BOTTOMMARGIN=0.1000000,
	 LEFTMARGIN=0.50,
	 RIGHTMARGIN=0.50,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     FONT='TIMES NEW ROMAN',
     SIZE=8,
     COLOR='BLACK',
     BACKCOLOR='NONE',
     STYLE=NORMAL,
     RIGHTGAP=0.02,
     LEFTGAP=0.02,
	 BOTTOMGAP=0.05,
$
TYPE=DATA,
     COLUMN=ACCT_UNIT,
	 STYLE=BOLD,
$
TYPE=TITLE,
     BORDER-BOTTOM=LIGHT,
	 STYLE=BOLD,
	 JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=G(*),
	 BORDER-BOTTOM=OFF,
	 SIZE=5,
$
TYPE=SUBTOTAL,
     BORDER=LIGHT,
	 BORDER-COLOR='WHITE',
$
TYPE=SUBTOTAL,
     BY=1,
	 BORDER=LIGHT,
	 BORDER-COLOR='WHITE',
	 STYLE=BOLD,
$
TYPE=SUBTOTAL,
     BY=1,
	 COLUMN=N4,
	 BORDER-TOP=LIGHT,
	 BORDER-TOP-COLOR='BLACK',
	 BORDER-BOTTOM=HEAVY,
	 BORDER-BOTTOM-COLOR='BLACK',
$

TYPE=REPORT,
     COLUMN=G(*),
	 SQUEEZE=OFF,
$
END


Thanks for looking...
Bethany

WebFOCUS 7.1.3
DevStudio: 7.1.4


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report This Post
Virtuoso
posted Hide Post
I knew this rang a bell...but here's from the IBI site. You'd think this would be fixed by now. The problem does go away...but ususally you would like a compound report not to break.

COMPOUND PDF request does not correctly display BORDERs when using NOBREAK
option.

Workaround:

Remove the NOBREAK option to avoid this behavior.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Expert
posted Hide Post
Since this seems to be a bug, the only way to fix the problem is a workaround. Try playing with TOPGAP and BOTTOMGAP for the elements that have borders, Column Title and Sub-total, make the top/bottom gaps in the first report different from the second:

DEFINE FILE CAR
UN/A1 = ' ';
G/A1 = ' ';
END

TABLE FILE CAR
COUNT
CAR AS 'CAR COUNT'
BY UN NOPRINT
BY COUNTRY
BY G AS ' '
ON UN SUBTOTAL CAR AS 'TOTAL'
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF OPEN NOBREAK
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='Letter',
TOPMARGIN=0.500000,
BOTTOMMARGIN=0.1000000,
LEFTMARGIN=0.50,
RIGHTMARGIN=0.50,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
FONT='TIMES NEW ROMAN',
SIZE=8,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
RIGHTGAP=0.02,
LEFTGAP=0.02,
TOPGAP=0.05,
BOTTOMGAP=0.05,
$
TYPE=DATA,
COLUMN=ACCT_UNIT,
STYLE=BOLD,
$
TYPE=TITLE,
BOTTOMGAP=0.08,
BORDER-BOTTOM=LIGHT,
STYLE=BOLD,
JUSTIFY=CENTER,
$
TYPE=TITLE,
COLUMN=G(*),
BORDER-BOTTOM=OFF,
SIZE=5,
$
TYPE=SUBTOTAL,
TOPGAP=0.02,
BOTTOMGAP=0.08,
BORDER=LIGHT,
BORDER-COLOR='WHITE',
$
TYPE=SUBTOTAL,
BY=1,
BORDER=LIGHT,
BORDER-COLOR='WHITE',
STYLE=BOLD,
$
TYPE=SUBTOTAL,
BY=1,
COLUMN=N4,
BORDER-TOP=LIGHT,
BORDER-TOP-COLOR='BLACK',
BORDER-BOTTOM=HEAVY,
BORDER-BOTTOM-COLOR='BLACK',
$

TYPE=REPORT,
COLUMN=G(*),
SQUEEZE=OFF,
$
END

DEFINE FILE CAR
UN/A1 = ' ';
G/A1 = ' ';
END

TABLE FILE CAR
SUM
RETAIL_COST
BY UN NOPRINT
BY COUNTRY
BY G AS ' '
ON UN SUBTOTAL RETAIL_COST AS 'TOTAL'
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF CLOSE
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='Letter',
TOPMARGIN=0.500000,
BOTTOMMARGIN=0.1000000,
LEFTMARGIN=0.50,
RIGHTMARGIN=0.50,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
FONT='TIMES NEW ROMAN',
SIZE=8,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
RIGHTGAP=0.02,
LEFTGAP=0.02,
TOPGAP=0.05,
BOTTOMGAP=0.05,
$
TYPE=DATA,
COLUMN=ACCT_UNIT,
STYLE=BOLD,
$
TYPE=TITLE,
BOTTOMGAP=0.02,
BORDER-BOTTOM=LIGHT,
STYLE=BOLD,
JUSTIFY=CENTER,
$
TYPE=TITLE,
COLUMN=G(*),
BORDER-BOTTOM=OFF,
SIZE=5,
$
TYPE=SUBTOTAL,
TOPGAP=0.08,
BOTTOMGAP=0.02,
BORDER=LIGHT,
BORDER-COLOR='WHITE',
$
TYPE=SUBTOTAL,
BY=1,
BORDER=LIGHT,
BORDER-COLOR='WHITE',
STYLE=BOLD,
$
TYPE=SUBTOTAL,
BY=1,
COLUMN=N4,
BORDER-TOP=LIGHT,
BORDER-TOP-COLOR='BLACK',
BORDER-BOTTOM=HEAVY,
BORDER-BOTTOM-COLOR='BLACK',
$

TYPE=REPORT,
COLUMN=G(*),
SQUEEZE=OFF,
$
END


Definitely not the definitive answer.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 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     Compound report problems

Copyright © 1996-2020 Information Builders