LOV with FRM-41042: No such property for SET_ITEM_PROPERTY

Hi all,
I have a field (not a database item of the block ) of LOV object and a button next to it to trigger to the LOV list item.
However, whenever, i click on the button, FRM-41042: No such property for SET_ITEM_PROPERTY will be prompted. Though the list item do appear and the item can be set into the field.
Here is the procedure called by the when-button-pressed trigger of the button.
PROCEDURE press_lov_btn IS
v_lov_name           varchar2(30);
     v_sel                              boolean;
     l_target_item      varchar2(100);
BEGIN
l_target_item := NAME_IN ( 'SYSTEM.TRIGGER_BLOCK' ) || '.' ||
GET_ITEM_PROPERTY ( NAME_IN ( 'SYSTEM.TRIGGER_ITEM' ), PREVIOUSITEM );
IF l_target_item != NAME_IN ( 'SYSTEM.CURSOR_ITEM' ) THEN
GO_ITEM ( l_target_item );
     v_lov_name := get_item_property ( l_target_item, lov_name );
END IF;
     v_sel := show_lov ( v_lov_name );
if not v_sel then
     raise form_trigger_failure;
end if;
END press_lov_btn;
Any one know the error is due to the setting in the field or that in the button?????
Thanks a lot.

Your code to call a lov is a little complicated and errornous (as it depends on the item-ordering). The following code it a little easier (in my eyes). It depends just on naming-conventions, the button-name has to be 'BT_XXX' where XXX is the name of the item the lov is attached to.
PROCEDURE PR_LOV IS
  vcItem VARCHAR2(61):=REPLACE(NAME_IN ('SYSTEM.TRIGGER_ITEM'), '.BT_', '.');
  itItem  ITEM;
BEGIN
  itItem:=FIND_ITEM(vcItem);
  IF NOT ID_Null(itItem) THEN
    -- Navigate to the item
    GO_ITEM(vcItem);
    -- Show its lov
    DO_KEY('LIST_VALUES');
  ELSE
    message('invalid item ' || vcItem);
    RAISE FORM_TRIGGER_FAILURE;
  END IF;
END;Hope this helps.

