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] Compound Report Border Break Issue

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Compound Report Border Break Issue
 Login/Join
 
Platinum Member
posted
I have a compound report that I am trying to add Title Borders too. I have a style sheet for each report but when I run the report the only one that looks right is the last one on the report. The other reports have the Border lines all scrambled on the report.

There are 6 reports total and they all print out on the same page of the Excel document. The first reports end with
ON TABLE PCHOLD FORMAT EXL2K OPEN NOBREAK

-INCLUDE marketing/style_rolling_12.fex

The middle reports end with
ON TABLE PCHOLD FORMAT EXL2K NOBREAK

-INCLUDE marketing/style_current_yr_rpt_1.fex

And the last report ends with

ON TABLE PCHOLD FORMAT EXL2K CLOSE
-INCLUDE marketing/style_brokerage_rpt_1.fex

If I comment out all includes except the first one the report looks ok for the first report. When I bring in the second include for the second report, the second report looks ok but the first report has a Top-border put on the last two columns. It just gets worse the more includes I put back in.

Any help would be greatly appreciated.

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


WebFOCUS 8105m
Windows, All Outputs
 
Posts: 156 | Registered: August 23, 2010Report This Post
Platinum Member
posted Hide Post
Here is my code.

ON TABLE SET STYLE *
UNITS=IN,
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
FONT='TIMES NEW ROMAN',
SIZE=10,
$
TYPE=TITLE,
COLUMN=N1,
BORDER-BOTTOM=LIGHT,
$
TYPE=TITLE,
COLUMN=N2,
BORDER-BOTTOM=LIGHT,
$
TYPE=TITLE,
COLUMN=N3,
BORDER-BOTTOM=LIGHT,
$
TYPE=TITLE,
COLUMN=N4,
BORDER-BOTTOM=LIGHT,
$
TYPE=TITLE,
COLUMN=N5,
BORDER-BOTTOM=LIGHT,
$
TYPE=TITLE,
COLUMN=N6,
BORDER-BOTTOM=LIGHT,
STYLE=BOLD,
$
TYPE=TITLE,
COLUMN=N7,
BORDER-BOTTOM=LIGHT,
STYLE=BOLD,
$
TYPE=TITLE,
COLUMN=N8,
BORDER-BOTTOM=LIGHT,
STYLE=BOLD,
$
TYPE=TITLE,
COLUMN=N9,
BORDER-BOTTOM=LIGHT,
STYLE=BOLD,
$
TYPE=TITLE,
COLUMN=N10,
BORDER-BOTTOM=LIGHT,
STYLE=BOLD,
$
TYPE=TITLE,
COLUMN=N11,
BORDER-BOTTOM=LIGHT,
STYLE=BOLD,
$
TYPE=TITLE,
COLUMN=N12,
BORDER-BOTTOM=LIGHT,
STYLE=BOLD,
$
TYPE=TITLE,
COLUMN=N13,
BORDER-BOTTOM=LIGHT,
STYLE=BOLD,
$
TYPE=TITLE,
COLUMN=N14,
BORDER-BOTTOM=LIGHT,
STYLE=BOLD,
$
TYPE=TITLE,
COLUMN=N15,
BORDER-BOTTOM=LIGHT,
STYLE=BOLD,
$
TYPE=TITLE,
COLUMN=N16,
BORDER-BOTTOM=LIGHT,
STYLE=BOLD,
$
TYPE=TITLE,
COLUMN=N17,
BORDER-BOTTOM=LIGHT,
STYLE=BOLD,
$
TYPE=HEADING,
JUSTIFY=CENTER,
STYLE=BOLD,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=1,
JUSTIFY=LEFT,
WIDTH=1.000,
$
TYPE=HEADING,
LINE=2,
OBJECT=TEXT,
ITEM=1,
JUSTIFY=LEFT,
WIDTH=1.000,
$
TYPE=REPORT,
COLUMN=N7,
WRAP=.5,
$
TYPE=REPORT,
COLUMN=N8,
$
TYPE=REPORT,
COLUMN=N9,
WRAP=.5,
$
TYPE=REPORT,
COLUMN=N10,
WRAP=.5,
$
TYPE=REPORT,
COLUMN=N11,
WRAP=1,
$
TYPE=REPORT,
COLUMN=N12,
WRAP=1,
$
TYPE=REPORT,
COLUMN=N13,
WRAP=1,
$
TYPE=REPORT,
COLUMN=N14,
WRAP=1,
$
TYPE=REPORT,
COLUMN=N15,
WRAP=1,
$
TYPE=REPORT,
COLUMN=N16,
WRAP=1,
$
TYPE=REPORT,
COLUMN=N17,
WRAP=1,
$
ENDSTYLE
END


