×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

RADIO BUTTON

RADIO BUTTON

RADIO BUTTON

(OP)
HI
How I can use radio button in a webfocus report
Thanks
Breyt

RE: RADIO BUTTON

do a html form begin and have ur radio button code and then a html form end
thats all.

RE: RADIO BUTTON

(OP)
Hi
I know that but I would like to programm in focus and use directly in the heading of my report
Thanks
breyt

RE: RADIO BUTTON

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
"<RADIO1 <RADIO2"
PRINT CAR MODEL SEATS             
BY COUNTRY
END

Do you need this?

RE: RADIO BUTTON

(OP)
Hi
yes exactly what i need , but how I use the result of the checked to execute a focexec
Thanks
breyt

RE: RADIO BUTTON

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="/cgi-bin/ibi_cgi/ibiweb.exe?' |
               'IBIF_ex=execname"+"&' |
               'COUNTRY="+a      +"&' |
               'CAR="+b          +"&' |
               'ARG1="+document.all.ARG1[0].checked' |
           '}' |
           '</script>';
END
TABLE FILE CAR
HEADING
"<RADIO1 <RADIO2 <SCR"
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?

RE: RADIO BUTTON

(OP)
HI
yes thank you very mutch
breyt

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close