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.
Hi Having issue with Headers.. its not adding a space where I need and adding spaces where I don't need. Sounds simple, but driving me crazy..
Can someone tell me what I am missing? THANKS
** OUTPUT looks like below ** MAYSVILLE,KY Financial Impact Evaluation - July 2013
** Code ** -* year from Launch Page -DEFAULT &FISC_YEAR = '2013'; .. DEFINE ... -*City, State LNAME/A35=LOC_NAME||', '||LOCATION_STATE; -* Mon EMO/Mtr=&PROC_MONTH; END
TABLE FILE .. SUM MTD_AMT1 NOPRINT BY LINE_DESCRIPT NOPRINT ON LINE_DESCRIPT SUBHEAD "Financial Analysi.." (WORKS) "Income" (WORKS) " Net Income Resources.." (WORKS) ON TABLE SUBHEAD "" (NO SPACE AFTER COMMA,see above) "Financial Impact Evaluation - <+0><+0>&FISC_YEAR" (ADDS SPACES AFTER - AND MON" - July 2013 FOOTING "" ON TABLE SET PAGE-NUM NOLEAD ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN, PAGESIZE='Letter', LEFTMARGIN=0.500000, RIGHTMARGIN=0.500000, TOPMARGIN=0.500000, BOTTOMMARGIN=0.500000, SQUEEZE=ON, GRID=ON, ORIENTATION=LANDSCAPE,$
Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 ) SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2 WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
Posts: 134 | Location: USA | Registered: August 21, 2008
Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 ) SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2 WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
Posts: 134 | Location: USA | Registered: August 21, 2008
In the HTML Report 1st Example Spaces are lot more than whats shows here... 10 spaces AFTER the comma
the same in the sample two 10 spaces BEFORE the comma
I selected from the heading and pasted in notepad to remove the extra lines that are not relevant here , then cut and pasted here.. its normal but in html report it has 10 spaces
Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 ) SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2 WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
Posts: 134 | Location: USA | Registered: August 21, 2008
HTML doesn't add space, LOC_NAME definition is longer than the field value, maybe something like A10 where MAYSVILLE is 9 long, so you have a space which is the left side field of the concatenation using the single pipe.
Single pipe ( | ) concatenate WITHOUT removing trailing space on the left side field of the concatenation.
Double pipe ( || ) concatenate WITH removing trailing space on the left side field of the concatenation.
Please provide sample a is and input field definition (MFD).
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
Thanks Martin and Francis brackets solved the issue of the 1st Line.. Thanks
2nd line of the heading its Adding space BEFORE July and also before 2013
Thanks
here is the code
ON TABLE SUBHEAD
"<LNAME>"
"Financial Impact Evaluation - <+0><EMO><FY>"
FOOTING
""
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='Letter',
LEFTMARGIN=0.500000,
RIGHTMARGIN=0.500000,
TOPMARGIN=0.500000,
BOTTOMMARGIN=0.500000,
SQUEEZE=ON,
GRID=OFF,
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,FONT='ARIAL',SIZE=9,$
-* HEADING
TYPE=TABHEADING,HEADALIGN=BODY,$
TYPE=TABHEADING,LINE=1,SIZE=8,COLOR='RED',STYLE=BOLD,POSITION=3.5,$
-*"Financial Impact Evaluation <+0><EMO><+0>&FISC_YEAR"
TYPE=TABHEADING,LINE=2,ITEM=1,POSITION=3,SIZE=8,STYLE=BOLD,SQUEEZE=ON,$
TYPE=TABHEADING,LINE=2,ITEM=2,SIZE=8,STYLE=BOLD,COLSPAN=1,SQUEEZE=ON,$
TYPE=TABHEADING,LINE=2,ITEM=3,SIZE=8,STYLE=BOLD,COLSPAN=1,SQUEEZE=ON,$
TYPE=TABHEADING,LINE=2,ITEM=4,SIZE=8,STYLE=BOLD,COLSPAN=1,SQUEEZE=ON,$
-*
Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 ) SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2 WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
Posts: 134 | Location: USA | Registered: August 21, 2008