Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RADIO BUTTON

Status
Not open for further replies.

breyt

IS-IT--Management
Dec 9, 2002
66
0
0
FR
HI
How I can use radio button in a webfocus report
Thanks
Breyt
 
do a html form begin and have ur radio button code and then a html form end
thats all.
 
Hi
I know that but I would like to programm in focus and use directly in the heading of my report
Thanks
breyt
 
Hi

DEFINE FILE CAR
RADIO1/A49='<input type=radio name=ARG1 value=0 checked>TEXT1';
RADIO2/A41='<input type=radio name=ARG1 value=0>TEXT2';
END
TABLE FILE CAR
HEADING
&quot;<RADIO1 <RADIO2&quot;
PRINT CAR MODEL SEATS
BY COUNTRY
END

Do you need this?
 
Hi
yes exactly what i need , but how I use the result of the checked to execute a focexec
Thanks
breyt
 
Hi

do you want to execute a focexec in stylesheet?

you must use javascript.
cannot use 'FOCEXEC='.

it is so hard.

DEFINE FILE CAR
RADIO1/A49='<input type=radio name=ARG1 value=0 checked>TEXT1';
RADIO2/A41='<input type=radio name=ARG1 value=1>TEXT2';
SCR/A200='<script>' |
'function focexec(a,b){' |
'location.href=&quot;/cgi-bin/ibi_cgi/ibiweb.exe?' |
'IBIF_ex=execname&quot;+&quot;&' |
'COUNTRY=&quot;+a +&quot;&' |
'CAR=&quot;+b +&quot;&' |
'ARG1=&quot;+document.all.ARG1[0].checked' |
'}' |
'</script>';
END
TABLE FILE CAR
HEADING
&quot;<RADIO1 <RADIO2 <SCR&quot;
PRINT CAR MODEL SEATS
BY COUNTRY
ON TABLE SET STYLE *
TYPE=DATA,COLUMN=COUNTRY,
JAVASCRIPT=focexec(COUNTRY CAR),$
ENDSTYLE
END

this is what you need?
 
HI
yes thank you very mutch
breyt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top