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.
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 ENDThis message has been edited. Last edited by: <Kathryn Henning>,
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.
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