FRM-41337 clause execute_query with populate in a trigger list item

Hello
I put the clause execute_query and witch procedure to fill list item in a trigger (a TIMES-NEWS-BLOCK-INSTANCE), Lake this:

BEGIN
do_key ('execute_query');
CGLL$ LST_COMP_MIEJSC_KRA_NAZWA;
END;

and I get error frm-41337. It's a job, but I get this error? If I put only the procedure CGLL$ LST_COMP_MIEJSC_KRA_NAZWA; I get no error, and if I put only execute_query, then also I get no error.

procedure CGLL$ LST_COMP_MIEJSC_KRA_NAZWA; is generated by forms and is ok.
Any idea?
Concerning

You can't repopulate a listitem when the block is 'filled' with records queried from the database. You'd have to put a CLEAR_BLOCK before the CGLL$-thing.

Tags: Oracle Development

Similar Questions

  • Dependent on PoPList not generating. Obtain the FRM 41337 error

    I create two pop lists in forms where the second pop list is dependent on first. I am able to programmatically generate the first list of POPs using trigger ONCE - NEW - FORM_INSTANCE. Now to build the second dependent pop list where I need to generate the list items according to the list item in the list of POPs 1, I used WHEN_LIST-CHANGED trigger on the item in the list 1 block of data. I'm not able to produce the second poplist. I get FRM 41337 error.

    Someone at - he experienced this and knows the reason? I'm sure that my code is very well as a pop list a pop list 2 codes are identical and pop list 1 works and generating the list so why same code used in WLC do not trigger capable of generating in pop list 2.

    No details on this will be helpful to the resolution of this please.

    Thank you.

    PoPList getting came not as I have above in posts. So this has been resolved by changing the Style of list = list box instead of Poplist in the properties panel for the list item.

    I do not understand why the list of B_G_NO could not generate when it has been set to "Poplist" but that works perfectly well when he's on the list of type "drop-down list. Thanks to everyone for their help.

    Problem is solved by workaround.

  • Development of a feature of single line with list items

    Hello
    I am new to Oracle forms. Currently using Oracle forms 6i.
    I am facing a problem when you check the condition of the components of a line while choosing the "item in the list. I basically multiple data block. On the block of data I assigned to the property as 'Item in the list' to one of the element. This list item has three options 'MANUAL', 'AUTO' and 'ADVANCE '. When I choose the 'MANUAL' list item, corresponding line should be editable and the user can insert the record in the same row. But when I choose 'AUTO' or 'ADVANCE' only the specified element say for example the element 'Sr.no" only be editable while all other elements are unchangeable. I tried to use set_record_property for 'MANUAL' and that my point. But writing set_item_property to "AUTO" and "ADVANCE", which spoils the feature then 'MANUAL' for the line/record after having inserted a line 'AUTO' or 'FORWARD '.
    Please help as soon as possible because it is urgently needed.

    Published by: 1005292 on May 10, 2013 12:43

    I agree with Gregor uses WHEN-LIST-CHANGED-relaxation. But I wouldn't set the INSERT_ALLOWED and UPDATE_ALLOWED properties in a WHEN-NEW-FOLDER-iNSTANCE-trigger, but put in the WHEN-LIST-CHANGED-trigger and in the process of filling the block (I don't know how the block is filled, if its done using EXECUTE_QUERY the relaxation would be POST-QUERY-relaxation).

    The statement to make it a feature in the Insertable current record is

    SET_ITEM_INSTANCE_PROPERTY('BLOCK.ITEM', TO_NUMBER(:SYSTEM.TRIGGER_RECORD), INSERT_ALLOWED, PROPERTY_TRUE);
    SET_ITEM_INSTANCE_PROPERTY('BLOCK.ITEM', TO_NUMBER(:SYSTEM.TRIGGER_RECORD), UPDATE_ALLOWED, PROPERTY_TRUE);
    
  • Need help to parse the xml string to populate the drop-down list

    Here is my: problem

    I have a hidden text field that contains the text of an xml

    <>facilities
    < building >
    < name > Building A < / name >
    < name > building B < / name >
    < name > building C < / name >
    < name > building D < / name >
    < name > building E < / name >
    < name > building F < / name >
    < name > building G < / name >
    < name > building H < / name >
    < / build >
    < / facilities >

    My goal is to read this with JavaScript xml string to populate a drop-down list with values of element (name). Does anyone know how script that?

    Attached is a sample .xdp

    See you soon,.

    Jesse

    Here is an example of change. I put the code click on the button, so you can see it in operation... You can place this code in the event that makes sense for you. I also added another field to show the DOM (this is for debugging purposes and you can remove this field if you want).

    Paul

  • How can I select the files in a folder with the help of a list with the files you want and after that rename only the files using another list with desired new names?

    How can I select the files in a folder with the help of a list with the files you want and after that rename only the files using another list with desired new names?

    I have only:
    D: / images (where are necessary + not need files)
    -a list with only the necessary files
    -a list with new names for the files needed
    Thank you.

    Hi Pustiu,

    Thanks for posting in the Microsoft Community.

    You want to know how to select the files in a folder using a list with the files you want and after that rename only the files using another list with desired new names.

    I would have you post your query in the TechNet forums because it caters to an audience of it professionals.

    Your query will be better addressed there.

    Check out the link-

    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/threads

    We know if you need help. We will be happy to help you. We, at tender Microsoft to excellence.

    Thank you.

  • User entered values to populate a drop-down list.

    I created a form with a fixed number of lines dynamically.  Each line has a drop-down list field that is initially empty.  I want to add user input to the list to be used on the ground in the following lines.

    Hello

    Here is an example that could help.  https://sites.Google.com/site/livecycledesignercookbooks/home/ReferenceNode.PDF?attredirec ts = 0 & d = 1

    This form allows you to add a drop-down list item value and id which is then picked up by the drop-down list control.  The main problem is having to do a xfs.form.remerge (), which can reset certain properties that are not related to something, usually border error and others.

    Does not seem to need a reinstall, so for the new line is not necessarily a problem.

    Concerning

    Bruce

  • displeasure with my purchase of my 12 items

    I am writing to show my dissatisfaction with my purchase of my 12 items and the first order # 103-0395833-0299421 $ 110.00 in September 2014 Amazon. Shortly after I bought this program to upgrade to version 10 items a few weeks later Adobe came out with 13 elements. More disappointing is that the #13 version is now available for $49 Amazon.  I'm really disappointed about that. I hope that you possibly can in the circumstances, provide a free update to version 13. I know who can ask for much, but I'm good enough customer with adobe and I hope that you will be able to get a resolution for me. Thank you very much... George.

    Thank you

    George

    This is a user forum. You do not reach Amazon or Adobe regarding your experience. Suggest you contact the two persons directly.

  • FRM-30351: no list items defined for the list item

    Hello
    I used a dynamic list, and when I compile this message appears:
    FRM-30351: no list items defined for the list item.

    If the list is not needed, it's just a warning and you can ignore it.

  • Help with dynamic action and the selection list item

    G ' Day Apex gurus.

    I have problems trying to achieve to trigger the Help window from an element automatically select. A Help window is triggered when it is clicked on the label of an item, but my customer wants to be triguered automatically as soon as the user clicks to view the options in the select list.

    I think I should be able to do with dynamic actions but I can't function.

    I know when someone clicks on the label of the item selection list trigger this JavaScript

    JavaScript:popupFieldHelp('277938589795252851','1545903379570909')

    So I want to trigger the javascript also when the user click on the item selection list and pull down the options and for that I think that the dynamic action is the way to go, but I can't do things.

    That's what I have to do:

    I created a dynamic option as follows:

    Name: test
    Sequence: 30
    Even: click
    Selection type: product (s)
    Article (s): P1_RATING <-a selection list item
    Condtion: - no requirement.

    Real Actions
    Sequence: 10
    Action: Run the JavaScript Code
    Fires when the result of the event is: true
    Fire on loading the page: checked
    Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')

    Thank you anyone who can tell me what I'm doing wrong here or bring a solution to my problem to trigger the Help window from an element automatically select.

    Kind regards
    Carlos

    Hi Carlos,

    I've set up a test case of exactly in the same way and it worked fine for me. I've created a page element called P1_DA_DEMO and added some values of the static selection list, then added a help text. I used the settings are lower, I suggest you try again, but also make sure that you have no other Javascript errors on the page. Use a tool like firebug to check.

    Name: Action Dynamics demo
    Sequence: 10
    Even: click
    Selection type: product (s)
    Product (s): P1_DA_DEMO<- a="" selection="" list="">
    Condtion: - no requirement.

    Real Actions
    Sequence: 10
    Action: Run the JavaScript Code
    Fires when the result of the event is: true
    Fire on loading the page: unchecked
    Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')

    Scope of the event set a Bind s.

    Thank you

    Paul

  • box with list item

    Hello

    I have items in the form, the user need visible this point with him, me, I do all the visible elements = no

    and make the point list and but all the elements of value in the list

    When the list item chanched and the user select any item of the agenda will be visible = yes

    the form like this

    the list item = bank name

    value in the list (bank_name = 1
    bank_address = 2)

    and I have 2 items in the form

    bank_name
    bank_address

    two of them visible = no

    and I do trigger (WHEN-LIST-CHANGED)

    If: Bank = 1 then
    SET_ITEM_PROPERTY ('bank_name', VISIBLE, PROPERTY_TRUE);

    elsif: Bank = 2 then
    SET_ITEM_PROPERTY ('bank_ADDRESS', VISIBLE, PROPERTY_TRUE);

    end if;


    the qustion is

    When the visible element = Yes once the user has selected in the list

    How can make it appear this itme = no

    When the user has selected the same article?

    Thank you

    Hello
    One idea is to make this conrtol using a list item. Suppose you have two names of items in the list, and then create two global variables / parameters in the form and use it like that...

    Trigger = WHEN-NEW-FORM-INSTANCE
    :PARAMETER.NAME_FIELD:='N';
    :PARAMETER.ID_FIELD:='N';
    

    Now in the trigger MODIFIED the LIST when using the code below...

    IF :list_name='NAME_FIELD' THEN
      IF :PARAMETER.NAME_FIELD='N' THEN
        SET_ITEM_PROPERTY('NAME_FIELD',VISIBLE,PROPERTY_TRUE);
        :PARAMETER.NAME_FIELD:='Y';
      ELSE
        SET_ITEM_PROPERTY('NAME_FIELD',VISIBLE,PROPERTY_FALSE);
        :PARAMETER.ID_FIELD:='N';
      END IF;
    ELSIF :list_name='ID_FIELD' THEN
      IF :PARAMETER.NAME_FIELD='N' THEN
        SET_ITEM_PROPERTY('ID_FIELD',VISIBLE,PROPERTY_TRUE);
        :PARAMETER.ID_FIELD:='Y';
      ELSE
        SET_ITEM_PROPERTY('ID_FIELD',VISIBLE,PROPERTY_FALSE);
        :PARAMETER.ID_FIELD:='N';
      END IF;
    END IF;
    

    HTH.

    -Clément

  • 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.

  • Why don't PIVOT clause works with aggregate TRIP of 11g function?

    Hi all!

    I'm really confused as to what is considered an aggregate function in the context of the PIVOT clause in 11 g.

    I've been playing with a lot of things related to collections lately and it took birth in an aside:
    CREATE TABLE TEST_COLL
    (
       NODE_ID    VARCHAR2(15 CHAR) NOT NULL,
       NODE_VALUE VARCHAR2(45 CHAR) NOT NULL,
       NODE_LEVEL NUMBER(1)         NOT NULL 
    );
    
    CREATE OR REPLACE TYPE TREE_NODE AS OBJECT 
    (
       NODE_KEY  VARCHAR2( 15 CHAR),
       NODE_NAME VARCHAR2(127 CHAR)
    );
    
    CREATE OR REPLACE TYPE TREE_NODES AS TABLE OF TREE_NODE NOT NULL;
    At this point, I'm sure we can all agree that the application
    SELECT NODE_LEVEL, 
           CAST(COLLECT(TREE_NODE(NODE_ID, NODE_VALUE)) AS TREE_NODES) AS NODES
      FROM TEST_COLL
     GROUP BY NODE_LEVEL;
    perfectly valid is that the function of COLLECTION is an aggregation function according to the [Official Documentation | http://docs.oracle.com/cd/E11882_01/server.112/e10592/functions031.htm#i1271564]
    But then, one of the two following queries should work
    SELECT CAST(REGION_NODES     AS TREE_NODES) AS REGIONS,
           CAST(DEPARTMENT_NODES AS TREE_NODES) AS DEPARTMENTS,
           CAST(AREA_NODES       AS TREE_NODES) AS AREAS,
           CAST(CENTRE_NODES     AS TREE_NODES) AS CENTRES
      FROM (SELECT NODE_LEVEL, TREE_NODE(NODE_ID, NODE_VALUE) AS NODE
              FROM TREE_COLL
           )
     PIVOT (COLLECT(NODE) FOR NODE_LEVEL IN (1 AS REGION_NODES,
                                             2 AS DEPARTMENT_NODES,
                                             3 AS AREA_NODES,
                                             4 AS CENTRE_NODES
                                            )
           );
    
    or (better)
    
    SELECT REGION_NODES     AS REGIONS,
           DEPARTMENT_NODES AS DEPARTMENTS,
           AREA_NODES       AS AREAS,
           CENTRE_NODES     AS CENTRES
      FROM (SELECT NODE_LEVEL, TREE_NODE(NODE_ID, NODE_VALUE) AS NODE
              FROM TREE_COLL
           )
     PIVOT (CAST(COLLECT(NODE) AS TREE_NODES) FOR NODE_LEVEL IN (1 AS REGION_NODES,
                                                                 2 AS DEPARTMENT_NODES,
                                                                 3 AS AREA_NODES,
                                                                 4 AS CENTRE_NODES
                                                                )
           );
    Yet, these two with
    ORA-56902: expect aggregate function inside pivot operation
    Study further, I found the same behavior when you use the aggregate function in the PIVOT XMLAGG clause.

    Is this normal? And if this is the case, is there another way to get the result that I expected?

    My version is
    SQL> SELECT BANNER FROM V$VERSION;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for 64-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    Thanks in advance
    Best regards

    Philippe

    Most likely a bug. But you can work around it by using any other aggregate for this group is composed of a single line and apply collect a rotated value. Yes, the cost is double aggregation. And also there is another cost - you must create the service card member other aggreations such as MAX/MIN, etc. will not work:

    CREATE OR REPLACE TYPE TREE_NODE AS OBJECT
    (
       NODE_KEY  VARCHAR2( 15 CHAR),
       NODE_NAME VARCHAR2(127 CHAR),
       map member function f return varchar2
    )
    /
    
    Type created.
    
    CREATE OR REPLACE TYPE BODY TREE_NODE AS
      map member function f return varchar2 is
      begin
         return NODE_NAME;
      end f;
    end;
    /
    
    Type body created.
    
    CREATE OR REPLACE TYPE TREE_NODES AS TABLE OF TREE_NODE NOT NULL
    /
    
    Type created.
    
    SQL> select  *
      2    from  test_coll
      3  /
    
    NODE_ID NODE_VALUE NODE_LEVEL
    ------- ---------- ----------
    1       A                   1
    2       B                   2
    3       C                   3
    4       D                   4
    5       E                   1
    6       F                   2
    7       G                   3
    8       H                   4
    
    8 rows selected.
    
    SQL> 
    

    Now:

    SELECT CAST(COLLECT(REGION_NODES)     AS TREE_NODES) AS REGIONS,
           CAST(COLLECT(DEPARTMENT_NODES) AS TREE_NODES) AS DEPARTMENTS,
           CAST(COLLECT(AREA_NODES)       AS TREE_NODES) AS AREAS,
           CAST(COLLECT(CENTRE_NODES)     AS TREE_NODES) AS CENTRES
      FROM (
            SELECT  ROWID RID,
                    NODE_LEVEL,
                    TREE_NODE(NODE_ID, NODE_VALUE) AS NODE
              FROM  TEST_COLL
           )
     PIVOT (MAX(NODE) FOR NODE_LEVEL IN (
                                         1 AS REGION_NODES,
                                         2 AS DEPARTMENT_NODES,
                                         3 AS AREA_NODES,
                                         4 AS CENTRE_NODES
                                        )
           )
    /
    
    REGIONS(NODE_KEY, NODE_NAME)                         DEPARTMENTS(NODE_KEY, NODE_NAME)                     AREAS(NODE_KEY, NODE_NAME)                           CENTRES(NODE_KEY, NODE_NAME)
    ---------------------------------------------------- ---------------------------------------------------- ---------------------------------------------------- ----------------------------------------------------
    TREE_NODES(TREE_NODE('1', 'A'), TREE_NODE('5', 'E')) TREE_NODES(TREE_NODE('6', 'F'), TREE_NODE('2', 'B')) TREE_NODES(TREE_NODE('7', 'G'), TREE_NODE('3', 'C')) TREE_NODES(TREE_NODE('8', 'H'), TREE_NODE('4', 'D'))
    
    SQL> 
    

    SY.

  • With the help of a list in a clause Where Clause

    I try to use a dynamic list, in a where clause clause, not having much luck and we tried different ways.

    Here's the closest thing I can find, the only problem is that the output returns an error caused by comma in where criteria if the list contains several items.

    Any help would be greatly appreciated!

    SELECT is the name of my list by commas.

    < name cfquery = 'list' datasource = "#dbnm #" >
    SELECT *.
    Students
    When status = ' #x # ' and (id = #Listqualify(select,"") #)
    < / cfquery >

    When the use of lists in sql, you do not use an equal sign. You use the key word in. You must also put your list in parentheses.

  • Need a bit of JavaScript help with deactivation of a selection list in a table frm

    Hello people

    Here's the scenario.

    I have a tabular presentation which, subject to the setting from the list, select I want to toggle each other.

    I've had to date and it allows to disable a text element, but not a list of selection...

    It is in the HTML of the page header section...

    < script type = "text/javascript" >
    function test (pThis)
    {
    var currIndex = $('select[name="'+pThis.name+'"]').index (pThis);

    If (pThis.value == '2') {}
    . style.backgroundColor $('input[name="f02"]') [currIndex] = "LightGrey";
    $('input[name="f02"]') [currIndex] .disabled = true;
    }
    }

    The report is defined as...

    SELECT iot_rebate_type_id apex_item.text (1, ir.iot_rebate_type_id)
    apex_item.select_list_from_lov_xl(2,ir.rebate_currency,'LOV_CURRENCY_CODES') rebate_currency
    To iot_rebate ir
    WHERE ir.iot_agreement_id =: P303_IOT_AGREEMENT_ID

    The iot_rebate_type_id column is an attribute of the column element value...

    OnChange = "JavaScript:test (this); »


    As I say, if I set the currency of repayment as a text element, the JavaScript works fine.

    Can anyone offer any suggestions?

    Thank you very much

    Simon
    Request Express 4.0.2.00.07

    Sounds familiar to me...

    to manage selection lists change the function javascript like this

       function test(pThis)
       {
        var currIndex = $('select[name="'+pThis.name+'"]').index(pThis);
    
         if (pThis.value=='2') {
         $('select[name="f02"]')[currIndex].style.backgroundColor = "LightGrey";
         $('select[name="f02"]')[currIndex].disabled=true;
         }
     }
    
  • How to change the path for the clause "where" with TIPS?

    I tried a loooot of positions and you have not found a solution for my case. I don't even know if it of possible or not. Is it possible to change the sequence of Oracle "Predicate Information"?

    Here is the my SQL and Oracle execution plan.
      SELECT Max(logId) AS logId FROM online_users_t 
      WHERE online_users_date >= to_date('2011-09-19 10:00:00') - 3.2 AND online_users_date <= to_date('2011-09-19 10:00:00') AND online_users_result in (1, -1)
      GROUP BY online_users_user
    
    ---------------------------------------------------------------------------------------------------
    | Id  | Operation                    | Name               | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT             |                    | 24800 |   629K|  1336   (1)| 00:00:17 |
    |   1 |  HASH GROUP BY               |                    | 24800 |   629K|  1336   (1)| 00:00:17 |
    |*  2 |   TABLE ACCESS BY INDEX ROWID| ONLINE_USERS_T     | 38833 |   985K|  1334   (1)| 00:00:17 |
    |*  3 |    INDEX RANGE SCAN          | ONLINE_USERS_T_IDX |   116K|       |   313   (1)| 00:00:04 |
    ---------------------------------------------------------------------------------------------------
    Predicate Information (identified by operation id):
    ---------------------------------------------------
     
       2 - filter("ONLINE_USERS_RESULT"=(-1) OR "ONLINE_USERS_RESULT"=1)
       3 - access("ONLINE_USERS_DATE">=TO_DATE(' 2011-09-16 05:12:00', 'syyyy-mm-dd 
                  hh24:mi:ss') AND "ONLINE_USERS_DATE"<=TO_DATE(' 2011-09-19 10:00:00', 'syyyy-mm-dd 
                  hh24:mi:ss'))
    I have 2 terms in my article 'where' one is the date range, and the other is ' online_users_result in (1, -1)'. It seems that the Oracle filter the table using the ' online_users_result in (1, -1)' first of all, then access it by date range.

    What I want to do first is the table of filtering by using the range of dates followed by other things. How can I do?

    Any ideas or help would be very appreciated.


    Thanks in advance.

    It seems that the Oracle filter the table using the ' online_users_result in (1, -1)' first of all, then access it by date range.

    No it's not.

    What I want to do first is the table of filtering by using the range of dates followed by other things. How can I do?

    It is precisely what he does now.
    It uses the T_IDX index to quickly find all the lines meet the predicate of beach on the date column.
    And then to filter the lines to retrieve only those responding to the predicate else (... in (1, -1)).

Maybe you are looking for