How disable an Item

Hi,
Thank You to Rosario.
Now I have a new question.
In the 'Header' block of my form I have some Items, for example:
TYPE_CODE Varchar2
ANA_CODE Varchar2 etc.
and in 'Control' block a button that execute a query.
I need, when I push the Run button, disable the Items in the HEADER.
In the trigger WHEN-BUTTON-PRESSED I have insert a code like this:
Go_Block('HEADER') ;
Set_Item_Property('TYPE_CODE',ENABLED,PROPERTY_FALSE) ;
Set_Item_Property('ANA_CODE',ENABLED,PROPERTY_FALSE) ;
But when I Run the Form, an error FRM-40105 is returned.
I think that I mistake the syntax. How can resolve the problem ?
Best Regards
Gaetano

Frm-40105 : unable to resolve reference to item
You don't need to go to the Header block to run this code but you need to specify the block name in the calls to set_item_property:
Set_Item_Property('HEADER.TYPE_CODE',ENABLED,PROPERTY_FALSE) ;
Set_Item_Property('HEADER.ANA_CODE',ENABLED,PROPERTY_FALSE) ;

Similar Messages

  • How do I disable one item in a radio buttons control at run time

    I need to disable one item in a radio buttons control. At design time
    this is possible, but how do I do this at run time? Is this possible? I
    cannot find a property per item

    Use the property "Controls[ ]" - this gives you an array with references of each single button in the radio buttons control. These you can access with property nodes too.
    Hope this helps.
    Using LV8.0
    Don't be afraid to rate a good answer...

  • How to hide/disable menu items using Javascript in Acrobat 9 pro or later

    We just wanted to know on how to hide/disable menu items for e.g. 'Open' menu item under 'File' menu in Acrobat 9 or later on Mac using Javascript. It would be useful if you could provide if any other option is in place already.

    Not sure it will work, but you can try using the app.hideMenuItem() method. See reference here.

  • How to Disable an Item of OAF Standard Page through Personalization.

    Hi,
    My requirement is to disable an item of Standard Page through personalization
    so that users can't edit that field.
    I tried checking for Disable under Personalization Properties but didn't find Disable Property.
    Can any one give me an idea how to do that?
    Thanks in advance.
    Regards,
    Subramanyam.

    Hi,
    Do as suggested by Abdul Wahid.
    Please tell me which type of item is this like LOV, textbox...
    Regards,
    Reetesh Sharma

  • How do i disable menu items in Help manu, Photoshop cs6?

    How do i disable menu items in Help manu, Photoshop cs6?
    I packaged Photoshop cs6  using AAMEE CS6.
    I need to some menu items to disable.
    can any one please tell the process of doing , or which registries or files need to edit.
    Appreciate the immediate response.
    thanks in advance.

    Hello8
    Given the fact that you speak about AAMEE, it's not clear if you search for an automated and remote way to do it on multiple machines or not.
    (and therefore if this thread should be moved to the relevant forum, http://forums.adobe.com/community/download_install_setup/creative_suite_enterprise_deploym ent )
    To disable menu items, simply go to Edit>Menus and click on the eyeball next to the menus you do not want.
    It is then possible to save it in a workspace that by default will be located there: Documents and Settings/[user name]/Application Data/Adobe/Adobe Photoshop CS6/Adobe Photoshop CS5 Settings/Workspaces (Modified)
    I'm not sure if Photoshop will start if the default workspaces are removed, as there is an option to restore them in the preferences.
    Also, this is not customer support, but a forum fielded by volunteers that answer when they can, so inviting for an"immediate response" has no bearing; and might even have the opposite effect, but thanks for doing it in a polite and non too demanding way!

  • How to disable multiple items in menu ring?

    Hi I have a difficulty understanding on how to disable the items in the menu ring control. I need to know so that I will enable some items for the future products for testing. And why is the first item disabled? How can I disable the right items?
    Attachments:
    disabled_items.vi ‏23 KB

    Your vi works perfectly :
    you are disabling the menu items wich correspond to the elements of the 1D array :
    -if the array is empty, no element is disabled;
    -if the array contains 1 element, for instance = 3, the forth (3+1) menu item will be disabled. If the array element equal zero, then the first menu item will be disabled;
    - if the array contains 2 elements, then two corresponding menu items will be disabled, and so on...
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • How to disable an item in a selectOneRadio

    Hi, I want to disable an item depending on some calculation in a selectOneRadio. Im using a spread layout and populate the selectOneRadio through selectItems... Any ideas?
    <t:selectOneRadio id="radioTypes" value="#{ucb.type}" forceId="true" layout="spread" required="true">
         <f:selectItems value="#{model.allTypes}"/>
    </t:selectOneRadio>
    <h:panelGrid>
         <%-- Radio one --%>
         <h:panelGroup>
              <t:radio index="0" for="radioTypes" id="type1" />
         </h:panelGroup>
         <%-- Radio two --%>
         <h:panelGroup>
              <t:radio index="1" for="radioTypes" id="type2" />
         </h:panelGroup>
         <%-- Radio three --%>
         <h:panelGroup>
              <t:radio index="2" for="radioTypes" id="type3" />
         </h:panelGroup>
    </h:panelGrid>The t:radio tags has no disable parameter, is there any way around this. I don't want to disable all the radiobuttons just some specific ones.
    Best Regards
    Chris

    You can use the UISelectitem#setItemDisabled method to set the item disabled status.

  • Disable line item display in KE30 Reports

    Hi,
    Has any one tried disabling line item display in a KE30 Report? Which authorization object can be used to disable the access to line items?
    Thanks for your time.
    Regards,
    SAP_CO1

    Hi,
    When you create user-defined authorization objects for reporting, all their fields will be checked when you execute a report, even if they are not used in the report. It is not necessary to have all fields in the report definition, but you will need at least authorization ':' to get the aggregated figures.
    Example:
    Authorization object contains fields WW001, WW002
    Report uses field WW001 as drilldown characteristic, but not WW002.
    To execute the report, the user needs authorization '*' for field WW001 and ':' for WW002.
    If he does not have authorization for WW001 then he can execute KE30 but cannot drilldown to line items
    For more information how authorization checks for user-defined authorization objects work, you can refer to the IMG documentation via CO-PA -> Tools -> Authorization Management ->CO-PA specific Authorization objects -> Define authorization objects for the information system.
    You may use transaction SU24 in order to check the assignment of authorization objects to transaction KE30.
    regards
    Waman

  • Enable/disable an item in a multirecord block

    hello to all
    How is possible Enable/disable an item in a multirecord block?
    set_item_property change all instances of an item in a multi-record block
    SET_ITEM_INSTANCE_PROPERTY only affects the display
    thanks

    Hi,
    You cannot set the Enabled property in a multi-record block, instead you can change the INSERT_ALLOWED, UPDATE_ALLOWED properties. So that the user can't change the value in the item.
    Regards,
    Manu.
    If my response or the response of another was helpful, please mark it accordingly

  • GPO setting "Hide and disable all items on the desktop" stop applying at policy refresh

    In our organization we have the Hide and disable all items on the desktop setting enabled on our Windows 7 computers. As we are testing Windows 8.1 we have come across an odd behaviour with this setting: At log on the desktop is configured as expected: No
    Icons. But after 90 minutes, or when running gpupdate /target:user manually, the Icons appear.
    How can I make the setting stay?
    Regards/
    Johan

    Hi Johan,
    After the icons appear ,I suggest you use gpresult command to check the result.
    It seems that some setting  overrided ""Hide and disable all items on the desktop".
    Regards,
    Kelvin hsu
    TechNet Community Support

  • Where do i disable startup items?

    how can i disable startup items on my mac?(e.t. services)
    But not log in items!

    Not sure I understand. What exactly is it that you don't want to run on start up?

  • 6720C :how disable flash when taking picture with ...

    hi,please how disable flash when taking picture with camera in 6720?

    when camera is open a list pops up here it is
    The toolbar provides you with shortcuts to different items and settings before and after capturing an image or recording a video clip. Select from the following: Switch between video and image mode.
    Select the scene.
    Activate panorama mode.
    Turn the video light on (video mode only).
    Select the flash mode (images only).
    Activate the self-timer (images only).
    Activate sequence mode (images only).
    Select a colour effect.
    Adjust the white balance.
    Go to Photos.
    scroll to flash and turn it off there
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • Using XMLLIST - Enable/Disable Menu Items

    I am using XMLList for creating menu items.
    I want to enable / disable menu items based on the permissions to the user.
    Below is the code snippet:
    <fx:XMLList  id="newData">
                                  <menuitem id="item1" label="{resourceManager.getString('taskmgmt', 'taskmgmt.label.newProject')}" />
                                  <menuitem id="item2" label="{resourceManager.getString('taskmgmt', 'taskmgmt.label.projectFromTemplate')}" enabled="false"/>
                        </fx:XMLList>
    private function ItemClickHandler(event:MenuEvent):void
         if(PermissionManager.isAddPermitted("WTM_PROJECT_PLANNING")){
                                                           ProjectAssignmentModel.projectAssignmentFlag=false;
                                                           if(event.item.@label == resourceManager.getString('taskmgmt', 'taskmgmt.label.newProject')){
                                                                     clearModel();
                                                                     dispatchEvent(new SwitchViewEvent(SwitchViewEvent.SWITCH_VIEW_EVENT,false));
    protected function newMenuButton_clickHandler(event:MouseEvent):void
                                            if(! PermissionManager.isAddPermitted("WTM_PROJECT_PLANNING")){
                                                      newData.item1.enabled = false;
                                            else
                                                      menuList.dataProvider = newData;
                                                      menuList.show(event.stageX + 5 , event.stageY + 5);
                                                      mode = CREATE;
    Based on the permission, I want to dynamically enable / disable the "New Project" button.
    Can someone provide information how to achieve this ?
    Further update on this, it is giving the following error while running of the application:
    "TypeError: Error #1089: assignment to list with more than one item is not supported"

    Resolved by using the correct Data Provider and iterating through the list

  • How to get items from a list that has more items than the List View Threshold?

    I'm using SharePoints object model and I'm trying to get all or a subset of the items from a SharePoint 2010 list which has many more items than the list view threshold (20,000+) using the SPList.GetItems() method. However no matter what I do the SPQueryThrottledException
    always seems to be thrown and I get no items back.
    I'm sorting based on the ID field, so it is indexed. I've tried setting the RowLimit property on the SPQuery object(had no effect). I tried specifying the RowLimit in the SPQuerys ViewXml property, but that still throws a throttle exception. I tried using the
    ContentIterator as defined here:http://msdn.microsoft.com/en-us/library/microsoft.office.server.utilities.contentiterator.aspx,
    but that still throws the query throttle exception. I tried specifying the RowLimit parameter in the ProcessListItems functions, as suggested by the first comment here:http://tomvangaever.be/blogv2/2011/05/contentiterator-very-large-lists/,
    but it still throws the query throttle exception. I tried using GetDataTable instead, still throws query throttle exception. I can't run this as admin, I can't raise the threshold limit, I can't raise the threshold limit temporarily, I can't override the lists
    throttling(i.e. list.EnableThrottling = false;), and I can't override the SPQuery(query.QueryThrottleMode = SPQueryThrottleOption.Override;). Does anyone know how to get items back in this situation or has anyone succesfully beaten the query throttle exception?
    Thanks.
    My Query:
    <OrderBy>
        <FieldRef Name='ID' Ascending='TRUE' />
    </OrderBy>
    <Where>
        <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
    </Where>
    My ViewXml:
    <View>
        <Query>
            <OrderBy><FieldRef Name='ID' Ascending='TRUE' /></OrderBy>
            <Where>
                <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
            </Where>
        </Query>
        <RowLimit>2000</RowLimit>
    </View>
    Thanks again.

    I was using code below to work with 700000+ items in the list.
    SPWeb oWebsite = SPContext.Current.Web;
    SPList oList = oWebsite.Lists["MyList"];
    SPQuery oQuery = new SPQuery();
    oQuery.RowLimit = 2000;
    int intIndex = 1;
    do
    SPListItemCollection collListItems = oList.GetItems(oQuery);
    foreach (SPListItem oListItem in collListItems)
    //do something oListItem["Title"].ToString()
    oQuery.ListItemCollectionPosition = collListItems.ListItemCollectionPosition;
    intIndex++;
    } while (oQuery.ListItemCollectionPosition != null);
    Oleg
    Hi Oleg, thanks for replying.
    The problem with the code you have is that your SPQuery object's QueryThrottleMode is set to default. If you run that code as a local admin no throttle limits will be applied, but if you're not admin you will still have the normal throttle limits. In my
    situation it won't be run as a local admin so the code you provided won't work. You can simulate my dilemma by setting the QuerryThrottleMode  property to SPQueryThrottleOption.Strict, and I'm sure you'll start to get SPQueryThrottledException's
    as well on that list of 700000+ items.
    Thanks anyway though

  • How to Inactive Item Status at Org Level

    How to Inactive Item Status at Org Level and what are the implications of doing so.
    What are the prerequisits before inactivating an item status.
    The Procedure I am following is
    Changing the Item Attribute control to Org Level for Item Status
    Log on to Organization Items and Selecting the Item Status as Inactive.
    Can any one please let me know what are the pre requisits before Inactivating an Items and The procedure I am following is correct.
    Thanks
    Srinivasa Garikipati

    Hi;
    Please check serial attribute and org attribute problems with item master and see its helpful
    Also you can check:
    http://oz1-n.blogspot.com/2009/06/interview-questions-for-oracle-11i-apps.html part
    1. Once an item is assigned to an organization, is it possible to remove this association at a later time?
    2. How do I inactivate an item?
    Regard
    Helios

Maybe you are looking for