Home » Developer & Programmer » Forms » LOV and Radio button and Radio Button and LOV (merged)
LOV and Radio button and Radio Button and LOV (merged) [message #229095] Thu, 05 April 2007 06:11 Go to next message
u263066
Messages: 47
Registered: March 2007
Member
I have radio group , 2 items a and b. On radio change trigger, I want to call LOV A and LovB on choosing a and b respectivly.

I have used

IF :CONTROL.CHOICE=1 THEN
SET_lov_PROPERTY('TEMPLATE_LOV',CHOICE,TEMPLATE);
SHOW_lov('TEMPLATE_LOV');
end if;

where Choice is my radio group name and Template and copy are two radio items.

can any one help me
Radio Button and LOV [message #229483 is a reply to message #229095] Sun, 08 April 2007 22:13 Go to previous messageGo to next message
u263066
Messages: 47
Registered: March 2007
Member
I have a created a item with radio Group, called Choice in control block

and two radio button are Male and female

I have two LOV
male_LOV and female_lov.

I want to call male_lov once the radio button is choose male else incase of female I want to popup female LOV.

the piece of code in whenRadio Changed trigger does not working..any help

IF :CONTROL.CHOICE = 'M' -- 'Open'
THEN
Message('Male LOV .',ACKNOWLEDGE);
Show_lov('Male_Lov');
 ELSE 
 Message('You have Feamel Lov selected a value.',ACKNOWLEDGE);
 Show_lov('FEMale_Lov');

END If;
Re: Radio Button and LOV [message #229896 is a reply to message #229483] Tue, 10 April 2007 04:55 Go to previous message
vamsi kasina
Messages: 2112
Registered: October 2003
Location: Cincinnati, OH
Senior Member
Quote:
the piece of code in whenRadio Changed trigger does not working..any help
Story is nice but the conclusion.

Did you compile the code? Is it successful?
If so, at least do you see the message?
ACKNOWLEDGE!!!! Have you acknowledged?

What happened next? Did you get any error?
Don't you think Show_lov is a function?

By
Vamsi
Previous Topic: how can call first canvas from second canvas on same form
Next Topic: query to extract lines from single header name
Goto Forum:
  


Current Time: Wed Mar 12 09:49:44 CDT 2025