Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old February 5th, 2005, 07:51 PM
crazee crazee is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 2 crazee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 8 m 48 sec
Reputation Power: 0
Question Radio buttons problem...

Hi everyone,
I am a newbie in oracle.I wanna do some task on the basis of selected option (radio button used).I don't know how to fetch which radio button has pressed... I tried to do so many things but still not geting the desired output.

How can i write these statements ....
For Example :
[
If radio1 is selected then
do_task1;
else
if radio2 is selected then
do_task2;
else
do_task3;
end if;
end if;
]

Please help me to sort it out.

Thanks .

Reply With Quote
  #2  
Old February 7th, 2005, 09:40 PM
dancesport_warr's Avatar
dancesport_warr dancesport_warr is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 130 dancesport_warr User rank is Lance Corporal (50 - 100 Reputation Level)dancesport_warr User rank is Lance Corporal (50 - 100 Reputation Level)dancesport_warr User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 14 h 14 m 36 sec
Reputation Power: 4
well crazee, I don't think there is a way to get the selected radio button through Oracle but u can get it through the language u r coding in and then u can create a stored procedure which accepts a parameter that might represent the selected radio button... and then in that stored procedure u can code what u wanted. For example:

create or replace procedure RBSelected(rb number)
IS
BEGIN
if rb = 1 then
...
elsif rb = 2 then
else
...
end if
END RBSelected;

The above is just a skeleton so if u don't know stored procedures then go look them up. Another option might be to create a trigger. Hope this points u in the right direction.

Reply With Quote
  #3  
Old February 8th, 2005, 05:26 PM
crazee crazee is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 2 crazee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 8 m 48 sec
Reputation Power: 0
Thanks dancesport_warr,
I forgot to mension that i am using Oracle Forms builder, since i don't know the syntax of oracle forms properly so i was getting difficulty.By the way your suggestion helped me, i sorted it out and applied your code in radio button.It helped.
Thanks alot for your response and suggessions.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Radio buttons problem...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway