Hi. plz reply Does any one knows that ? [message #87040] |
Wed, 01 December 2004 07:20  |
orcl_dev
Messages: 14 Registered: November 2004
|
Junior Member |
|
|
i have asked for a simple question on how to use the radio button n chek box value and still i m unable to find the right answer.wher are all of you pppl
i Need to demonstrate that ...
When out of two radio buttton, YES and NO these are the names of radio button belong to RG radio group..
IF YEs is chekced,,
then call form 1
if NO is checked then call FOrm2
and similarly
If out of 3 check boxes...
Yes , NO , Neutral
If YES is checked , then
go to block 4
else go to block 5 etc..
How can i do this.. it is easy to do in VB..
Does ANYONE KNOW HERE about this
WHich properties to set..
SOmebody told me about the initial value of RG .. the radio group..
now there is no such properlty i ave seen in property pelleate
PLz ANs EARLY ...
|
|
|
Re: Hi. plz reply Does any one knows that ? [message #87045 is a reply to message #87040] |
Wed, 01 December 2004 18:00   |
Raga
Messages: 8 Registered: November 2004
|
Junior Member |
|
|
For Radio Button Group
======================
Write the Following code in When_Radio_Button_changed trigger
declare
a varchar(100);
begin
-- Code for getting the radio group selection value
a := get_item_instance_property('TYPE_RADIO_GROUP',current_record,selected_radio_button);
-- If first Radio Button then
if a = 'YES' then
Call_form('formname');
else
Call_form('Formname');
end;
For the Check Boxes
===================
1. Set the values for When checked and when unchecked of each check box
Write the code in
When_Check_box_changed trigger of each check box
Example :-
--(if the checked value given is 1)
if :block3.check_box4 = 1 then
go_block('block7');
else
go_block('block8');
end if;
|
|
|
|