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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
HTML Parameters
 Login/Join
 
Member
posted
I have a fex report that calls another report. I have this code in the first fex:

DRILLMENUITEM= 'Sales Report',
FOCEXEC=app/Sales.fex(empID=N6),

that sends the empID which is the input parameter for the second fex in the where clause.

and the HTML code

-HTMLFORM BEGIN
<Select name='output'>
<option value='HTML>'>HTML</option>
<option value='PDF>'>PDF</option>
<option value='EXL2K>'>EXL2K</option>
</Select>
-HTMLFORM END

The second fex also has:
ON TABLE PCHOLD FORMAT &output.(<HTML,HTML,<PDF,PDF,<Excel 2000,EXL2K)

How can I send the output value from the HTML dropdown to the second fex?
 
Posts: 25 | Location: VA | Registered: May 13, 2005Report This Post
Expert
posted Hide Post
FOCEXEC=app/Sales.fex(empID=N6 output='&output')
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Wen I do that even before the first fex opens it asks for the ouput parameter. Then I enter one, it goes to the second fex and then opens the second fex with the output I entered. It does not recognize the HTML.
 
Posts: 25 | Location: VA | Registered: May 13, 2005Report This Post
Member
posted Hide Post
Actually when I put FOCEXEC=app/Sales.fex(empID=N6 output='&output')
it wants to open it in excel everytime. Any ideas? Thanks for the help.
 
Posts: 25 | Location: VA | Registered: May 13, 2005Report This Post
Expert
posted Hide Post
I'm not sure what you are doing. Are you using report painter in Dev Studio to create the report and the launch page?

Do you have a launch page that is comprised of an HTML form that calls WebFOCUS to execute the first FEX?

After we resolve that, add this code at the top of the second fex:

-? &
-EXIT

to see what parameters are passed to it. If &output is not one of them then the drilldown is not working as it should be.
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders