How to give the parameter for the set_menu_item_proprty?

Hello

I saw the sub menu...
I know that the syntax of set_menu_item_property.
set_menu_item_property ('menuname.menuitem', Enabled, property_true);

But in my case, THE POINT (IE TABLE2) IN THE MENU is disabled status.
I want to like activate State.
I wrote the code below in the menu startupcode...
set_menu_item_property('XYZ0100.) TABLE2 "(, activé, property_true);"
IT DOES NOT WORK... SHOWING AN ERROR CANNOT FIND THE MENU ITEM.
THUS,.
What values should pass instead of NomMenu and menuitem?
IMAGINE IT IS LIKE IN FORM BUILDER

-Menus
-XYZ100
+ Home libraries
-Menus
+ FILE_MENU
+ EDIT_MENU
+ HELP_MENU
-XYZ100
-Objects
FILE
EDIT
Help
+ XYZ0901
-XYZ0902
TABLE1:
TABLE2
TABLE 3
TABLE 4

Hello

IT DOES NOT WORK... SHOWING AN ERROR CANNOT FIND THE MENU ITEM.

This error means that you not give good menu name and the name of the element.

Open the menu and select the menu that you want to turn on and off dynamically, then press F3 (to call the browser of the object). You will find the menu name and the name of the (current) element. Note that menu name and the name of the element and then use as below...

SET_MENU_ITEM_PROPERTY('MENU_NAME.ITEM_NAME',ENABLED,PROPERTY_TRUE);

-Clément

Tags: Oracle Development

Similar Questions

  • How to give administrative rights for the domain users (user is outside organization).

    Hello

    How to give administrative rights for the domain users (user is outside organization).

    If the employee works in the company of xxxx but it supports the client project and is located on the place of the customer, but it does not use the client computer and not on the client domain as well, but the employee is in the company of xxxx must be given administrative rights to the computer. can someone help me on this ASAP.

    Thank you

    MURUGESAN Rudy,

    This issue is beyond the scope of this site and to make sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
  • How to give the bios password and secure in windows 7

    How to give the bios password and secure in windows 7

    Hello

    BIOS - FAQ
    http://Windows.Microsoft.com/en-us/Windows7/BIOS-frequently-asked-questions

    Check with the manufacturer of your system (manufacturer of motherboard for customized systems)
    information on the definition of a BIOS password.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How to give the necessary time and unite all files of images together?

    Adobe first Pro 7.2.1 CC

    I insert image PNG files in pieces of the track for example 50 and got dry duration for each Image at 06:07. I need 00.03 for each of them make an animation so I have to cut and drag each of them separately. How to give the required duration and unite all together faster?

    Before you import the files again (e.g.: PNG), go to Preferences > General > still Image default duration:

    You can set the default there. This will apply to the newly imported files, but (it will not apply to the files that you have already imported).

  • How to give the user ONLY views all SYS?

    My DBA cannot give me all s/n priveligies, but does not know how to give me ONLY priveligies all SYS views (v$ sql, v$ sqltext, process$ v, dba_scheduler_jobs,...)

    How to give the user to display all VIEWS SYS?

    in my case should be 1)? Right?

    The privilege or role will provide the desired access.

  • How to give Admin rights for specific applications in windows 7 Stater

    How to give Admin rights for specific applications in windows 7 Stater

    I have a problem in Windows 7 Stater Pack

    I do not know where to place the issue or create the question

    My problem is that I can give admin access to application specific to Windows 7 stater

    in fact I use photon AUNTIE I want to be accessed by a Local user Standard user is not an admin user

    Once I click on the icon of Photon to connect it always ask for admin password.

    I want to work on a local user without admin password

    Please help about this.

    Thank you.

    Hello

    Note: To be logged in as an administrator or enter creditionals administrator account to make changes

    Method 1:

    The prompt that you get is the setting on your computer user account control. You can change the setting and use them according to your requirements and run programs in the standard account. See the below links for more details-

    http://Windows.Microsoft.com/en-us/Windows7/what-is-user-account-control

    http://Windows.Microsoft.com/en-us/Windows7/how-do-I-change-the-behavior-of-user-account-control-by-using-the-slider

    http://Windows.Microsoft.com/en-us/Windows7/what-are-user-account-control-settings

    WARNING: User Account Control (UAC) can help you to prevent your computer from unauthorized changes. It works by asking permission when a task requires administrative rights, such as installing software or changing settings affecting other users. We do not recommend disable user account control. If you turn it off, you must reactivate as soon as possible.

    Method 2:

    You can even use the steps below and check-

    1. right click on the program file , click on Properties.

    2. now click on compatibility and select run the program as administrator.

    3. now click on change settings for all users and click ok. Now, check to see if the problem resolves.

    I hope this helps. Let us know the results

    It may be useful

  • External link - how to give the link of a theme of subproject about main project

    Hi all

    I created a main and two subprojects and project master merged these two subprojects.

    I scoured all the external link topics in this forum.

    As a result, I was able to give the link of a main project theme about a subproject.

    However, I need your help to achieve the following two things:

    A first:
    =======
    I need to give a link to a section of the subproject in a master project topic...

    For example. Introductory section is located in the Master project

    When I click on a button in a subject found in the subproject (merged with the masterone), I should be able to view the introductory section.

    How can this be achieved...

    A second:
    ==========
    I manually included a home button in each header and footer of all subjects (depending on condition), which opens the present welcome topic in the main project)-pretty easy

    However, I'm fighting to give the link to the present home button in the subproject merged to open the welcome topic of the master of the project.

    Pls guide me how to do it...

    Thankx in advance...

    Try to remove the underlining from your CHM file names, reissue and compilation. Do not use underscores or other special character traits.

  • How to give the user name, pwd, db in a URL of 10g of forms?

    We organize our application using this URL: http://192.168.11.216:7778/forms90/f90servlet? config = inforoam

    How pass us the username/pwd@db to this URL? that is we do not want to look, we want to automatically connect to the system in a .NET PROGRAM, a connection box.

    Hello

    Add user name in the URL:

    http://192.168.11.216:7778/forms90/f90servlet?config=inforoam&userid=Scott/Tiger@dbalias

    Concerning

  • How to give the table name as input for the insertion procedure parameter

    Hello
    Could a little help in this scenario,
    Here is an example of how to insert,
    where the 'b' table name will change at each
    is there a possible way to keep the name of the table as an input parameter

    SQL > CREATE or REPLACE PROCEDURE PROC_INSERT as
    BEGIN 2
    3 INSERT INTO A
    4 (ID, NAME, LOC)
    5. SELECT ID, NAME, B LOC;
    6 VALIDATION;
    7 END;

    Kind regards
    Vikram

    If you need to pass the object name to a SQL running, you must use dynamic SQL statements.

    A simpler way is the following

    create or replace procedure proc_insert
    (
         pTableName varchar2
    )
    as
    begin
         execute immediate 'insert into a (id, name, loc) select id, name, loc from ' || pTableName;
         commit;
    end;
    
  • How to give the right to select for all objects of schema?

    Hello

    We have a lot of users and schemas.
    A user wants to execute 'select' for all tables in the other schema.

    For example: TEST user wishes to select the objects to TEST2. Test2 have hundreds of tables, TEST user cannot select other schema objects, so I don't want to give SELECT ANY TABLE privileges.

    How can do this at once? is it possible to give all the objects schema once subsidies?
    DB versin. 9.2.0.8

    greetings and thanks

    No, there are no subsidies. You must use hundreds of statements of grant.

    However, you can use dynamic SQL to do this automatically, i.e.

    CREATE ROLE test2_select;
    
    BEGIN
      FOR x IN (SELECT * FROM dba_tables WHERE owner='TEST2')
      LOOP
        EXECUTE IMMEDIATE 'GRANT SELECT ON test2.' || x.table_name || ' TO test2_select';
      END LOOP;
    END:
    /
    
    GRANT test2_select TO test;
    

    Justin

  • How to give the privilege for the task to the role or named users

    I am for the first time using dbms_scheduler instead of dbms_job.

    We have a situation where multiple users have privilege to run and change / delete a created with dbms_scheduler job.

    The job is running and I'm able to administer as a creator/owner there but is not able to grant privileges to other users.

    I executed:

    -Grant create any job to < user

    -Grant manage scheduler < user >
    but without success.

    When reading the documentation is seems it should be possible to grant privilege on work using alter < user > my_job grant but I don't get that ORA-00990: missing or invalid privilege

    I tried to use dbms_scheduler.create_job.
    What do I have to use dbms_scheduler.create_program?
    With the help of 11.2.0.2.0 (linux)
    I missed something fundamental?

    Regards Niclas Eklund

    Hi Niclas,

    Yes, you can grant the privilege to alter on a job. As pointed Asy, maybe you just forgot the key word WE?

    That being said, the privilege of CREATING a TASK also allows you to edit any job. However, this privilege is very powerful, so you should be very careful before you give him.

  • How to give the default value for an attribute in the OPA

    Hello

    I need a default attribute boolean to true at the beginning of the session of the OPA. I need to use it to control the visibility on some pages.

    Can someone please throw light on how to best implement this?

    Thank you.

    You have a few options (as always with the OPA!)

    If you use determinations of Web and that you have defined your own screens, then the easiest way is to define a default in the screen - you can either do a default static or dynamic based on an attribute is proved by a default rule.

    If you want a value by default when you debug without using screens, so you're better off just writing a rule to set the default value. It's kinda interesting with a Boolean value as you do not need to tell the value of the attribute OPA - it is inherent in the name of the attribute. For example, if you had a conclusion "control is visible" (with no = "true" or whatever it is) it would be set to 'control is visible' to 'true '. Set it to false, you simply need to type "control is not visible" - which actually (thanks to OPA assuming a 'subsidiary conclusion') defines "control is visible" to "false".

    You can then replace it in the debugger of via a screen issue (if you force the question).

    I don't know how it would work with server of determinations if you had a default value proved by a rule, but has also provided a value in the data - maybe someone else can clarify if the rule takes precedence over the input data? My usual approach is to try locally in OPM and see (using something like SOAPUI to integrate with the determinations OPA server web service). If that's the best way to implement this course (or indeed if using a default value of visibility control screen is best practice) is difficult for me to say - I am a relative beginner!

    Hope that helps a little...

  • How to give the alias name for business

    Hi all
    can one tell me select what to name the alias for the case expression.
    case
    When b = 1 then 'one '.
    else 'not 1'.
    end of case has,
    case
    When b = 2 then 'two '.
    another "step 2"
    cases of termination
    of test_t2
    /
    Error:
    end of case has,
    *
    ERROR on line 5:
    ORA-00923: THE KEYWORD not found where expected


    Thank you and best regards,
    Prakash P

    833560 wrote:
    Hi all
    can one tell me select what to name the alias for the case expression.
    case
    When b = 1 then 'one '.
    else 'not 1'.
    end of case has,
    case
    When b = 2 then 'two '.
    another "step 2"
    cases of termination
    of test_t2
    /
    Error:
    end of case has,
    *
    ERROR on line 5:
    ORA-00923: THE KEYWORD not found where expected

    Thank you best regards &,.
    Prakash P

    Try this please

    SELECT (case
                when b=1 then 'one'
                  else 'no 1'
                 end) b1,
    (case
    when b=2 then 'two'
    else 'no 2'
    end ) b2
    from  test_t2
    
  • How to give the option to the user to select the measures of temperature or voltage with NEITHER cDAQ-9178

    Hello. I wrote two programs for the NOR cDAQ-9178 that work perfectly, but now I would like to combine... and users the ability to perform a measurement of the temperature (module NI 9214) or a measure of tension (NI 9201 module). I tried to use an Enum to a case Structure control, where the

    user can choose either 'Measure the temperature', or 'Measure the tension', but during execution of the program, only the before user input panel opens and the program stops. Could someone please look at the code below and give me advice on the placement of my two programs in a structure of case? Each program contains two screws... a Subvi user input and a measure vi. Is it possible for me to drag the temperature and tension screw in the structure of matter? Thank you.

    FYI - I am reposting this, because I couldn't get tethering to work on my previous post

    I found my solution. I had to right click on the Subvi vi... 'Subvi node Setup' and select set the front panel

  • How to give the password to the file?

    Dear Sir.

    Thank you to give me solution of security of the folder to xp, I don't know the record security protect to xp. so pls tell me what software use the folder security, also how to protect xp.

    Your faithfully.

    Sunil shinde

    Check this box

    http://www.ehow.com/how_2196195_password-protect-folder-Windows-XP.html

    http://www.NewSoftwares.NET/folderlock/

Maybe you are looking for