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.
When I run the report in PDF with ACROSS value, Justify option is not working.
Try the following code,
HTML - gives me the desired output PDF - not aligned proper
TABLE FILE CAR SUM DEALER_COST/D12.1 AS '' BY COUNTRY AS '' ACROSS CAR AS '' WHERE RECORDLIMIT EQ 10 ON TABLE PCHOLD FORMAT HTML ON TABLE SET STYLE * TYPE=REPORT,GRID=OFF,SQUEEZE=ON,SIZE=7,$ TYPE=ACROSSVALUE,COLOR=GREEN,JUSTIFY=RIGHT,$ TYPE=REPORT,ACROSSCOLUMN=DEALER_COST,JUSTIFY=RIGHT,COLOR=RED,$ ENDSTYLE END -EXIT
I'm not sure where I'm missing, Please let me know your thoughts.
Thanks
WFConsultant
WF 8105M on Win7/Tomcat
Posts: 780 | Location: Florida | Registered: January 09, 2005
1) Make sure the WRAP is set for both the ACROSSVALUE and the ACROSSCOLUMN. 2) Make sure the WRAP value is wide enough for both the across values and the across column values. 3) Make sure the WRAP value is EXACTLY THE SAME in both statements.
For Example:
TABLE FILE CAR SUM DEALER_COST/D12.1 AS '' BY COUNTRY AS '' ACROSS CAR AS '' WHERE RECORDLIMIT EQ 10 ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * TYPE=REPORT,GRID=OFF,SQUEEZE=ON,SIZE=7,WRAP=0.60,$ TYPE=ACROSSVALUE,COLOR=GREEN,JUSTIFY=RIGHT,WRAP=0.60,$ TYPE=REPORT,ACROSSCOLUMN=DEALER_COST,JUSTIFY=RIGHT,COLOR=RED,$ ENDSTYLE END
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003
In regards to your experience with your request, I suggest opening a case with IBI Tech Support. This looks like it may be an issue/bug.
Francis,
Here's my guess why it didn't work as expected:
The engine that creates the PDF probably applied the SQUEEZE to the ACROSSVALUES seperately from the ACROSSCOLUMN values. Therefore it came up with a different column width for the ACROSSVALUES for CAR than it did for the ACROSSCOLUMN values for DEALER_COST. Applying the WRAP setting forces the same column width for both. Judging from the way the results appear, this looks like it may be what is happening. Changing the format for DEALER_COST makes it longer so the calculated column width for DEALER_COST is wider. Ironically if you make the format D12.6 everything still works because the column width for the ACROSSVALUES adjusts to match the column width for DEALER_COST values.
Very interesting.
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003