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.
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, 2004
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
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
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, 2004
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
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.
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???
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?