WebFOCUS 8105m
Windows, All Outputs
 
Posts: 156 | Registered: August 23, 2010Report This Post
Member
posted Hide Post
In the PAGEMASTER syntax of the fex i would use the object syntax to draw any lines/borders in a compound report.
In other words don't use the BORDER-BOTTOM etc in table file requets rather use the following syntax in the pagemaster:-
OBJECT=LINE, POSITION=(6.250 1.500), ENDPOINT=(6.250 8.2),BORDER-COLOR=GRAY,$


WebFOCUS release 7
OS/Windows
html
 
Posts: 8 | Registered: April 30, 2013Report This Post
Member
posted Hide Post
Also I should add that to get the grid around a title in compound report I set the grid off in the report syntax and for each TYPE in the style sheet I set the GRID=ON
Example
TYPE=REPORT,GRID=OFF,$
TYPE=TITLE,COLUMN=COUNTRY,GRID=ON,$
TYPE=DATA,GRID=ON,$
This should give you what you need.


WebFOCUS release 7
OS/Windows
html
 
Posts: 8 | Registered: April 30, 2013Report This Post
Platinum Member
posted Hide Post
How would I code it if I wanted to put a line under TYPE=GRANDTOTAL,

All I need to do is separate each report with a line but the row counts change depend on the number of rows printed for each report. One county may have two rows where another may have 10.


Thanks


WebFOCUS 8105m
Windows, All Outputs
 
Posts: 156 | Registered: August 23, 2010Report This Post
Member
posted Hide Post
I see. To underline when the sort breaks to grand total you would have to maybe use
TABLE FILE CAR
SUM SALES
BY COUNTRY
ON TABLE SUMMARIZE
ON TABLE SET STYLE *
TYPE=GRANDTOTAL,STYLE=BOLD+UNDERLINE,$
ENDSTYLE

END
-RUN


WebFOCUS release 7
OS/Windows
html
 
Posts: 8 | Registered: April 30, 2013Report This Post
Expert
posted Hide Post
Here's a trick that works, providing that you're not using TABLE HEADING for somthing else:
TABLE FILE CAR
. . .
ON TABLE SUBFOOT
""
. . .
TYPE=TABFOOTING, COLOR=RED, BORDER-TOP=HEAVY, BORDER-BOTTOM=OFF, BORDER-LEFT=OFF, BORDER-RIGHT=OFF,$
. . .
ENDSTYLE
END
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Platinum Member
posted Hide Post
Ok, thanks for all the help on this....

Helper and Doug, both examples worked like a great. The customer is happy with the results so I can move this into production.

I went with the code that Helper sent because it allowed me to use the same style sheet for each compound report. Doug’s code would work but because the column count changes in each report, and I would have to use a different style sheet for each report so that I could count the columns.

Thanks again.


WebFOCUS 8105m
Windows, All Outputs
 
Posts: 156 | Registered: August 23, 2010Report This Post
Expert
posted Hide Post
No Problem. But, how is: "TYPE=TABFOOTING, COLOR=RED, BORDER-TOP=HEAVY, BORDER-BOTTOM=OFF, BORDER-LEFT=OFF, BORDER-RIGHT=OFF,$" affect by the number of cloumns?
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Member
posted Hide Post
Hi Guys,
I think when using a compound report any syntax of BORDER-TOP=HEAVY etc etc causes a problem with the layout. I use the BORDER only on non compound reports and it works great.


WebFOCUS release 7
OS/Windows
html
 
Posts: 8 | Registered: April 30, 2013Report This Post
Expert
posted Hide Post
quote:
I've used the BORDER on compound reports and it works great.




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 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     [SOLVED] Compound Report Border Break Issue

Copyright © 1996-2020 Information Builders