How to disable the list item form in oracle Forms toolbar

Hello

I have to disable in the menu toolbar-> topic GIS link by using cutom.pll

in the procedure event custom.pll I called

If event_name = 'WHEN-NEW-FORM-INSTANCE' then
If form_name = "EAMFANDF" then
If block_name = "ASSET_NUMBERS" then
Set_Menu_Item_Property ("SPECIAL5: GIS Link', ON, PROPERTY_FALSE");
end if;
end if;
end if;

Please give me a solution...

With respect,
Maha

Hi all

I got a solution using this code I can enable disable the menu and the menu list.

declare
v_Asset_no varchar2 (50);
a MENUITEM;
Begin
a: = FIND_MENU_ITEM ("SPECIAL. SPECIAL5');
If (event_name = ' one TIME-NEW-POINT-INSTANCE ') then
If (form_name = "EAMFANDF" AND block_name = "ASSET_NUMBERS") then
v_Asset_no: = name_in('ASSET_NUMBERS.) ITEM_NUMBER_MIR');
If v_Asset_no = "DT" then
app_special2. Instantiate ('SPECIAL5', 'GIS Link');
-SET_MENU_ITEM_PROPERTY (one, displayed, property_true);
SET_MENU_ITEM_PROPERTY (one active, property_false);
On the other
app_special2. Instantiate ('SPECIAL5', 'GIS Link');
-SET_MENU_ITEM_PROPERTY (one, displayed, property_true);
SET_MENU_ITEM_PROPERTY (one active, property_True);
end if;
end if;
end if;
end;

Kind regards
Mohan Reddy

Published by: MAHA REDDY on May 17, 2013 12:02 AM

Tags: Oracle Development

Similar Questions

  • How to remove the list item empty forms of oracle?

    Hello

    How to remove the list item EMPTY forms of oracle?

    I create two list items

    (1) basic

    (2) advanced

    But when I select list or display the runtime display form element 3 element EMPTY automatically, but I add what it shows I want to delete! How?

    He has named REQUIRED = NO item property

    If you set YES and then it does not show. but you must give an initial value.

    Hamid

  • How to display the list item values both from 2 different tables?

    Hello world.

    I have a problem for the display of the data.

    There are 2 tables in the database.

    Table-1 has lc_value, lc_no, lc_dt, and vendor_code columns.

    Table-2 has vendor_code, $vendor_name & vendor_address.

    I created the form where I display data in list item 30 (tabular presentation - 30 records displayed).

    I need to display all values automatically at the same time in the form just by clicking on "Enter_Query" and "Execute_Query".

    It worked when the form had fields in a table in a single table.

    I created fields in a table for tables; then created the relationship between the tables by using the join (vendor_code).

    But when I run the form, click on "Enter_Query" and "Execute_Query", its does not work.

    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production.

    How can I do this?

    Help me.

    Thank you.

    Dear Bruno,

    Each provider code is to have a folder, then

    Why keep two tables?

    Why you want to update both the table at the same time?

    Master / detail means,.

    a master record depends on several detail records.

    Please, understand and try to build your form with single table.

    If you have already created 2 tables, then merge these into a single table.

    Or other wise keep table_1 as a database block and to vend_name as a data field (element of database in the palette of the property is set to 'no').

    Then go to the trigger of table_1 block post_query and write the following:

    Select vend_name in: vend_name from vendor_mst where vend_cd =: lc_vend_cd;

    In doing the above, the form will look as you wish but the change on the vend_name not to be saved because that is the point of no database.

    Other than vend_name all fields in table_1 will be recorded.

    Hope this will help.

    Post edited by: Priyasagi

  • remove the midpoint of the list item (forms 6i)

    Dear Sirs, I have list item consists of 10 items and I want to remove the number of article 4 and when I remove it, it's ok delete but show me the runtime with the place empty and I want to remove
    pls tell me how to do
    Yasser

    Try this

    try with Ctrl + Shift + <
    

    Work of hope...

  • How to disable the AutoSubmit validation form.

    I use Jdeveloper 10.1.3.

    I have a list box with autosubmit set to true to generate a list for a second list box... I also have other input on the form fields that have the required property set to true.

    When I select an item in the drop-down list, it sends the entire form and stops on fields that are required. Is it possible that I can use this autosubmit without affecting the entire form?

    Hello

    Didier Laurent has provided a very nice solution on how to avoid this behavior.
    http://blogs.Oracle.com/Didier/2008/04/02/#A301

    -Juan Camilo

  • How to display the list of statements in Oracle 11 G database

    Hello
    I have this Application that updates internally, and who wrote to the tables in my database. Is there a way I can do Oracle 11g to connect to all the instructions that are executed in it if this patient may consult the records? Please explain to me how to do this?

    Thank you
    Kiran

    Audit of the user on these tables.

    http://www.Oracle.com/technology/deploy/security/database-security/database-auditing/index.html

    http://www.Oracle-base.com/articles/10G/Auditing_10gR2.php

    Concerning
    Rajesh

  • How to get the value of the list item

    Hi all
    How to get the value of the list item?

    I have a problem with the list item object
    in Oracle Forms.
    How can I retrieve the selected item from
    a list?
    I have not found any function as ' list. GET_
    SELECTED_ITEM()'...



    Thank you
    Bala

    Hello

    You get the value as any other element of forms:

    :value := :block.list_tem ;
    

    François

  • Disable the Tunning &amp; diagnostic packs in oracle 10g and oracle 9i

    Hello

    According to the license agreement, our organization asked to disable the packs tuning & diag on Oracle databases.

    We use versions diff of databases oracle (oracle 9i, 10g, 11g)

    In oracle 11g, we can disable tuning & diag packs using the control_management_pack_access parameter to none.

    How to disable the setting & diag packs in Oracle 10 g and oracle 9i?

    Thank you

    AWR did not exist up to 10g, so I don't think that the diagnosis of EM or Tuning Packs are a problem with 9i.  As mentioned statspack is free and available always in 11g, so it is available for use.  -Mark-

  • How can I disable the menu items using manu, Photoshop cs6?

    How can I disable the menu items using manu, Photoshop cs6?

    I packed Photoshop cs6 using AAMEE CS6.

    I need some menu items to disable.

    can someone please process to do, or what records or files need to edit.

    Enjoy the immediate response.

    Thanks in advance.

    There is another discussion on the same topic: http://forums.adobe.com/thread/1234967?tstart=0

    Perhaps the same company has contracted two of your companies

  • The list item file (oracle form 6i)

    Hi all


    I have a problem regarding complete recording in the list item

    I have this code works in Oracle 10 g Forms Builder

    DECLARE
    REPORT NUMBER;
    Problem EXCEPTION;

    BEGIN

    -to fill the
    STATUS: = POPULATE_GROUP ('RG_PROD_DESC');

    -Make sure that the select statement is executed successfully.

    IF <>STATUS 0 THEN
    PROBLEM;
    ON THE OTHER
    -to fill the list item
    POPULATE_LIST (' DESCRIPTION ', 'RG_PROD_DESC' ");
    END IF;

    EXCEPTION
    Problem WHEN THEN
    MESSAGE ("we have a problem to query the table PRODUCT.');
    END;


    but when I try this code in Oracle Forms 6i, it did not work.


    can someone help me in this matter?

    Try this way. I changed some of the code to test on my system.

    DECLARE
    STATUS NUMBER;
    Problem EXCEPTION;
    list_id ITEM;
    BEGIN
    list_id :=Find_Item('Blockname.Listname');
    -- to populate the group
    STATUS:=POPULATE_GROUP('RG_PROD_DESC');
    -- Check that the select statement was executed successfully.
    CLEAR_LIST(list_id);
    POPULATE_LIST(list_id, 'RG_PROD_DESC');
    
    EXCEPTION
    WHEN others THEN
    MESSAGE ('We have a problem to query the PRODUCT table.');
    END;
    

    Best regards
    Franck Giri

  • How to get the content of the list item selected ListView using CPP?

    Hello

    I do a simple application, get the content of the list item selected ListView using CPP, in the main.qml file, I created a listview using XMLDataModel and I got the selected listview using dataModel.data (row) .attributeNameInXmlfile in qml. content as in the same way the ListView using cpp.please help me I want to get the content of the listitem selected.

    Here is my code

    hand. QML

    import bb.cascades 1.0
    
    Page {
        content: Container {
            id: mainContainer
            objectName: "container"
            // property alias selectedText: selectedTextField.text
            //property alias deselectedText: deselectedTextField.text
            ListView {
                objectName: "listView"
                dataModel: XmlDataModel {
                    source: "models/items.xml"
                    id: model
                }
                listItemComponents: [
                    ListItemComponent {
                        type: "item"
                        StandardListItem {
                            title: ListItemData.title
                        }
                    }
                ]
            }
            TextField {
                id: selectedTextField
                objectName: "selectedTextField"
                text: ""
            }
            TextField {
                id: deselectedTextField
                objectName: "deselectedTextField"
                text: ""
            }
        }
    }
    

    App.cpp

    #include "app.hpp"
    
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    using namespace std;
    
    using namespace bb::cascades;
    QObject *textFieldSelected ;
    QObject *textFieldNotSelected;
    QObject *list;
    App::App() {
        QmlDocument *qml = QmlDocument::create("main.qml");
        AbstractPane *root = qml->createRootNode();
        list = root->findChild("listView");
        textFieldNotSelected = root->findChild("deselectedTextField");
        textFieldSelected = root->findChild("selectedTextField");
        QObject::connect(list,SIGNAL(selectionChanged (QVariantList, bool)),this,SLOT(changeText(QVariantList, bool)));
        Application::setScene(root);
    }
    
    void App::changeText(QVariantList indexPath,bool selected) {
    
    }
    

    App.HPP

    #ifndef APP_H
    #define APP_H
    
    #include 
    #include 
    #include 
    
    /*!
     * @brief Application GUI object
     */
    class App : public QObject
    {
        Q_OBJECT
    public:
        App();
    public slots:
    void changeText(QVariantList ,bool );
    
    };
    
    #endif // ifndef APP_H
    

    Try this.

    void App::changeText(QVariantList indexPath,bool selected) {
        XmlDataModel *model = (XmlDataModel *)list->dataModel();
        QVariantMap map = model->data(indexPath).toMap();
        // map is your data in QVariant
        qDebug() << map["title"].toString();
    }
    
  • How to disable the toolbar to search related

    Visiting a few results from web sites in the appearance of a toolbar on the left, called "related searches." How to disable the toolbar?

    I have the feeling that it is injected by one of your modules. Here's my method to track down and clean the bad modules and ad injectors. I know it seems long, but it's not so bad.

    (1) open the Control Panel, uninstall a program. After the loading of the list, click on the column heading "installed on" to group infections, I mean additions by date. This can help the undisclosed items bundle smoker who snuck out with some software, you have agreed to install. Out as much garbage as possible here.

    (2) open Firefox page modules using either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons
    • in the Windows "Run" dialog box, type or paste
      firefox.exe "about:addons"

    In the left column, click on Plugins. Set essential and unrecognized plugins 'never enable '.

    In the left column, click Extensions. Then, in case of doubt, disable (or delete, if possible) not recognized and unwanted extensions.

    Often, a link will appear above at least an extension disabled to restart Firefox. You can complete your work on the tab and click one of the links in the last step.

    Any improvement?

    (3) you can search the rest of problems with scanning/cleaning tools listed in our technical support article: Troubleshooting Firefox problems caused by malware. These scanners on request are free and take a long time to run. If they end quickly, especially if they require the payment you have a serious infection. I suggest the specialty forums listed in the article in this case.

    Success?

  • Limit the width of the list item

    Hi all

    I use Oracle Application express 4.2.
    I have change a number filed for select list and created a dynamic lov to it.

    the problem is that its width increases dynamically.
    means, if I have a value "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.
    Width of the list will be the same length of the above "AAA...". ».


    How can I limit the width of the list item to a specific value? There is no such property for this it.

    Thank you.

    -Edit the item selection list.
    -Find the section 'Element '.
    -Enter the following value for the parameter "Attributes of the HTML Form element": style = "width: 100px;"
    -Adjust the number of pixels to your needs.

  • Problem with the list item

    Hi all
    I am facing a problem with the list item in my form. In my form, I have a list item (tmd_stat) with 3 list of values as the item complete, incomplete and null.this lies in the control block.

    I have a block (Detail) which is the database block.status_disp [point List] is one of the .an article on the value of list tmd_stat is filling with different values.

    an alert message (you want to change the status? Yes/No) will appear when we change the list item. If I click YES then the list works and retail block point status_disp is filled with a different list of values. If I click on 'No' the list value will be set to changed value.i.e suppose that I'm changing the Complete incomplete list item, alert message will be displayed. If I click on 'No' the cursor is placed on incomplete but incomplete. How can I place the cursor on the full value.

    Can you please give me the solution.

    Thank you

    Hello

    Save the old value in a variable and then if the user clicks on No. then reassign this value to the list item.

    Kind regards

    Manu.

  • How to disable the PNG Images

    How to disable the PNG Images?

    PNG is a format for images (compressed) as JPG format. There is no way to disable this format.

    If you have a problem with images on web pages, then you will need to block images from certain domains.

    You can watch the Adblock Plus extension to block specific content.

    You must subscribe to a list of filters (for example the EasyList).

Maybe you are looking for

  • The Profile Manager select device unique error has occurred

    10.11.4 / server 5.1 Profile Manager... I have a lot of ups and downs with that.  Since the update 5.1, if I'm going to choose ONE device (not a group), the Profile Manager throws up the dreaded "an error has occurred" message and forces a screen ref

  • transfer of photos to thumbdrive

    Is there an easy way to copy an album in Iphoto to a USB key? I don't have room for the library, iPhoto together (right now) and I want to just back up an album at the moment.

  • Get rid of the password when I come on laptop

    Please could someone... had this laptop today... and he asked me for a password to start... now... She asked for this every time... and like no one want me to use this laptop... reset commissioning... and do not have a password Thanks in advance for

  • My email is frozen what is happening? is the server 16/06/2011

    Is someone can you please tell me what is happening. I can connect but when my email opens that nothing works anymore, my work and personal emails are piling up and I can not open or read whatever it is. It's devastating.

  • Cannot print files using Vista. Works well under XP. No error message

    Have installed an EPSOM Stylus CX6500 on Compaq Presario CQ60. Does not print the files. Tried to delete and to rerun, files in the queue ok, but wont print. It works OK on my PC under XP. You have problems with programs Error messages Recent changes