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     Why does the total on a by show one row below

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Why does the total on a by show one row below
 Login/Join
 
Gold member
posted
Why does the column total show one row under the Total row?
 
Posts: 72 | Registered: April 03, 2006Report This Post
Virtuoso
posted Hide Post
Can you give an example of what you are saying...cause I'm not sure...what you mean.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Virtuoso
posted Hide Post
Usually I've seen that happen when the value of the by field is longer when the *TOTAL ..... is generated, so FOCUS puts the totals on another line to line up with the columns.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Guru
posted Hide Post
This is a regular issue and I recommend the following link:

http://techsupport.informationbuilders.com/app/css_web_...rpt_fmt_subtotal.htm

Also search this forum for 'total line'

HTH


jimster06
DevStu WF 7.6.11
W7
HTML, PDF, EXL2K
 
Posts: 252 | Location: USA | Registered: April 15, 2003Report This Post
Gold member
posted Hide Post
When I tweak the code the suggested code I can an error, below is my procedure. Any ideas?
Still getting the blank total on the next line. Not right next to the total.


DEFINE FILE SMART_CONTRACT_HOLD
BLANK/A1 WITH 'Broker_City' = '';
END
TABLE FILE CONTRACT_HOLD

PRINT
'CO.Ceding_Company_Name/A45' AS 'Cede Name'
'Contract_ID/A5' AS 'Contract'
'MGA_Name/A20' AS 'MGA Name'
'Description_or_Insured/A25' AS 'Short Desc'
'Contract_Class_Desc/A10' AS 'Class'
'Contract_Effective_Date/HMDYY' AS 'Eff Date'
'Anniversary_Date/HMDYY' AS 'Ann Date'
'FRC_Premium/D15' AS 'FRC Premium'
'FRC_Percent/D7.2%' AS 'FRC Percent'
'Broker_Contact/A30' AS 'Broker Contact'
'Underwriter_Name/A35' AS 'Underwriter'
BY
'Broker_City' NOPRINT

ON SMART_CO.Broker_City SUBHEAD
"" "
ON Broker_City NOPRINT SUBTOTAL
FRC_Premium AS 'TOTAL'
ON TABLE SUBHEAD
 
Posts: 72 | Registered: April 03, 2006Report This Post
Expert
posted Hide Post
What is the error you're getting?

I've been at this WebFOCUS game for a long time and have never found a definitive solution to the problem. All the explanations in the world haven't convinced me that it really has to be this way.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
No real solution, but I was playing with a fex today for another answer on the forum and determined if you change the column heading to be a bit wider then the 'TOTAL' discription can show and the data on the same row.

My main sort colum header was 'Rt,Term,Code' I change it to 'Term Code' and low behold the TOTAL line didn't go to two lines any more.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Gold member
posted Hide Post
This is where I'm confused.
Been playing with the code and the below line works great, except when I add the NOPRINT then it prints *Total Atlanta and the number prints on the line under this one. Why???? Why does Webfocus take the liberty to insert the string "*Total"?
BY 'Broker_City' SUBTOTAL
or
BY 'Broker_City' NOPRINT SUBTOTAL
 
Posts: 72 | Registered: April 03, 2006Report This Post
Expert
posted Hide Post
*Total is the default subtotal text.

Try BY 'Broker_City' NOPRINT SUBTOTAL AS 'Broker City'


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
RC,

Here is a link to a thread discussing this very topic sometime last year. I tried to explain the behavior by using examples using the car file. I hope it sheads some light on the subject.

The key to whether or not the "*Total" appears on the same line as the values is determined by the width of the BY fields that APPEAR on the report. This is way a NOPRINT on the BY field changed the behavior.

https://forums.informationbuilders.com/eve/forums/a/...471078331#3471078331


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Gold member
posted Hide Post
I think understand but can't seem to prove it.
The broker_city is A75 which is a long field.
There isn't any cities that are that long so another 7 chars for "*Total " should not make a difference.

Read through the link... How does NOPRINT affect the width of the field???
 
Posts: 72 | Registered: April 03, 2006Report This Post
Gold member
posted Hide Post
ok. "The key here is that the BY fields THAT ARE VISIBLE determine how much space there is to put the "*TOTAL ..." label. "

Looks like the rule is, you can't hide all the BY fields. If you do then WF doesn't know how wide to make the field so it takes a whole row in excel. Would this be safe to say?
 
Posts: 72 | Registered: April 03, 2006Report This Post
Virtuoso
posted Hide Post
If you are hiding (NOPRINT) the BY fields then the "TOTAL" will appear on a seperate line for ANY output format.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
"If you are hiding (NOPRINT) the BY fields then the "TOTAL" will appear on a seperate line for ANY output format."

Wow! I think I got it! Thanks!


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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     Why does the total on a by show one row below

Copyright © 1996-2020 Information Builders