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 email@example.com for further assistance. Reference the community FAQ to learn more about the community.
I am making a Report with a WHERE condition on Start Month/Year and End Month Year, also I have put the AUTOMATIC DRILLDOWN option ON. It works fine without the WHERE condition but when I apply WHERE condition DRILLDOWN doesn't work. PLS HELP ME AS I AM NEW TO WebFOCUS!!!!
Following is the piece of code:
TABLE FILE TEST SUM CNT.CASEREFNUMBER AS 'CNT,CASEREFNUMBER' BY STATE AS 'State' BY REGION AS 'Region' BY PARISH AS 'Parish' ACROSS MONTH AS 'Month'
ON STATE SUBTOTAL CASEREFNUMBER AS '*State Total: '
ON REGION SUBTOTAL AS '*Region Total:' WHERE HDATE(INTAKERECEIVEDDT, 'MYY') GE HDATE(HINPUT(8, '&startYear.(2003,2004,2005).Start Year.' | '&startMonth.(01,02,03,04,05,06,07,08,09,10,11,12).Start Month.' | '01' , 8, 'HYYMDS'),'MYY') AND HDATE(INTAKERECEIVEDDT, 'MYY') LE HDATE(HINPUT(8, '&endYear.(2003,2004,2005).End Year.' | '&endMonth.(01,02,03,04,05,06,07,08,09,10,11,12).End Month.' | '01' , 8, 'HYYMDS'), 'MYY');
Thanks a lot for both the replies, the && thing is not helping me, it gives an error (may be there is a version problem I am using 5.2.3)
Solution by Kerry should help, but I am using WHERE clause right now and not the IF Clause. If I try to use the same condition in IF clause it gives me error that the field is not recognised, I think the functions for date which I am using (viz. HDATE, HINPUT etc.) doesn't work with IF or the problem is due to amper fields. I am using the following condition in WHERE Clause:
HDATE(INTAKE_RECEIVED_DATE, 'MYY') GE HDATE(HINPUT(8, '&startYear.(2003,2004,2005).Start Year.' | '&startMonth.(01,02,03,04,05,06,07,08,09,10,11,12).Start Month.' | '01' , 8, 'HYYMDS'),'MYY') AND HDATE(INTAKE_RECEIVED_DATE, 'MYY') LE HDATE(HINPUT(8, '&endYear.(2003,2004,2005).End Year.' | '&endMonth.(01,02,03,04,05,06,07,08,09,10,11,12).End Month.' | '29' , 8, 'HYYMDS'), 'MYY')
How should I use the same in IF Clause. Or otherwise can I use the same .js file with WHERE clause also (which I think is not possible).
Originally posted by GeraldCohen: [qb] As a guess I would make all of the &'s into double &&'s. eg &&STARTYEAR, &&STARTMONTH, etc.
This preserves their values thru all of the reports which are needed in subsequent drill-downs. [/qb]
Global amper variables endure for the "session" (i.e., until disconnect), but then they are cleared so the next connect starts with a clean slate; besides which there is no guarantee that the drilldown will connect to the same agent.
For the drill-down report to inherit a parameter, you have to pass it to the drilldown with its content as the passed value: ( ... MyParm='&MyParm' ...)
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005