Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: HELP ! Proper Implemetation of a WHEN-RADIO-CHANGED TRIGGER

Re: HELP ! Proper Implemetation of a WHEN-RADIO-CHANGED TRIGGER

From: Howard Gluckman <hgluckm_at_uswesst.com>
Date: 1997/04/16
Message-ID: <33551433.36F6@uswesst.com>#1/1

Jens U. Veigel wrote:
>
> Hi Pros !
> Can anyone tell me how to implement a WHEN-RADIO-CHANGED Trigger.
> Trying to implement a radio group and need to do somthing if a certain
> button has been selected. I'm not sure if the trigger should be on the
> button or on the group. Tried to attach one to a button and it won't
> work. Could not find any samples in the help file.
>
>
> Jens
>
> jens_at_deutschware.com
>

Think of the radio group like a list item -- the buttons (each button has a value) are the values to test for your action.

Let's say that you have a radio_group named radgrp with three radio buttons with the values of 'A', 'B', and 'C' respectively. Your trigger code would read like:

        IF :radgrp = 'A' THEN

		<action>
	ELSIF :radgrp = 'B' THEN

		<action>

	ELSIF :radgrp = 'C' THEN

		<action>

	END IF;

Hope this helps.

-- 
Howard Gluckman
Data Architect
U S WEST Communications
hgluckm_at_uswest.com

Any opinions are personal, and do not represent U S WEST Communications.
Received on Wed Apr 16 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US