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