Re: Forms 4.0 question
From: Steven P. Muench <smuench_at_doh.us.oracle.com>
Date: Wed, 10 Nov 1993 17:53:48 GMT
Message-ID: <SMUENCH.93Nov10095348_at_doh.us.oracle.com>
Date: Wed, 10 Nov 1993 17:53:48 GMT
Message-ID: <SMUENCH.93Nov10095348_at_doh.us.oracle.com>
SHANE -- The radio group always has a single value (ie one of its
mutually distinct buttons is active, and no other). You can simply look at the value of the radio group to see the current value and that tells you which of the buttons is active in the radio group. DECLARE curSelection NUMBER := :MyRadioGroup; BEGIN IF curSelection = 0 THEN
:
ELSIF curSelection = 1 THEN
:
etc.
:
The checkbox widget, on the other hand, does have a boolean function named 'Checkbox_Checked()' which allows you to say: IF Checkbox_Checked('MyCheckbox') THEN
:
ELSE
:
END IF; Of course, you can also refer to :MyCheckbox to use the current value of the checkbox item in PL/SQL code. Hope this helps.
-- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Steve Muench Email: smuench_at_oracle.com Forms Development Product ManagerReceived on Wed Nov 10 1993 - 18:53:48 CET