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     passing parms in WebFOCUS drilldowns

Read-Only Read-Only Topic
Go
Search
Notify
Tools
passing parms in WebFOCUS drilldowns
 Login/Join
 
<MortEnob>
posted
I'm pretty new to FOCUS. I have created a drill down rpt, and gotten it to execute the child and pass the value clicked in the parent.
How do I pass other parameters selected in the parent. It has parms such as year and product line, in addition to the one (area) clicked to start up the child report. I want the child to run based on all parms selected for the parent.
GUI help? Thanks.
 
Report This Post
Gold member
posted Hide Post
Here is some code where I am passing multiple variables...Is this what you mean?

TYPE=TABHEADING, LINE=1,FOCEXEC=atmw2b11.fex \
(USERID = USER_ID UPID='&UPID' \
START='&START' END='&END'), $
 
Posts: 90 | Registered: April 15, 2004Report This Post
<MortEnob>
posted
Thanks Stan, but I was really hoping for GUI instructions as opposed to code.....
 
Report This Post
<MortEnob>
posted
OK, I have my GUI answer. Rt-click the drill-down field & in the lower right add the parms one at a time. Thanks.
 
Report This Post
Silver Member
posted Hide Post
I am having a problem with passing values from a listbox. I pass the listbox values(as a multiple/or) to my first drilldown procedure and that works. I then select a drilldown from that procedure and I get and error and it seems to point to the parameter I am trying to pass along. This is the drilldown code
TYPE=DATA,
COLUMN=N1,
STYLE=NORMAL,
DRILLMENUITEM='Customer Detail',
FOCEXEC=custcommoddetailnew.fex(TYSTRTDATE='&TYSTRTDATE' TYENDDATE='&TYENDDATE' LYSTRTDATE='&LYSTRTDATE' LYENDDATE='&LYENDDATE' CustList=N1 ComClassList='&ComClassList'),
TARGET='_self',

The &ComClassList value should be 'Y0' OR 'L6'
but it looks as follows ..LOOKS LIKE the first quote in front of the Y0 is not there and this is the position that I am getting an error on. looks like the formatting is off. This was all done with the GUI
Customer

Any help would be great. This is my first time so soory if this doesn't make sense.


Product WF 7.1.6 Windows
Database Oracle
outputs PDF, HTML, EXCEL
 
Posts: 37 | Registered: April 13, 2007Report This Post
Virtuoso
posted Hide Post
Don't worry, I see what you are saying, and can get a simple repro my end. What I cannot do at present is get a fix. I'll have a play with it and see what comes up.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Virtuoso
posted Hide Post
There MUST be a better way than this!

In the DRILLDOWN use
ComClassList=&ComClassList.QUOTEDSTRING

In the called focexec have:
  

-SET &ComClassList = STRIP(&ComClassList.LENGTH,&ComClassList, '''', 'A&ComClassList.LENGTH');

-SET &ComClassList = '''' | &COMCLASSLIST || '''';

-SET &ComClassList = STRREP(&ComClassList.LENGTH, &ComClassList, 4, ' OR ', 6,''' OR ''',&ComClassList.LENGTH, 'A&ComClassList.LENGTH');

As you come off the listbox, WF kindly(!) quotes everything for you. The .QUOTEDSTRING makes the quoted variable acceptable to the DRILL DOWN, then the receiving focexec has to remove all the extra quotes and add them back as they should be!

This may work for you, but hopefully someone has another solution.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 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     passing parms in WebFOCUS drilldowns

Copyright © 1996-2020 Information Builders