Problem With Radio Buttons [message #212401] |
Fri, 05 January 2007 03:20 |
pushpendra.tomar
Messages: 11 Registered: January 2007 Location: Hyderabad
|
Junior Member |
|
|
Hi All,
I am trying to enable and disable buttons in my form based on
the RADIO BUTTON I select.
But to do so I can't find way to know the status of radio button.
I used this code:
TRIGGER : When-new-form-Instance
DECLARE
Id_Item MenuItem;
Id_It Item;
BEGIN
Id_Item := Find_Menu_Item('RAD_GRP.ADD_NEW');
if (Get_Menu_Item_Property(Id_Item, CHECKED) = 'TRUE')
then
Id_It := Find_Item('IMB.ADD');
Set_Item_Property(Id_It,VISIBLE, PROPERTY_TRUE);
end if;
END;
When Executed I got the Message:
FRM-41067: Cannot find Menu Item Invalid Id.
Here: 'RAD_GRP' is item name.
'ADD_NEW' is radio button name
'IMB' is data block name &
'ADD' is the button name which I want to make visible.
Kindly help...
[Updated on: Fri, 05 January 2007 03:27] Report message to a moderator
|
|
|
Re: Problem With Radio Buttons [message #212409 is a reply to message #212401] |
Fri, 05 January 2007 04:15 |
amul
Messages: 252 Registered: April 2001 Location: Chennai
|
Senior Member |
|
|
DECLARE
Id_Item MenuItem;
Id_It Item;
BEGIN
Id_Item := Find_Menu_Item('RAD_GRP.ADD_NEW');
if (Get_Menu_Item_Property(Id_Item, CHECKED) = 'TRUE')
then
Set_Item_Property(Id_It,VISIBLE, PROPERTY_TRUE);
end if;
END;
|
|
|
|
Re: Problem With Radio Buttons [message #212420 is a reply to message #212411] |
Fri, 05 January 2007 04:41 |
pushpendra.tomar
Messages: 11 Registered: January 2007 Location: Hyderabad
|
Junior Member |
|
|
Thanks Vamsi,
I think my Radio Button is not a part of menu item. It is simply
present in the data block.....
Infact I don't have much knowledge in Forms & Reports....
So along with the solution please suggest me a good book for forms development and also if you have any electronic documentation for forms, then please forward me at my mail:
pushpendra.tomar@Gmail.com
Thanks in advance for all your help.
Pushpendra
|
|
|
|
|