Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SHARING] Aligning Column Totals in IA
Go
New
Search
Notify
Tools
Reply
  
[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: 142 | Location: Indiana | Registered: December 05, 2017Reply With QuoteReport 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.
   Most recent: 8204 Gen 48 in Test and Production.
 
Posts: 3045 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport 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: 142 | Location: Indiana | Registered: December 05, 2017Reply With QuoteReport 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.
   Most recent: 8204 Gen 48 in Test and Production.
 
Posts: 3045 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
You may want to tag this as
"[SHARING] Aligning Column Totals in IA"
 
Posts: 3045 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport 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: 553 | Location: Baltimore, MD | Registered: July 06, 2006Reply With QuoteReport 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: 142 | Location: Indiana | Registered: December 05, 2017Reply With QuoteReport 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: 553 | Location: Baltimore, MD | Registered: July 06, 2006Reply With QuoteReport 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: 553 | Location: Baltimore, MD | Registered: July 06, 2006Reply With QuoteReport 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: 142 | Location: Indiana | Registered: December 05, 2017Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SHARING] Aligning Column Totals in IA

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.