Jan 20, 2004 #1 bilalch Programmer Sep 26, 2003 84 IR hi frends, i've written this in the menu pl/sql if NOT system.mode='eneter-query' then enter_query; set_menu_item_property('mymenu.ent_qry',ENABLED,PROPERTY_FALSE); end if; but it's not working. plz help me.
hi frends, i've written this in the menu pl/sql if NOT system.mode='eneter-query' then enter_query; set_menu_item_property('mymenu.ent_qry',ENABLED,PROPERTY_FALSE); end if; but it's not working. plz help me.
Jan 20, 2004 #2 lewisp Programmer Aug 5, 2001 1,238 GB Where is the pl/sql written? When does it get executed? Your code also has errors. You will need to do this: [tt]IF Name_In('SYSTEM.MODE') != 'ENTER-QUERY' THEN...[/tt] Upvote 0 Downvote
Where is the pl/sql written? When does it get executed? Your code also has errors. You will need to do this: [tt]IF Name_In('SYSTEM.MODE') != 'ENTER-QUERY' THEN...[/tt]
Jan 21, 2004 Thread starter #3 bilalch Programmer Sep 26, 2003 84 IR the code's written in the pl/sql of menu item 'ENT_QRY' in the menu 'MYMENU'. i want to disable this menu item when the system gets into the enter-query mode on clicking the menu item. Upvote 0 Downvote
the code's written in the pl/sql of menu item 'ENT_QRY' in the menu 'MYMENU'. i want to disable this menu item when the system gets into the enter-query mode on clicking the menu item.
Jan 21, 2004 #4 lewisp Programmer Aug 5, 2001 1,238 GB I think you will need to disable the item before the enter_query built in. [tt]IF Name_In('SYSTEM.MODE') != 'ENTER-QUERY' THEN set_menu_item_property('mymenu.ent_qry',ENABLED,PROPERTY_FALSE); enter_query; END IF; Upvote 0 Downvote
I think you will need to disable the item before the enter_query built in. [tt]IF Name_In('SYSTEM.MODE') != 'ENTER-QUERY' THEN set_menu_item_property('mymenu.ent_qry',ENABLED,PROPERTY_FALSE); enter_query; END IF;
Jan 21, 2004 Thread starter #5 bilalch Programmer Sep 26, 2003 84 IR thanks lewisp for ur response but still it's not working. plz help me. Upvote 0 Downvote