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] Pass Parameter to Drill Down

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] Pass Parameter to Drill Down
 Login/Join
 
Member
posted
I'm creating my first Drill Down in WF7.6

Selecting (clicking) the field in the parent correctly launches the report in the child.

I need to pass an additional parameter from the parent to the child. This parameter is data in the parent that I only need to display in the child.

I would rather pass the parameter than join tables in the child to get the information that is already displayed in parent.

Please help.

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


Web Focus 7.6.5
JDE World
 
Posts: 20 | Registered: July 29, 2008Report This Post
Expert
posted Hide Post
Just add the parameter to the drill and reference the field you want to pass. You can do that from the GUI or type it in the text.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Member
posted Hide Post
Thanks Ginny

The parameter I'm passing down is the Description of an item, which is a string.

In the Parent, I'm referencing it as a "Field", then selected the field from the list in the bottom window, and named the parameter "Description"

How do I reference it in the child so that it is printed? Do I use it as an &variable?

When I run the child, I get the FOC003 Error saying that the "Fieldname is not recongnized", then it prints the first several characters of the description parameter.


Web Focus 7.6.5
JDE World
 
Posts: 20 | Registered: July 29, 2008Report This Post
<JG>
posted
Daren

Reference it as a variable &Description

If you are puting it in a heading or footing then it would be just that

If you want it in the body of the report you must either use a define or a compute.

COMPUTE COLUMN/A50='&Description';

The quotes are important as without them WebFocus tries to parse it as a real field
 
Report This Post
Member
posted Hide Post
Thanks! It worked.

I do not know why this is not in the Help files nor in the DevStudion Class.


Web Focus 7.6.5
JDE World
 
Posts: 20 | Registered: July 29, 2008Report This Post
Virtuoso
posted Hide Post
If you don't need it in the body of the report, just pass it as an &var with a static value of '&Description'


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Virtuoso
posted Hide Post
Daren,

Good for you that it works.
Please change the title of this post to include the [SOLVED] keyword.
Thanks,


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 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     [Solved] Pass Parameter to Drill Down

Copyright © 1996-2020 Information Builders