Delete the line feature in a Table with Multiselect LOV

[Issue]

Is it possible to add a remove function line in a Table Advancced with Multiselect LOV?

[Reminder]

I created a page OFA by "LOV Multiselect for Advanced of Table" according to the developer's guide.
This is the expected behavior.

  • The values in the LOV screen have been added to the table in the main screen.
  • The values selected in the new LOV screen have been inserted to the table in the basic screen by additions.

Then, when I have attached an icon to remove a table, it was not the expected behavior.

  • The values in the LOV screen have been added to the table in the main screen.
  • Again selected in the screen LOV values were NOT inserted into the table of the basic screen by additions.

The deletion icon was created according to the tutorial from the OFA (Chapter 2: lessons from Core - delete)
and here are the properties of the element.

  • customer action type: fireAction
  • form: true
  • paraemter name: target
  • parameter value: 1 (nominal value)

Before attaching the trash icon,
When the user select values in the LOV screen, processFormRequest method in the basic screen is executed.

But after attaching the trash icon,
When the user select values in the LOV screen, processFormRequest method in the basic screen is NOT executed.

Is it possible to add a remove function line in a Table Advancced with Multiselect LOV?

Best regards

Eimei

The problem was solved by changing a parameter name.

It seems that the parameter name 'target' is used in a standard program.

Tags: Oracle Applications

