|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 . |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > Radio buttons problem... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|