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     Subtotal NOPRINT Drilldown

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Subtotal NOPRINT Drilldown
 Login/Join
 
Platinum Member
posted
Would someone mind trying this little snippet of code and tell me if it works?

We're trying to add a drill-down to a subtotal but we don't want the by field to be displayed. So the snippet works as long as I take the noprint off of the by field, but as soon as the noprint is there, it results in an agent crash. I'd like to know what, if anything, it does on someone else's installation -- be it crash, work, or error.

TABLE FILE CAR
PRINT
     CAR
     DEALER_COST
BY COUNTRY NOPRINT
ON COUNTRY SUBTOTAL AS '*TOTAL'
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
TYPE=SUBTOTAL,
     BY=1,
     FOCEXEC=app/test2y45,
     BACKCOLOR=YELLOW,
$
ENDSTYLE
END


Thanks!!



Production: 7.6.6 WF Server  <=>  7.6.6 WF Client  <=>  7.6.6 Dev Studio
Testing: <none>
Using MRE & BID.  Connected to MS SQL Server 2005
Output Types: HTML, Excel, PDF
 
Posts: 230 | Location: Wichita, KS | Registered: May 27, 2005Report This Post
Virtuoso
posted Hide Post
What is the code in test2y45?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Platinum Member
posted Hide Post
It's just a dummy fex -- it doesn't matter. When I run the above, I never even get a report to display so I never even get the opportunity to drill to anything.



Production: 7.6.6 WF Server  <=>  7.6.6 WF Client  <=>  7.6.6 Dev Studio
Testing: <none>
Using MRE & BID.  Connected to MS SQL Server 2005
Output Types: HTML, Excel, PDF
 
Posts: 230 | Location: Wichita, KS | Registered: May 27, 2005Report This Post
Virtuoso
posted Hide Post
Well, under MRE 7.6.2 on Win platform, the report ran fine, yellow highlight came up and I changed the drill down to a fex in the area and it ran from the drill down.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
Report ran fine as-is in 5.3.2 self-service and MRE.


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
Guru
posted Hide Post
It ran fine as is in 7.1.3 Self-Serve.


(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
 
Posts: 391 | Location: California | Registered: April 14, 2003Report This Post
Platinum Member
posted Hide Post
I think I oversimplified my repro. Would one of you try this please?

TABLE FILE CAR
PRINT
     CAR
     DEALER_COST
BY COUNTRY NOPRINT
ON COUNTRY SUBTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=SUBTOTAL,
     BY=1,
-*	 COLUMN=DEALER_COST,
     FOCEXEC=app/test2y45,
$
ENDSTYLE
END


If that blows up, try uncommenting the "COLUMN=DEALER_COST" line. If that works, switch it back and try commenting out the "SET HTMLCSS ON" line. If I leave it as-is above, it blows up, if I make either of the changes then it works. As it turns out, we might end up using the COLUMN= anyway -- just confusing why I'm getting agent crashes. I'll be working with techsupport too -- just wondering who else is experiencing the same thing.

thanks for your help!!



Production: 7.6.6 WF Server  <=>  7.6.6 WF Client  <=>  7.6.6 Dev Studio
Testing: <none>
Using MRE & BID.  Connected to MS SQL Server 2005
Output Types: HTML, Excel, PDF
 
Posts: 230 | Location: Wichita, KS | Registered: May 27, 2005Report This Post
Guru
posted Hide Post
These both works for me in 762

TABLE FILE CAR
PRINT
CAR
DEALER_COST
BY COUNTRY NOPRINT
ON COUNTRY SUBTOTAL
ON TABLE PCHOLD FORMAT HTML
-*ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=SUBTOTAL,
BY=1,
COLUMN=DEALER_COST,
FOCEXEC=app/unix_test.fex,
$
ENDSTYLE
END


-------------------------OR------------------------


TABLE FILE CAR
PRINT
CAR
DEALER_COST
BY COUNTRY NOPRINT
ON COUNTRY SUBTOTAL
ON TABLE PCHOLD FORMAT HTML
-*ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=SUBTOTAL,
BY=1,
-* COLUMN=DEALER_COST,
FOCEXEC=app/unix_test.fex,
$
ENDSTYLE
END


WF 8.x and 7.7.x Win/UNIX/AS400, MRE/Portal/Self-Service, IIS/Tomcat, WebSphere, IWA, Realmdriver, Active Directory, Oracle, SQLServer, DB2, MySQL, JD Edwards, E-BIZ, SAP BW, R/3, ECC, ESSBASE
 
Posts: 285 | Location: Texas | Registered: June 27, 2006Report This Post
Platinum Member
posted Hide Post
What about as-is? Did it work that way too?



Production: 7.6.6 WF Server  <=>  7.6.6 WF Client  <=>  7.6.6 Dev Studio
Testing: <none>
Using MRE & BID.  Connected to MS SQL Server 2005
Output Types: HTML, Excel, PDF
 
Posts: 230 | Location: Wichita, KS | Registered: May 27, 2005Report This Post
Virtuoso
posted Hide Post
Unknown error occurred. Agent on reporting server EDASERVE may have crashed. Please investigate reporting server log.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Platinum Member
posted Hide Post
quote:
Unknown error occurred. Agent on reporting server EDASERVE may have crashed. Please investigate reporting server log.

Good! Welll, not good, but glad that I'm not the only one. Smiler



Production: 7.6.6 WF Server  <=>  7.6.6 WF Client  <=>  7.6.6 Dev Studio
Testing: <none>
Using MRE & BID.  Connected to MS SQL Server 2005
Output Types: HTML, Excel, PDF
 
Posts: 230 | Location: Wichita, KS | Registered: May 27, 2005Report This Post
Virtuoso
posted Hide Post
If I comment out BY=1 and leave DEALER_COST, the fex runs shows the link on the dollar field totaled with link.

If I put both in BY=1, column=dealer_cost, the output looks the same.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Virtuoso
posted Hide Post
I think the issue is that you have to let WebFOCUS know what you are subtotaling on so it knows how to handle the data. When it doesn't, the system crashes and burns.

Not sure what BY=1 is getting you of course I learn something new almost daily from this forum.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
worked fine as-is in 5.3.2


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
Platinum Member
posted Hide Post
quote:
Originally posted by Leah:
I think the issue is that you have to let WebFOCUS know what you are subtotaling on so it knows how to handle the data. When it doesn't, the system crashes and burns.

Not sure what BY=1 is getting you of course I learn something new almost daily from this forum.

The BY=1 tells WF that you want the drilldown to only appear on the first by field. Funny thing is, the exact syntax that Dev Studio produces is what crashes. If I modify it as described above then it works. No worries, I'll end up putting the column on there anyway.

Thanks for your help!



Production: 7.6.6 WF Server  <=>  7.6.6 WF Client  <=>  7.6.6 Dev Studio
Testing: <none>
Using MRE & BID.  Connected to MS SQL Server 2005
Output Types: HTML, Excel, PDF
 
Posts: 230 | Location: Wichita, KS | Registered: May 27, 2005Report This Post
Guru
posted Hide Post
Does not work as is on 762. Get agent crash on edaserver.


WF 8.x and 7.7.x Win/UNIX/AS400, MRE/Portal/Self-Service, IIS/Tomcat, WebSphere, IWA, Realmdriver, Active Directory, Oracle, SQLServer, DB2, MySQL, JD Edwards, E-BIZ, SAP BW, R/3, ECC, ESSBASE
 
Posts: 285 | Location: Texas | Registered: June 27, 2006Report This Post
Member
posted Hide Post
TABLE FILE CAR
PRINT CAR DEALER_COST
BY COUNTRY NOPRINT
ON COUNTRY SUBTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=SUBTOTAL,
BY=1,
COLUMN=DEALER_COST,
FOCEXEC=app/xxxxxx(MYCOUNTRY=N1),$
ENDSTYLE
END

this worked fine in 5.3.6 from mre. Ira
 
Posts: 29 | Registered: March 30, 2007Report 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     Subtotal NOPRINT Drilldown

Copyright © 1996-2020 Information Builders