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     [SHARING] Aligning Column Totals in IA

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SHARING] Aligning Column Totals in IA
 Login/Join
 
Platinum Member
posted
I noticed this post from 4 years ago [CASE-OPENED] Alignment option on column totals and am wondering if it was ever fixed and if it is now broken in 8.2? Because I can't seem to find a way to center my column totals although I can center the title and the data.

Thanks.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Expert
posted Hide Post
I've not played with it much. But there is an 'Alignment Grid' available for that.

I think it was demoed in the 'InfoAssist: Reports for the Board' webcast. Check it out...




   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
Platinum Member
posted Hide Post
Doug, the December webinar "Reports for the Board, not Bored" was for AppStudio, not InfoAssist. But thanks for the thought!
There doesn't appear to be any alignment grid or other option for subtotals in InfoAssist. Frowner

This message has been edited. Last edited by: DWaybright,


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Expert
posted Hide Post
Sorry about that... Frowner It's not intuitive even in 8204.

However, I got this handy tip from a Friend of mine, Focal Point: TomsWeb, that will accomplish what you're asking for. It's a few steps, as follows:

1) Style the whole report as 'Centered'.
2) Goto to each Column in the report and style it as Left or Right justified, as required, and whatever other formats that you want.
3) Wah Lah... Done...

PM TomsWeb and say Thanks...

Here's my code after doing that:
ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET SQUEEZE=ON
-DEFAULTH &WF_HTMLENCODE=ON;
SET HTMLENCODE=&WF_HTMLENCODE

SET HTMLCSS=ON
-DEFAULTH &WF_EMPTYREPORT=ON;
SET EMPTYREPORT=&WF_EMPTYREPORT

-DEFAULTH &WF_SUMMARY='Summary';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
TABLE FILE baseapp/car
SUM CAR.BODY.RETAIL_COST
CAR.BODY.DEALER_COST
CAR.BODY.SEATS
BY CAR.ORIGIN.COUNTRY
BY CAR.CARREC.MODEL
BY CAR.COMP.CAR
ON TABLE PCHOLD FORMAT HTML
ON TABLE RECOMPUTE
ON TABLE SET CACHELINES 100
ON TABLE SET GRWIDTH 1
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$
TYPE=REPORT, JUSTIFY=CENTER, FONT='ARIAL', SIZE=9, COLOR=RGB(20 20 20), STYLE=BOLD, TITLETEXT=&WF_TITLE.QUOTEDSTRING, SUMMARY=&WF_SUMMARY.QUOTEDSTRING, ORIENTATION=LANDSCAPE, HYPERLINK-COLOR=RGB(20 20 20), $
TYPE=DATA, JUSTIFY=CENTER, FONT='ARIAL', SIZE=9, COLOR=RGB(20 20 20), STYLE=BOLD, HYPERLINK-COLOR=RGB(20 20 20), $
TYPE=DATA, COLUMN=N1, JUSTIFY=LEFT, STYLE=NORMAL, $
TYPE=DATA, COLUMN=N2, JUSTIFY=LEFT, STYLE=NORMAL, $
TYPE=DATA, COLUMN=N3, JUSTIFY=LEFT, STYLE=NORMAL, $
TYPE=DATA, COLUMN=N4, JUSTIFY=RIGHT, STYLE=NORMAL, $
TYPE=DATA, COLUMN=N5, JUSTIFY=RIGHT, STYLE=NORMAL, $
TYPE=DATA, COLUMN=N6, JUSTIFY=RIGHT, STYLE=NORMAL, $
TYPE=TITLE, JUSTIFY=CENTER, FONT='ARIAL', SIZE=9, COLOR=RGB(20 20 20), STYLE=BOLD, HYPERLINK-COLOR=RGB(20 20 20), $
TYPE=TITLE, COLUMN=N1, JUSTIFY=LEFT, STYLE=BOLD, $
TYPE=TITLE, COLUMN=N2, JUSTIFY=LEFT, STYLE=BOLD, $
TYPE=FOOTING, LINE=1, JUSTIFY=LEFT, $
TYPE=FOOTING, LINE=1, ITEM=1, OBJECT=FIELD, FONT='ARIAL', SIZE=10, COLOR=RGB(75 75 75), STYLE=NORMAL, $
TYPE=FOOTING, LINE=1, ITEM=1, OBJECT=TEXT, FONT='ARIAL', SIZE=10, COLOR=RGB(75 75 75), STYLE=NORMAL, $
TYPE=FOOTING, LINE=1, ITEM=2, OBJECT=FIELD, FONT='ARIAL', SIZE=10, COLOR=RGB(75 75 75), STYLE=NORMAL, $
TYPE=FOOTING, LINE=1, ITEM=2, OBJECT=TEXT, FONT='ARIAL', SIZE=10, COLOR=RGB(75 75 75), STYLE=NORMAL, $
TYPE=FOOTING, LINE=1, ITEM=3, OBJECT=FIELD, FONT='ARIAL', SIZE=10, COLOR=RGB(75 75 75), STYLE=NORMAL, $
TYPE=FOOTING, LINE=1, ITEM=3, OBJECT=TEXT, FONT='ARIAL', SIZE=10, COLOR=RGB(75 75 75), STYLE=NORMAL, $
TYPE=FOOTING, LINE=1, ITEM=4, OBJECT=FIELD, FONT='ARIAL', SIZE=10, COLOR=RGB(75 75 75), STYLE=NORMAL, $
TYPE=FOOTING, LINE=1, ITEM=4, OBJECT=TEXT, FONT='ARIAL', SIZE=10, COLOR=RGB(75 75 75), STYLE=NORMAL, $
TYPE=FOOTING, LINE=1, ITEM=5, OBJECT=TEXT, FONT='ARIAL', SIZE=10, COLOR=RGB(75 75 75), STYLE=NORMAL, $
TYPE=FOOTING, LINE=1, ITEM=5, OBJECT=FIELD, FONT='ARIAL', SIZE=10, COLOR=RGB(75 75 75), STYLE=NORMAL, $
ENDSTYLE
END

-RUN

I'm not sure (imho) why you want "to center my column totals" when the data is left justified. Unless you're already centering the associated data columns, which would make them hard to read as the numbers wouldn't be aligned.

~ Doug




   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
Expert
posted Hide Post
You may want to tag this as
"[SHARING] Aligning Column Totals in IA"
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Master
posted Hide Post
Nice Thread


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Platinum Member
posted Hide Post
Doug,
Thanks for the code, but I'm actually posting on behalf of one of my users -- they only use IA. The data in the column he is working with is centered. He knows it will be a single digit number, so the column will look fine, but he thinks it is weird that the column is centered but then the total is right justified.
Sounds like I need to open a case if we want this option added to InfoAssist.


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Master
posted Hide Post
You could center justify your grand total line with a custom style sheet. Save it where the other style sheets are located. Then open the fex in which you want to useselect it


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Master
posted Hide Post
You could center justify your grand total line with a custom style sheet. After making the changes. save it where the other style sheets are located.

To apply that style sheet, open the focexec, go to the Home tab, then in the Report group, click Theme and select your custom style sheet.


http://forums.informationbuild...667014096#2667014096

This message has been edited. Last edited by: Tomsweb,


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Platinum Member
posted Hide Post
Tomsweb -- That is a great idea! I think I will pursue that option.
Thanks!


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report 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     [SHARING] Aligning Column Totals in IA

Copyright © 1996-2020 Information Builders