Focal Point
[CLOSED] passing varibles for drilldown

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/10110195

March 26, 2009, 03:25 AM
MrM
[CLOSED] passing varibles for drilldown
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,
March 26, 2009, 04:18 AM
MrM
 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 

April 02, 2009, 12:36 PM
Kerry
Hi all,

FYI, this issue is resolved in the other topic that Mark has: [SOLVED] passing varibles for drilldown (correted)

So this one will be closed for now.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.