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     [SOLVED] Can't get drill-down to filter and work in AHTML

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Can't get drill-down to filter and work in AHTML
 Login/Join
 
Silver Member
posted
I'm new to creating drill-downs so please forgive me if my questions are simple. I have 2 issues. The 1st is I've created a summary report and detail report using the Car File and I'd like to drill-down on the Country. When I click on a specific country the entire detail report shows. I want to only see detail for that Country. However when I click on the Title I do expect to see the entire detail report. How can I get data for the Country selected? My second issue is when I change the report format from HTML to AHTML it doesn't work at all....why? See Code below:
Car Summary Report:
TABLE FILE CAR
SUM
CNT.CAR.COMP.CAR
CAR.BODY.DEALER_COST
CAR.BODY.RETAIL_COST
BY CAR.ORIGIN.COUNTRY
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=DATA,
COLUMN=N1,
STYLE=UNDERLINE,
DRILLMENUITEM='View Case Listing',
FOCEXEC=cardetail.fex(PARAMETER=N1),$
TYPE=TITLE,
STYLE=BOLD,$
TYPE=TITLE,
COLUMN=N1,
COLOR='BLUE',
STYLE=BOLD+UNDERLINE,
DRILLMENUITEM='View Detail,
FOCEXEC=cardetail.fex(PARAMETER=N1),$

ENDSTYLE
END

Car Detail Report (cardetail.fex):
TABLE FILE CAR
SUM
CAR.BODY.DEALER_COST
CAR.BODY.RETAIL_COST
BY CAR.ORIGIN.COUNTRY
BY CAR.COMP.CAR
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
END

This message has been edited. Last edited by: Starr,


WebFOCUS 8206
Exl2k
 
Posts: 36 | Registered: May 23, 2014Report This Post
Expert
posted Hide Post
In the drilldown program, you need to apply the filter:
-DEFAULT &PARAMETER='FOC_NONE';
TABLE FILE CAR
SUM
CAR.BODY.DEALER_COST
CAR.BODY.RETAIL_COST
BY CAR.ORIGIN.COUNTRY
BY CAR.COMP.CAR

WHERE COUNTRY EQ '&PARAMETER';

ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Silver Member
posted Hide Post
I applied the filter as suggested and it worked. However, when I changed the format from HTML to AHTML it doesn't work. Can this be achieved in AHTML?


WebFOCUS 8206
Exl2k
 
Posts: 36 | Registered: May 23, 2014Report This Post
Silver Member
posted Hide Post
The summary report has to be HTML, then the detail can be AHTML.


WebFOCUS 8206
Exl2k
 
Posts: 36 | Registered: May 23, 2014Report This Post
Expert
posted Hide Post
In v8.0.08, having the Summary report in AHTML format works for me. Perhaps the issue in v7.* is due to the multi-drilldown (drillmenuitem), though I don't recall having this problem.


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     [SOLVED] Can't get drill-down to filter and work in AHTML

Copyright © 1996-2020 Information Builders