Similar Questions

  • Can we find the lines twice in a table

    Hi all
    Just curious, is it possible, we can find all the lines twice in a table without comparing the individual columns?

    for example if we have a table emp (without any unique constraint defined) with the emp_id, emp_name and dept columns
    and entire duplicate as lines below:
    < pre >
    emp_id, emp_name dept
    1 ABC 20
    1 ABC 20
    2 30 DEF
    DEF 2 30 < / pre >

    Here, there are duplicate lines. Do we have all these criteria where we can search all duplicate line without comparison emp_id, emp_name and dept?

    Thank you
    Deepak

    I'm not sure what you mean by "Comparing the individual columns", but there are several ways to identify duplicates.

    And here's one:

    SELECT  EMP_ID
    ,       EMP_NAME
    ,       DEPT
    FROM    EMP
    GROUP BY EMP_ID
    ,       EMP_NAME
    ,       DEPT
    HAVING COUNT(*) > 1
    

    Here's another:

    SELECT  DISTINCT
            EMP_ID
    ,       EMP_NAME
    ,       DEPT
    FROM
    (
            SELECT  EMP_ID
            ,       EMP_NAME
            ,       DEPT
            ,       ROW_NUMBER() OVER (PARTITION BY EMP_ID, EMP_NAME, DEPT ORDER BY EMP_ID, EMP_NAME, DEPT) RN
            FROM    EMP
    )
    WHERE   RN > 1
    
  • kindly tell how to use the unique value of a table with the index 0

    kindly tell how to use the unique value of a table with the index 0

    Hi
     
    Yep, use Index Array as Gerd says. Also, using the context help ( + h) and looking through the array palette will help you get an understanding of what each VI does.
     
    This is fundamental LabVIEW stuff, perhaps you'd be better spending some time going through the basics.
     
    -CC
  • Manipulation of table (delete the lines which are &gt; lines after them)

    I have a table of entry I want to manipulate.

    We measure a rotation device.  In the measurement sequence we want to display the data on a slope that is constantly growing, although when we let off the coast of the acceleration of our mobile device at the end of the test, we end up with a higher torque #s at the beginning of the sequence of RPM... which blurs our line of slope on our chart.

    For example, see the PNG attached on the table of torque/RPM torque.  I need to be able to cut the 2 first lines of the table that we need go less and more general in the line of torque sequence.  Throughout the test, we have a number of line 10 for example couple that is greater than the value of torque on line 11, so that we would need to cut the value of torque in line 10.

    I have attached the vi sub that I plugged in order to try it, but can't make it work.   I don't have to sort the table, but to remove the lines that exceed the lines after them... relatively to the value of rpm decreases constantly.  If I have a pair of value 2340/1869 in the row 1 & 276/1839 in row 2, I need rank 1 deleted.  But if I have a pair of value of 2509/1704 in row 12 & a pair value of 2493/1689 in the 13th row, I don't want to let the value of torque in (if possible) because it is a realistic appearance of the torque curve captured during the sweep of the power of the test.

    Any ideas?

    ready!

  • Insert the problem using a SELECT table with an index by TRUNC function

    I came across this problem when you try to insert a select query, select returns the correct results, but when you try to insert the results into a table, the results are different. I found a work around by forcing a selection order, but surely this is a bug in Oracle as how the value of select statements may differ from the insert?

    Platform: Windows Server 2008 R2
    11.2.3 Oracle Enterprise Edition
    (I've not tried to reproduce this on other versions)

    Here are the scripts to create the two tables and the data source:
    CREATE TABLE source_data
    (
      ID                 NUMBER(2),
      COUNT_DATE       DATE
    );
    
    CREATE INDEX IN_SOURCE_DATA ON SOURCE_DATA (TRUNC(count_date, 'MM'));
    
    INSERT INTO source_data VALUES (1, TO_DATE('20120101', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120102', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120103', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120201', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120202', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120203', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120301', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120302', 'YYYYMMDD'));
    INSERT INTO source_data VALUES (1, TO_DATE('20120303', 'YYYYMMDD'));
    
    CREATE TABLE result_data
    (
      ID                 NUMBER(2),
      COUNT_DATE       DATE
    );
    Now, execute the select statement:
    SELECT id, TRUNC(count_date, 'MM')
    FROM source_data
    GROUP BY id, TRUNC(count_date, 'MM')
    You should get the following:
    1     2012/02/01
    1     2012/03/01
    1     2012/01/01
    Now insert in the table of results:
    INSERT INTO result_data
    SELECT id, TRUNC(count_date, 'MM')
    FROM source_data
    GROUP BY id, TRUNC(count_date, 'MM');
    Select the table, and you get:
    1     2012/03/01
    1     2012/03/01
    1     2012/03/01
    The most recent month is repeated for each line.

    Truncate your table and insert the following statement and results should now be correct:
    INSERT INTO result_data
    SELECT id, TRUNC(count_date, 'MM')
    FROM source_data
    GROUP BY id, TRUNC(count_date, 'MM')
    ORDER BY 1, 2;
    If someone has encountered this problem before, could you please let me know, I don't see what I make a mistake because the selection results are correct, they should not be different from what is being inserted.

    Published by: user11285442 on May 13, 2013 05:16

    Published by: user11285442 on May 13, 2013 06:15

    Most likely a bug in 11.2.0.3. I can reproduce on Red Hat Linux and AIX.

    You can perform a search on MOS to see if this is a known bug (very likely), if not then you have a pretty simple test box to open a SR with.

    John

  • Delete the last column in a table

    Hey there,

    is it possible that a script selects the last column of a table (there are tables with columns 3 and 4 on a page) and deletes it?

    And is it possible that this is happening on a specific layer?

    Greetings

    Hi, ELP,.

    Use the code below:

    //remove column
    var myTable = app.activeDocument.stories.everyItem().tables.everyItem().columns[-1].remove();
    
    //remove column with layer
    var myTable = app.activeDocument.stories.everyItem().tables.everyItem().getElements();
    alert(myTable.length)
    
    for(i=0; i
    

    Concerning

    Siraj

  • How to compare the length of the data to a staging table with the definition of the base table

    Hello
    I have two tables: staging of the table and the base table.
    I get flatfiles data in the staging of the table, depending on the structure of the requirement of staging of the table and the base table (length of each column in the staging table is 25% more data dump without errors) are different for ex: If we have the city long varchar 40 column in table staging there 25 in the base table. Once data are discharged into the intermediate table that I want to compare the actual length of the data for each column in the staging table with the database table definition (data_length for each column of all_tab_columns) and if no column is different length that I need to update the corresponding line in the intermediate table which also has an indicator called err_length.

    so for that I use the cursor c1 is select length (a.id), length (b.SID) of staging_table;
    c2 (name varchar2) cursor is select data_length all_tab_columns where table_name = 'BASE_TABLE' and column_name = name;
    But we get atonce data in the first query while the second slider, I need to get for each column and then compare with the first?
    Can someone tell me how to get the desired results?

    Thank you
    Manoi.

    Hey, Marco.

    Of course, you can set src.err_length in the USING clause (where you can reference all_tab_columns) and use this value in the SET clause.
    It is:

    MERGE INTO  staging_table   dst
    USING  (
           WITH     got_lengths     AS
                     (
              SELECT  MAX (CASE WHEN column_name = 'ENAME' THEN data_length END)     AS ename_len
              ,     MAX (CASE WHEN column_name = 'JOB'   THEN data_length END)     AS job_len
              FROM     all_tab_columns
              WHERE     owner          = 'SCOTT'
              AND     table_name     = 'EMP'
              )
         SELECT     s.ename
         ,     s.job
         ,     CASE WHEN LENGTH (s.ename) > l.ename_len THEN 'ENAME ' END     ||
              CASE WHEN LENGTH (s.job)   > l.job_len   THEN 'JOB '   END     AS err_length
         FROM     staging_table     s
         JOIN     got_lengths     l     ON     LENGTH (s.ename)     > l.ename_len
                             OR     LENGTH (s.job)          > l.job_len
         )     src
    ON     (src.ename     = dst.ename)
    WHEN MATCHED THEN UPDATE
         SET     dst.err_length     = src.err_length
    ;
    

    As you can see, you have to hardcode the names of the columns common to several places. I swam () to simplify that, but I found an interesting (at least for me) alternative grouping function involving the STRAGG user_defined.
    As you can see, only the subquery USING is changed.

    MERGE INTO  staging_table   dst
    USING  (
           SELECT       s.ename
           ,       s.job
           ,       STRAGG (l.column_name)     AS err_length
           FROM       staging_table          s
           JOIN       all_tab_columns     l
          ON       l.data_length  < LENGTH ( CASE  l.column_name
                                              WHEN  'ENAME'
                                    THEN      ename
                                    WHEN  'JOB'
                                    THEN      job
                                       END
                               )
           WHERE     l.owner      = 'SCOTT'
           AND      l.table_name     = 'EMP'
           AND      l.data_type     = 'VARCHAR2'
           GROUP BY      s.ename
           ,           s.job
           )     src
    ON     (src.ename     = dst.ename)
    WHEN MATCHED THEN UPDATE
         SET     dst.err_length     = src.err_length
    ;
    

    Instead of the user-defined STRAGG (that you can copy from AskTom), you can also use the undocumented, or from Oracle 11.2, WM_CONCAT LISTAGG built-in function.

  • Best way to update all the lines of a huge table

    Hi all

    I'm on Oracle 11.2 Enterprise edition.

    I asked a question, "assumes that there is a large table, say 3 GB size.» We need to update all rows in this table (e.g. col3 = col3 * 2), what is the best way to do this? »

    My answer was, there are 2 possible ways, depending on the number of indexes on the table

    (1) if there is a lot (or wholesale) index on the table OR the database is in FORCE LOGGING mode (due to log shipping), I just run an UPDATE command on the table and update all records. This will generate a lot of redo and undo, but we cannot do anything for indexes

    (2) if there is not a lot of clues, I'll create an empty table of the same structure (create table t2 nologging in select * from t1 where 1 = 2). Then, using an INSERT... AS SELECT... command, with the ' col3 * 2 "instead of col3, I insert any data into the new table with APPEND tip. Then create all indexes on the new table and finally, rename T2 T1

    In case the first solution, I can avoid the recreation of the index and save this I/O. In the case of newspapers, first solution makes more sense anyway.

    Second solution is logical, if we have the freedom of creating objects in NOLOGGING mode.

    What do you experts? I think in the right direction? or what?

    Thanks in advance

    Hello

    This should probably help you.

    Kind regards

    Suntrupth

  • How to fill out the lines that have been drawn with the paint brush tool?

    I keep trying to use the paint bucket tool, and it does not. I need help, because I need to work on this animation.

    It is usually because there are gaps in the line. There is a trick which called narrow gaps that is available when you click on the paint bucket tool. Select one of the options, and it's much easier to fill something drawn with a brush.

  • You can delete the last page of a document with a script?

    Hello, I built a script week last to help me remove the formatting and some to reapply the formatting on a large number of files. I am still learning a lot about how to create scripts and what are the commmands but I almost doen with everything I put in it. One of the last things I want to add is to delete the last page of the Indesign file if it has content or not. Is this possible? Can someone point me in the right direction? Thank you

    Something like this:

    if (app.activeDocument.pages.length > 1)
         app.activeDocument.pages[-1].remove();
    

    First check to see if the document contains multiple pages and does, delete the last page.

    Hope that helps.

    --

    Marijan (tomaxxi)

    http://tomaxxi.com

  • Is there a way to delete the lines of separation in a comb box?

    Hello

    I have created a form that requires fields numbers (of a specific amount of characters) of a table, but I don't want the lines of separation between characters.  Is it possible that turns off?

    Thanks in advance for your help.

    p.s. I also noticed that if I copy the first field in the column of the second line, the dividing lines are not in the second row? That's what I want the first row to look like.

    Kim

    Thanks Radzmar

    When I tried to put tags in manually when I saved the xml it erased them all once again.

    That being said, I found a way to do it.  In the palette object-> cell-> :-> Appearance tab Custom--> I set the border width to zero... Who did it!

    Thanks for your help and your quick response so.

  • Error handling: to display the line number tht erored out with error message

    Hello

    I'm trying to update several lines at once and for some lines are error-ed out due to the failure of the validation. It's giving the correct error message does not display do not line number what error-ed out.
    I tried with OARowValException, such as specified in the guide of the OA-developer to add the line number in the error message:

    After using this it is show the number of line 1, which either the line it wrong:

    Error in line 1 - the Start Date cannot be later than the Ending Date.
    Error in line 1 - the Start Date cannot be later than the Ending Date.

    In fact I've updated the line-2, 3 but it gives as 1st row.

    Here's the code to add the line numbers for the error message, I added.
    ========================
    try {}
    throw new OARowValException (viewObject.getName)
    voRowObject.getKey ().
    "PA".
    Error_Message);
    }
    catch (System.Exception e)
    {
    exList.add (e);
    }

    If (exList.size () > 0) {}
    OARowValException.raiseBundledOAException (exList);
    }
    ==========================

    Code the developer guide OA that I follow:

    throw (OARowValException) new
    getViewObject () .getFullName (), / / View full name use object
    getKey(), / / primary key line
    "DAMIEN", / / message name abbreviated enforcement
    "ATTR_EXCEPTION"); name of the message
    end


    Any suggestion/solution will be a great help.

    -Shasha.

    Edited by: 826073 January 6, 2011 06:58

    Thanks a ton of out. Your update has helped me solve the problem. The original Version I was using had no attributes defined as "Key attribute". Once I put one of the key attribute primary as "attribute Key' on my VO Editor, all worked great :). Thanks again.

  • Need help with the merger of the lines of a virtual Table based on a foreign key

    The following is the result of the sample of a large SQL SELECT statement exits from a single table. I used - to show the values of X in each column

    CODE - XX - YY - ZZ_
    AD------------X-----------------------------------
    AD-----------------------------------------------X
    AD---------------------------X--------------------
    CD------------X-----------------------------------
    CD-----------------------------------------------X
    CD---------------------------X--------------------

    I would like to further clarify the results above by the merger on a single line for each CODE. Example below.

    Please note that each line for each code, has only a single value. Thus, by using a CONCAT function would be fine for me. I am at a loss to identify the parent SQL statement to merge data as below

    CODE - XX - YY - ZZ_
    AD - X - X - X
    CD - X - X - X

    Seek help from people on this forum

    Published by: cseshan on October 18, 2010 21:04

    Published by: cseshan on October 18, 2010 21:05

    Published by: cseshan on October 18, 2010 21:08

    Published by: cseshan on October 18, 2010 21:09

    Published by: cseshan on October 18, 2010 21:09

    Published by: cseshan on October 18, 2010 21:11

    also - if you put the [code] [/ code]
    Tags around your code (without spaces) you can format it slightly better

    By asking questions on the forum it is also good to add table creation/insert script or use a statement and other you should reproduce your data
    for example:

    SQL> with t as (select 'AD' code, 'X' xx, null yy, null zz from dual
      2              union all
      3             select 'AD',NULL,'X',NULL FROM DUAL
      4             UNION ALL
      5             SELECT 'AD',NULL,NULL,'X' FROM DUAL
      6             union all
      7             select 'CD' , 'X' , null , null  from dual
      8             union all
      9             select 'CD',NULL,'X',NULL FROM DUAL
     10             UNION ALL
     11             SELECT 'CD',NULL,NULL,'X' FROM DUAL)
     12  SELECT code, max(xx), max(yy),max(zz)
     13    from t
     14    group by code           ;
    
    CODE                             MAX(XX)                          MAX(YY)                          MAX(ZZ)
    -------------------------------- -------------------------------- -------------------------------- -
    AD                               X                                X                                X
    CD                               X                                X                                X
    
    2 rows selected.  
    
  • Him reply, forward, delete the line disappeared, as well as who sent e-mail, when &amp; when I opened an e-mail subject. How to make a comeback? Tried fix toolbar.

    When I open an email, 2 sections are now missing. At first, he used from, to, subject, etc.. It has now disappeared. In addition, under this judgment to the right, he used to say the answer, before, delete, etc.. He is now gone, too. I tried w/toolbars. No help. I even tried to customize a toolbar already there, but reply, forward & Delete are not options, I can drag anywhere. They are not in the choice of customization. They are perhaps in the shadow area. Can someone please? Thank you.

    Open your profile folder
    With T-bird NOT running, rename xulstore.json (or delete)
    It should be restored when T-bird is restarted.

  • Delete the pages 5.6.2 table but no content

    How can I delete a Table but keep the content to a single list, I currently have 3 columns in the table? I think used to be able to do in previous versions in Format but it's gone.

    Click on the Table to select > create a Textbox > paste into this

    This works because the Tables can not be placed in the text boxes in the 5 Pages, unlike in Pages ' 09, as well as the content is pasted.

    If you want a more productive workflow, use the Pages ' 09.

    Peter

Maybe you are looking for