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] heading and footing - Justify issue -

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] heading and footing - Justify issue -
 Login/Join
 
Member
posted
Here is a code example using CAR file. Report run date wont move to the right justify. The footing wont move the right justify. Am I missing something?

-DEFAULT &WFFMT = 'HTML';
TABLE FILE CAR
PRINT
SEATS
LENGTH
WIDTH
RETAIL_COST
DEALER_COST
SALES
BY CAR
BY MODEL
HEADING
"CAR INVENTORY<+0>Report Run:&DATEMDYY"
" EVALUATION"
" "
FOOTING BOTTOM
" END OF EVALUATION <+0> Page UserID:&IBIMR_user"
-SET &FORMAT_LAYOUT = DECODE &WFFMT ('PDF' 'ON TABLE PCHOLD FORMAT PDF'
- 'EXL2K' 'ON TABLE PCHOLD FORMAT EXL2K'
- ELSE 'ON TABLE SET ONLINE-FMT HTML ON TABLE SET HTMLCSS ON');
&FORMAT_LAYOUT
ON TABLE SUMMARIZE AS 'Total'
ON TABLE SET PAGE-NUM OFF
ON TABLE SET STYLE *
TYPE=REPORT,GRID=OFF,
FONT='ARIAL',
SIZE=10,COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
TOPGAP=0.013889,
BOTTOMGAP=0.000000,
JUSTIFY=LEFT, $
TYPE=HEADING,WRAP=OFF, $
TYPE=HEADING,LINE=1,SIZE=12,STYLE=BOLD,JUSTIFY=CENTER, $
TYPE=HEADING,LINE=1,OBJECT=TEXT,ITEM=2,SIZE=12,JUSTIFY=RIGHT, $
TYPE=HEADING,LINE=1,OBJECT=FIELD,ITEM=2,SIZE=12,JUSTIFY=RIGHT, $
TYPE=HEADING,LINE=2,SIZE=12,STYLE=BOLD,JUSTIFY=CENTER, $
TYPE=FOOTING,LINE=1,OBJECT=TEXT,ITEM=1,STYLE=ITALIC,JUSTIFY=LEFT, $
TYPE=FOOTING,LINE=1,OBJECT=TEXT,ITEM=2,STYLE=ITALIC,JUSTIFY=CENTER, $
TYPE=FOOTING,LINE=1,OBJECT=TEXT,ITEM=3,STYLE=ITALIC,JUSTIFY=CENTER, $
TYPE=FOOTING,LINE=1,OBJECT=TEXT,ITEM=4,STYLE=ITALIC,JUSTIFY=RIGHT, $
TYPE=GRANDTOTAL,STYLE=BOLD, $
TYPE=TITLE,STYLE=BOLD, $
TYPE=TITLE,COLUMN=CATEGORY,JUSTIFY=LEFT, $
ENDSTYLE
END

This message has been edited. Last edited by: <Kathryn Henning>,
 
Posts: 3 | Registered: February 27, 2013Report This Post
Virtuoso
posted Hide Post
Add this
TYPE=FOOTING, HEADALIGN=BODY,$

ON TABLE SET HTMLCSS ON
will need to be removed and spaces between Spot markers and add more
You only have two...not four items.
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Member
posted Hide Post
Thank you,Praroe.. One more question about the heading...HMTL wont move the title to the center position and the date should be placed on the right side.. EXCEL works fine for the title but not for report run date to the right justification. PDF wont move anything for the title row.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 3 | Registered: February 27, 2013Report This Post
Virtuoso
posted Hide Post
Take a look at this article by Mickey.
There is a part 2 also. Explains a lot about formatting in different outputs.

Article
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Member
posted Hide Post
Thank you for the article which was very helpful and resolved my issues. Thanks again


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 3 | Registered: February 27, 2013Report This Post
Expert
posted Hide Post
This is really a work-around, not a solution.

Cheers,


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
Guru
posted Hide Post
If you are dead set on using the date and heading on the same line, the only way I know of to justify them separately is to use the GRID. Otherwise you could do something like this;

 
-DEFAULT &WFFMT = 'PDF';
SET ORIENTATION = LANDSCAPE

TABLE FILE CAR
PRINT 
     CAR.BODY.SEATS
     CAR.SPECS.LENGTH
     CAR.SPECS.WIDTH
     CAR.BODY.RETAIL_COST
     CAR.BODY.DEALER_COST
     CAR.BODY.SALES
BY  CAR.COMP.CAR
BY  CAR.CARREC.MODEL
HEADING
"Report Run:&DATEHMTDYYIA "
"CAR INVENTORY"
" EVALUATION"
" "
FOOTING BOTTOM
"END OF EVALUATION"
"UserID:&IBIMR_user"
" "
" Page <TABPAGENO of <TABLASTPAGE "

ON TABLE SET PAGE-NUM OFF 
ON TABLE SUMMARIZE AS 'Total'
ON TABLE PCHOLD FORMAT &WFFMT
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,
$
TYPE=REPORT,
     FONT='ARIAL',
     SIZE=10,
     COLOR='BLACK',
     BACKCOLOR='NONE',
     STYLE=NORMAL,
     TOPGAP=0.013889,
     BOTTOMGAP=0.000000,
	 TOPMARGIN= 0.02500,
	 BOTTOMMARGIN = 0.02500,
	 LEFTMARGIN=0.5000,
	 RIGHTMARGIN=0.5000,
$
TYPE=TABFOOTING,
     LINE=1,
     OBJECT=TEXT,
     ITEM=1,
     SIZE=10,
     STYLE=BOLD,
$
TYPE=TABFOOTING,
     LINE=2,
     JUSTIFY=LEFT,
$
TYPE=TABFOOTING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=1,
     SIZE=10,
     STYLE=BOLD,
$
TYPE=HEADING,
     LINE=1,
	 SIZE=9,
     JUSTIFY=RIGHT,
$
TYPE=HEADING,
	 SIZE=12,
     JUSTIFY=CENTER,
$
TYPE=FOOTING,
     LINE=1,
     JUSTIFY=CENTER,
$
TYPE=FOOTING,
     JUSTIFY=LEFT,
$
ENDSTYLE
END

 


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report 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] heading and footing - Justify issue -

Copyright © 1996-2020 Information Builders