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.
Can someone please point me in the right direction?? I have a report that has a subfoot within it. I am trying to drill to another report thru the subfoot data.
The report is HTML output. This doesn't seem to be working for the SUBFOOT it does work if I drill thru on the data above the SUBFOOT output. Any ideas on how to create this drill thru to another fex from the subfoot?This message has been edited. Last edited by: ERINP,
WebFOCUS 7.6.9
Reporting client Windows 2003 Service pack 2 using IIS and TomCat 5.5 Reporting Server OS/400 V5R4M0 Outputs: HTML, Excel, PDF, CSV, and Flat Files
Passing columnar notation to a drill in a subfoot doesn't seem logical to me as there are no columns. Maybe you could reproduce what you want with the CAR file and we can attempt a solution for you. What kind of data is the child program looking for?
Seems to work for me, the hyperlink appears on the field value of the second By statement's subfoot:
TABLE FILE CAR
SUM
SALES
BY COUNTRY SUBFOOT
"SUBFOOT1 LINE 1COUNTRY <COUNTRY"
BY CAR SUBFOOT
"SUBFOOT2 LINE 1 CAR <CAR"
"SUBFOOT2 LINE 2 COUNTRY <COUNTRY"
BY MODEL SUBFOOT
"SUBFOOT3 LINE 1 MODEL <MODEL"
"SUBFOOT3 LINE 2 CAR <CAR"
"SUBFOOT3 LINE 3 COUNTRY <COUNTRY"
ON TABLE SET STYLE *
TYPE=SUBFOOT,
BY=2,
LINE=1,
OBJECT=FIELD,
ITEM=1,
TARGET='_BLANK',
FOCEXEC=APP/MYFEX( \
CAR=CAR \
COUNTRY=COUNTRY \
),
$
ENDSTYLE
END
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
Ginny, The reason for the drill down on the subfoot is the result of an end-user request to format the TOTAL for a column of data different than the data in the column. The end-user would like comma seperated 2 decimal place data, but the TOTAL needs to have dollar signs, commas, and 2 decimal places. In order to accomodate this request I have created a SUBFOOT with the TOTAL for the column of data and reformatted it with the Dollar Sign. The CAR file example below is more in line with what I am 'attempting' to do.
TABLE FILE CAR
SUM
'CAR.BODY.BODYTYPE'
'CAR.SPECS.MPG'
'CAR.BODY.SEATS'
'CAR.BODY.SALES/P11.2C'
COMPUTE TOT_SALES/P11.2CM = TOT.SALES; NOPRINT
BY 'CAR.ORIGIN.COUNTRY'
BY 'CAR.CARREC.MODEL'
WHERE COUNTRY = 'ENGLAND';
ON CAR.ORIGIN.COUNTRY SUBFOOT
" <+0> <+0> <+0>SUBFOOT1 LINE1 COUNTRY <+0> <TOT_SALES"
ON TABLE NOTOTAL
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
$
TYPE=SUBFOOT,
STYLE=BOLD,
JUSTIFY=RIGHT,
HEADALIGN=BODY,
$
TYPE=SUBFOOT,
BY=1,
LINE=1,
OBJECT=FIELD,
ITEM=1,
TARGET='_BLANK',
FOCEXEC=APP/MYFEX( \
CAR=CAR.COMP.CAR \
COUNTRY=CAR.ORIGIN.COUNTRY \
),
$
ENDSTYLE
END
I noticed that Francis' post had the BY=2 in it like my original example. When I saw this I realized the code was wrong for what I am trying to do. I have 2 BY fields, but I am using ON FIELDNAME SUBFOOT for only one of the two BY fields. In this example a click of the TOTAL for sales would pass the value of 'ENGLAND' to the app/MYFEX. I'm not sure I can make the association between a click on TOT_SALES and Pass the Country. In my actual code 'ENGLAND' would be an amper variable for this drill down. I can't get the TOT_SALES to show up as a hyperlink in my actual code even if I use a URL for the drill down (it works fine with the CAR file). Any other ideas would be greatly appreciated. Francis the code you supplied worked on my end just fine. I may need to try a watered down version of my code to see if I can get it to work. Thanks, Erin
WebFOCUS 7.6.9
Reporting client Windows 2003 Service pack 2 using IIS and TomCat 5.5 Reporting Server OS/400 V5R4M0 Outputs: HTML, Excel, PDF, CSV, and Flat Files
When I removed the styling for ITEMs 8, 9, 10, and 11 the drill down works just fine. I think the styling was 'over riding' the drill down code for the subfoot total. Without the example from Francis i would still be beating my head against my monitor. Thanks Francis.
Erin
WebFOCUS 7.6.9
Reporting client Windows 2003 Service pack 2 using IIS and TomCat 5.5 Reporting Server OS/400 V5R4M0 Outputs: HTML, Excel, PDF, CSV, and Flat Files