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] passing varibles for drilldown (correted)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] passing varibles for drilldown (correted)
 Login/Join
 
Platinum Member
posted
What I want to do is to be able to pass multiple varibles that has been changed by selecting radiobuttons. I have use this information on http://forums.informationbuild...511084403#9511084403 but it did not worked for me.
The used code is :

 
DEFINE FILE CAR
LNE1/A100 = 'Select car:';
LNE2/A100 = '<input type="radio" name="CARCDE" value="CARA" CHECKED>Audi';
LNE3/A100 = '<input type="radio" name="CARCDE" value="CARB">BMW';
LNE4/A100 = '<input type="radio" name="CARCDE" value="CARC">Jaguar';
LNE5/A100 = 'Select model:';
LNE6/A100 = '<input type="radio" name="MODCDE" value="MODA">100 LS 2 DOOR AUTO';
LNE7/A100 = '<input type="radio" name="MODCDE" value="MODB">2002 2 DOOR';
LNE8/A100 = '<input type="radio" name="MODCDE" value="MODC">2002 2 DOOR AUTO';
LNE9/A100 = '<input type="radio" name="MODCDE" value="MODD">V12XKE AUTO';
END


TABLE FILE CAR
PRINT CAR NOPRINT
WHERE CAR = 'JAGUAR'
HEADING
"Selection page"
" "
"Make a choice to show the variables"
"<LNE1"
" "
"<LNE2"
"<LNE3"
"<LNE4"
" "
"<LNE5"
" "
"<LNE6"
"<LNE7"
"<LNE8"
"<LNE9"
" "
"Show variables"
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
   SQUEEZE=ON,
   TOPMARGIN=.25,
   LEFTMARGIN=.25,
$
TYPE=HEADING,
     LINE=17,
     STYLE=BOLD,JAVASCRIPT=document.form.submit(),
$
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
<html>
<head>
<title>Demo voor drilldown</title>
</head>
<body>
<form name="form" action="/ibi_apps/WFServlet" target="_blank">
<input type="hidden" name="IBIF_ex" value="showvars.fex" />
<input type="hidden" name="IBIAPP_app" value="baseapp" />
!IBI.FIL.HTMLFILE;
</form>
</body>
</html>
-HTMLFORM END


The showvars fex just contains "-? &CARCDE" and "-? &MODCDE" to display the variables.

This message has been edited. Last edited by: Kerry,
 
Posts: 103 | Registered: March 18, 2008Report This Post
Virtuoso
posted Hide Post
MrM,

Note the slight differences...

  
-* File MrM.fex
DEFINE FILE CAR
LNE1/A100 = 'Select car:';
LNE2/A100 = '<input type="radio" name="CARCDE" value="CARA" CHECKED>Audi';
LNE3/A100 = '<input type="radio" name="CARCDE" value="CARB">BMW';
LNE4/A100 = '<input type="radio" name="CARCDE" value="CARC">Jaguar';
LNE5/A100 = 'Select model:';
LNE6/A100 = '<input type="radio" name="MODCDE" value="MODA">100 LS 2 DOOR AUTO';
LNE7/A100 = '<input type="radio" name="MODCDE" value="MODB">2002 2 DOOR';
LNE8/A100 = '<input type="radio" name="MODCDE" value="MODC">2002 2 DOOR AUTO';
LNE9/A100 = '<input type="radio" name="MODCDE" value="MODD">V12XKE AUTO';
END


TABLE FILE CAR
PRINT CAR NOPRINT
WHERE CAR = 'JAGUAR'
HEADING
"Selection page"
" "
"Make a choice to show the variables"
"<LNE1"
" "
"<LNE2"
"<LNE3"
"<LNE4"
" "
"<LNE5"
" "
"<LNE6"
"<LNE7"
"<LNE8"
"<LNE9"
" "
"Show variables"
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE HOLD AS MMM FORMAT HTMTABLE
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
   SQUEEZE=ON,
   TOPMARGIN=.25,
   LEFTMARGIN=.25,
$
TYPE=HEADING,
     LINE=17,
     STYLE=BOLD,JAVASCRIPT=document.form.submit(),
$
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
<html>
<head>
<title>Demo voor drilldown</title>
</head>
<body>
<form name="form" action="/ibi_apps/WFServlet" target="_blank">
<input type="hidden" name="IBIF_ex" value="mrmshow.fex" />
<input type="hidden" name="IBIAPP_app" value="focalpoint" />
!IBI.FIL.MMM;
</form>
</body>
</html>
-HTMLFORM END


  
-* File MrMshow.fex
-? &


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Platinum Member
posted Hide Post
quote:
Daniel


Thanks for your solution

Mark
 
Posts: 103 | Registered: March 18, 2008Report 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] passing varibles for drilldown (correted)

Copyright © 1996-2020 Information Builders