Home » Developer & Programmer » Forms » Hi. plz reply Does any one knows that ?
Hi. plz reply Does any one knows that ? [message #87040] Wed, 01 December 2004 07:20 Go to next message
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 Go to previous messageGo to next message
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;
Re: Hi. plz reply Does any one knows that ? [message #87051 is a reply to message #87045] Thu, 02 December 2004 03:36 Go to previous message
orcl_dev
Messages: 14
Registered: November 2004
Junior Member
i want the radio button trigger to be activated behind the button..
when button pressed trigger..

so plz tell me the code in light of that ...

Thnx alot...
Previous Topic: grant back-end procedure in a package
Next Topic: Unhandled Exception in Trigger
Goto Forum:
  


Current Time: Wed Sep 18 18:31:27 CDT 2024