Similar Messages

  • FRM-41042 -No such property for set_item_property

    Hello all!
    Im getting the above error when issuing the statement below in a post-query trigger in a form.
    set_item_property('emp_mst.sub_div_cd',ENABLED,PROPERTY_TRUE);
    I find this strange coz i've been using it b4.
    Thnx

    hello,
    What is emp_mst.sub_div_cd ?
    I have seen this happening on Radio groups (with radio buttons).
    On Forms 6, setting this property on Radio groups did not raise FRM-41042 but on 10g, error was raised.
    On a more general note, check what property you are setting and the exact item. From there, you can see how to go around this statement.

  • FRM-41042 No Such Value For SET_ITEM_PROPERTY

    Hi all,
    I'm using Oracle 10g and I want to set a Text Item value manual so, I do this in the When-New-Form-Instance then I write the code
    EXECUTE_QUERY;
    DECLARE
          ITEM_ID ITEM;
    BEGIN
          ITEM_ID:=FIND_ITEM('EXPECTED_GOODS.TEXT_ITEM_PRODUCT_NAME');
          SET_ITEM_PROPERTY(ITEM_ID,INITIAL_VALUE,'Zikas');
    END;Then when I run (the compilation successes) the error FRM-41042 appear
    Thanks in advance :)
    Edited by: ZiKaS on Dec 27, 2008 12:20 AM
    Edited by: ZiKaS on Dec 27, 2008 12:32 AM
    Edited by: ZiKaS on Dec 27, 2008 12:32 AM

    set_item_property();

  • FRM-41383 No such property for Set_Item_Instance_Property

    Hi
    I am getting the above error message when I am calling this from the form.
    set_item_instance_property(block_name.item_name',current_record,visual_attribute,'CUSTOM');
    where CUSTOM is the visual attribute.

    You have a stray apostrophe in your line above. Please post the actual code you are using.

  • Where has the bookmark property for specifying the icon gone?

    In FF3 if I selected a bookmark and its properties, I was provided a field where I could specify the location on my PC for the desired icon for that bookmark. This was particularly true for specifying the icons for the Bookmarks Toolbar. I have the TotalToolbar v1.9.1 extension installed, but I am not sure that that extension gave me that capability for FF3. In FF4 there is no such property for bookmarks to specify, or change, the icon. One step back.

    This issue is caused by an extension that isn't working in Firefox 4
    You can look at this extension:
    *Bookmark Favicon Changer: https://addons.mozilla.org/firefox/addon/bookmark-favicon-changer/

  • Accessing LOV available via methods throws No Such Property error

    I am using select <af:selectOneChoice> compoent (Same issue with other components too) with LOV from Model Driven data available in the following structure
    Model(created as Data Control) -> findPD1(String s1, String s2) -> PD1(object of class PD1) -> findPD2(String s3) -> PD2(object of class PD2) -> List<String> itemValue
    Where itemValue has get and set method.
    While running I get the following error
    JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-29000. Error message parameters are {0=groovy.lang.MissingPropertyException, 1=No such property: element for class: java.lang.String}
    Where as, the same works if we move the itemValue under Model like
    Model(created as Data Control) -> List<String> itemValue
    I am using JDeveloper version 11.1.2.3 the same works fine with 11.1.1.2 is this a regression?
    find some code from source below
    From Page def
    +<list IterBinding="testValueIterator" ListOperMode="navigation" ListIter="testValueIterator" id="testValue"+
    DTSupportsMRU="true" SelectItemValueMode="ListObject">
    +<AttrNames>+
    +<Item Value="element"/>+
    +</AttrNames>+
    +</list>+
    +<accessorIterator MasterBinding="findComponentIterator" Binds="testValue" RangeSize="25" DataControl="StorageModel"+
    BeanClass="java.lang.String" id="testValueIterator"/>
    From JSFF page
    +<af:selectOneChoice value="#{bindings.testValue.inputValue}" label="#{bindings.testValue.label}"+
    +required="#{bindings.testValue.hints.mandatory}"+
    +shortDesc="#{bindings.testValue.hints.tooltip}" id="soc2">+
    +<f:selectItems value="#{bindings.testValue.items}" id="si2"/>+
    +</af:selectOneChoice>+
    Please help me to fix this issue
    Thanks,
    Sabareesh

    Hi Frank,
    Thanks for your help.
    Here I am using the LOV using Data Control binding so #{bindings.testValue.items} itself gives the Collection of 'SelectItem'
    After some analysis I reduced the problem description.
    Created below two classes in model project
    public class MyData  {
        private ClassOne co;
        public MyData() {
            super();
            co = new ClassOne();
            List<String> pp = new ArrayList<String>();
            pp.add("Item1");
            pp.add("Item2");
            pp.add("Item3");
            co.setPp(pp);
        public ClassOne findCO() {
            return co;
        public void setCo(ClassOne co) {
            this.co = co;
        public ClassOne getCo() {
            return co;
    public class ClassOne {
        private List<String> pp;
        public ClassOne() {
            super();
        public void setPp(List<String> pp) {
            this.pp = pp;
        public List<String> getPp() {         
            return pp;
    }Created the Data Control from the Class MyData ( Right click MyData class select Create Data Control -> click OK)
    Drag and drop findCO() --> pp in a jsf page (in view project) --> Run --> we are getting below Exception
    oracle.jbo.JboException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-29000. Error message parameters are {0=groovy.lang.MissingPropertyException, 1=No such property: element for class: java.lang.String}
    but if we remove getCo() and setCo() methods from MyData.java then it works perfectly fine
    Also this problem didn't occur on 11.1.1.6 R1 but occurs on 11.1.2.3 R2.
    Not able to understand this strange behavior, please help.
    Hope this is an regression issue and need to raise the bug. Please confirm.
    Is there any other workaround other than removing getCo() and setCo() methods?
    Thanks,
    Sabareesh.

  • I look for integrated in the legend bloc of diaporama, a widget such as "Accordion" for, with a click, or passing with mouse, open a new legend for each photo. I tried with "Accordion" of Muse, it does not work. I tried copy/paste, mais no result. The wid

    Question.
    I look for integrated in the legend bloc of diaporama, a widget such as "Accordion" for, with a click, or passing with mouse, open a new legend for each photo. I tried with "Accordion" of Muse, it does not work. I tried copy/paste, mais no result. The widget disappear in bloc legend. disparaître. Have you one solution?
    Thank you,
    Loïc

    Accordion or Tabbed panel should to it, with click and open container.
    Please provide site url where this does not work, also if you can provide an example where we can see the exact action then it would help us.
    Thanks,
    Sanjit

  • Is it possible to install ios 5 on a 2nd gen touch,i would love to give this to my daughter for her to play games with and none of the games are supported

    is it possible to install ios 5 on a 2nd gen touch,i would love to give this to my daughter for her to play games with and none of the games are supported

    Sorry, no. 4.2.1 is the highest possible for that model.

  • Dear Apple,please help me.the glitch and lags on games made me sad beause i am too love with my 4s. Why iOS 7 really made me sad...please help me.im beg for you.

    Dear Apple,please help me.the glitch and lags on games made me sad beause i am too love with my 4s. Why iOS 7 really made me sad...please help me.im beg for you.

    www.apple.com/feedback/iphone.html
    No one from Apple is listening on these forums.

  • I just got an ipad 2 and I felt in love with it. first time apple user. Thererofe, now I want to repalce all my PC product that I have. Could someone tell me if the IMac is touch screem such the ipad? thanks

    I just got an iPad 2 and I felt in love with it. First time Apple user! Unfortunatelly, now I want to replace all my PCs products that I have. Could anyone tell me please if the I Mac desktop has touchscreem and works like the iPad 2?
    Thanks

    The iMac does not include touch screen capability.
    With an iMac, you can choose between a Magic Mouse or a Magic Trackpad. If you want both, there is an additional cost.
    http://www.apple.com/imac/design.html

  • FRM-30457: Maximum Length ignored for character-datatype

    Hi,
    I have a oracle form. When i use Compile Module (Ctrl + T) I am getting the following error:
    FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mirror item MAIN_CONTROLS.DATA1.
    Can anyone help to resolve this warning message?

    Hi,
    Check the data type of MAIN_CONTROLS.DATA1, i think, it must be a number.
    Or you might have not added the maximum length for MAIN_CONTROLS.DATA1.
    I found the below when I surfed.
    Error Message: FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mirror item %s.%s.
    Error Cause:
    A non-zero value was specified for the Maximum Length property in a subordinate mirror item whose Data Type is CHAR, ALPHA, or LONG. The Maximum Length property for such an item will be obtained from the master mirror item (the item specified by the Synchronize with Item property).
    Action:
    Specify the Maximum Length property in the master mirror item.

  • Getting error message FRM-40700:No such trigger: SPECIAL20

    Hi,
    We have designed a custom report (Quote) and would like to use Special Menu's(Reports Menu) to open this custom Report. When I try to open this Report using
    REPORTS->Quote, The Report is opening seccuessfully but i am getting following error message at the bottom of screen bar.How can I clear this message ?
    FRM-40700:No such trigger: SPECIAL20
    The code which I wrote in the custom.pll is
    IF (form_name = 'OEXOEORD') THEN
    -- Enable View Order Report -- V1.4 --
    if (event_name = 'WHEN-NEW-FORM-INSTANCE') then
    app_special.instantiate('SPECIAL20', 'View Order Report');
    app_special.enable('SPECIAL20',PROPERTY_OFF);
    else
    if (event_name='WHEN-NEW-BLOCK-INSTANCE') THEN
    if block_name='ORDER' then
    app_special.enable('SPECIAL20',PROPERTY_ON);
    else
    app_special.enable('SPECIAL20',PROPERTY_OFF);
    end if;
    end if;
    end if;
    if (event_name='SPECIAL20' and block_name='ORDER') then
    param_to_pass1 := name_in('ORDER.HEADER_ID');
    select order_number into param_to_pass2 from oe_order_headers_all where header_id=param_to_pass1;
    editor_pkg.report(BSI_Quote(param_to_pass2), 'Y');
    null;
    end if;
    end if;
    Please give me valuable inputs on this issue.
    Thanks,
    HTH

    Hi,
    your package " app_special" does a call to "execute_trigger('SPECIAL20');" ,
    but there is no trigger with this name in your form. ( perhaps an Menu-item exists with this name.)
    Lock for "execute_trigger" in:
    app_special.instantiate('SPECIAL20', 'View Order Report');

  • FRM-47023: No such parameter named REPORTSSERVER exists in form MY_FORM.

    Hi,
    After upgrade form to Forms [32 Bit] Version 10.1.2.0.2 (Production), I have come cross this following error when I try to run the from my form from developer in Windows through OC4J:
    "FRM-47023: No such parameter named REPORTSSERVER exists in form MY_FORM"
    The form works fine before upgrade. I did Google the message but I have not been able to find the solution for this problem. Some of my application forms work fine but many of the forms have the above error message when I started to run then from form builder.
    Could you help me to resolve this problem? Your help is very much appreciated!
    Michael

    Hi,
    What is the URL you are using for running the form? Check if it contains a parameter REPORTSSERVER (i.e if the url contains something like http://.....?otherparams=REPORTSSERVER=..).
    Or, if you are getting this error while doing a call/open/new_form, then check if the MY_FORM contains the parameter named REPORTSSERVER (by opening it in the forms builder, check the Parameters node). If it does not contain, create a parameter with the name REPORTSSERVER, compile the form and run it.
    -Arun

  • FRM-47023: NO SUCH PARAMETER NAMED SESSIONID EXISTS

    Hi all,
    I'm getting FRM-47023: NO SUCH PARAMETER NAMED SESSIONID EXISTS while doing OM Superuser > Enter Orders. This issue is specific when we login to EBS in Dutch and does not appear in English! Language specifi error - FRM-47023: parameter met de naam SESSIONID bestaat niet in formulier OEXOEORD
    I've gone through the below notes and applied the Patch 8937577 as per the note *9355687*: SALES ORDER FORM CREATES FRM-47023 ERROR [ID 1062982.1]. But, that did not resolve the issue.
    I've found another note: Enter Oders-OEXOEORD-FRM-47023: NO SUCH PARAMETER NAMED SESSIONID EXISTS [ID *1078022.1*], which insists on applying AR translation of <<*8310984:R12.ONT.A*>> to sync the form version.
    But, I could not apply this patch(8310984:R12.ONT.A) as my code level is at R12.B. and for that I applied Patch *9544144_R12.ONT.B*. But the issue is not resolved.
    Can someone let me know,
    1. Is this issue specific to any missing configuration setup(Functional)?
    2. Needs additional/alternate Patch?
    3. Is it NLS specific? Do I need to apply any NLS Patch?
    Regards,
    Mahesh

    Hi,
    1. Is this issue specific to any missing configuration setup(Functional)?If the issue with NLS languages only then most probably it is not a setup issue.
    2. Needs additional/alternate Patch?Cannot tell until you go through the doc referenced below -- Have you applied all NLS patches mentioned in your post in addition to the English ones?
    3. Is it NLS specific? Do I need to apply any NLS Patch?Please see (Requesting Translation Synchronization Patches [ID 252422.1]) to find out if you have any missing NLS patches that need to be applied.
    Thanks,
    Hussein

  • Creating LOV with Where clause

    I'm trying to create a list of values from a select statementsomething like this
    select customer_name, customer_number from customer
    where Region = 'WEST';
    I'm able to create a list of values of all the customers and numbers, but I could not
    create a lov for a specific subset of that data, such as in the where clause.
    Is it possible to create a LOV with a where clause?

    Use bind variables to accept the region parameter. Also, it is good practice to accept a null parameter value. If your parameter is null, display the entire list of values. Your query would look something like this:
    select customer_name, customer_number from customer
    where Region = :region_name or
    :region_name is null;
    Regards,
    Jay Mason

Maybe you are looking for

  • I cannot seem to find the DE for me

    See one problem that happens to many Linux users is that they become nomads. (My friend has fallen to this fate. Arch's simplicity isn't the solution to everyone I guess.) Distro hoppers. Liking parts of one distro and parts of others and changing th

  • Adobe Acrobat Pro X - plug-ins not loaded

    I recently purchased Adobe Acrobat Pro for our company with multiple user licences.  Once installed I noticed a lot of features which were in previous versions are not available.  When I select the "Help" "About Adobe Plug-ins..." tab, almost all of

  • SQL group by and having

    I have a table having columns business_name ,sales,state,zip. I would like to know count of businesses having sales 0-50 and count of businesses having sales50-100, and 100-150 and so on. can i write single query to gent count of business for all the

  • We could not complete your itunes store request. the network connection timed out

    Can anyone help me with this message? We could not complete your itunes store request. The network connection has timed out.

  • Trouble using CATSEARCH in HTMLDB

    Hi, I'm having some trouble with a catsearch query. I have created ctxcat indexes on the proper columns, and I know that they work because when I type the query in a sqlplus window, it returns the correct results. However, when I use the same query i