Collections and tabular forms

Hi people
Couple of Qs:

1 special session of collections, or is it to me to give them unique names?

2 collections can be used as a source for a tabular form can be updated by simply replacing the source of the region with something in the sense of

SELECT c001,..., cnnn
OF htmldb_collections
WHERE collection_name = MY_COLLECTION'

or I have to be a little smarter?

TiA
Steve

(1) Yes. The collections are specific to the session. They are only available for this session. If you need to see data outside the session, store it in a table.
(2) Yes. The collections are a great way to create tabular forms, that control you. They take a bit of effort, but can be very powerful. If you choose to use a collection for a tabular presentation, I recommend to create three procedures to manage them. The first is a process of page (PL/SQL) that fires when the page is loaded and fills your collection. The second is a page (PL/SQL) process that updates your collection with user values and lights BEFORE validation. The last is a process page that fires AFTER validations and writes the changes to your database.

If you want a quick explanation, let me know and I'll walk you through an example.

Tags: Database

Similar Questions

  • Tabular form fill a query other tables

    I'm sure this is possible, but we are especially new relations master / detail in the Apex and tabular forms (updated reports).

    We are trying to fill a tabular presentation (updated report) with values from a query. The user is simply going to click Yes/No by line and then you insert the lines into a table...


    I tried following the logic of the creation of a relationship of master / detail and noticed the AddRow Button and the process to add lines in the form of tables. I also noticed that several process of MRUUpdate which to update fire lines existing... I guess I must first add the number of rows that the query that fills the table form pulls inward and then update the lines after that. I tiried do a count and store the value in a text field/Hidden Field Page, then in the AddRows to the MRU I put the domain name with & and. round her. This does not (he cannot add lines and came with an error ora-6502), I then tried to put a: in front of her and who does not have too.


    Any suggestions on how to proceed.

    Thank you in advance,
    -Brian

    Hello

    OK - now you have to decide if you want to allow users to update other values or not. If you don't want to do them this, you can use APEX_ITEM. HIDDEN (3, COLUMNNAME) | COLUMNNAME COLUMNNAME - it concatenates an item hidden in front of the real version of Standard report of the element (substituting 3 and COLUMNNAME values you need). The HIDDEN element will be presented on the page, but the user cannot see it or change it.

    Andy

  • Error ORA-01445 tabular form on a Collection in APEX 5

    When I load a page with a tabular presentation built on a display of a collection to the APEX 5, I'm getting an ORA-01445: cannot select ROWID, or the sample, a view of joining without an error table preserved key.

    I create a view

    CREATE or REPLACE FORCE VIEWS test_coll_vw

    (

    C001,

    C002,

    C003,

    C004,

    seq_id

    )

    AS

    SELECT TO_NUMBER (c001),

    C002,

    TO_NUMBER (c003),

    TO_NUMBER (c004),

    seq_id

    Of apex_collections

    WHERE collection_name = 'TEST '.

    Then create a tabular presentation on the view with the primary key of the source SEQ_ID and primary key of the trigger existing through the wizard.

    Debug information shows the statement which is a failure:

    Select NULL NULL "CHECK$ 01", "SEQ_ID,' NULL 'C001', NULL"C002', 'C003', 'C004', NULL NULL NULL "APEX$ ROWID ' sys.dual union all select ' CHECK$ 01", 'SEQ_ID', 'C001', 'C002', 'C003', "C004", "APEX$ ROWID" in (select NULL "CHECK$ 01", "SEQ_ID", "C001", "C002", "C003", "C004", "ROWID" "APEX$ ROWID" (select).

    "SEQ_ID."

    "C001."

    "C002."

    "C003."

    "C004.

    of 'WPCAMS_APP '. "" TEST_COLL_VW ".

    ) APEX$ RPTSRC

    order of 1, 7

    ).

    These tabular forms worked up to 4.2, but they seem to fail at 5 APEX for upgrade or newly created pages one.  The generated query is identical between versions, but it seems that the underlying apex_collections view has changed between versions and the origin of the problem.

    Does anyone have a solution or workaround?

    Thank you

    Hi Phil,

    APEX 5.0 the definition of the view of apex_collection had to be changed for security reasons. This change introduced a regression with tabular form validations, when the table refers to this view. Tabular form declarative validations require the ROWID in order to restore your changed data after a validation failed, and for this reason, APEX is insert the IDENTIFIER in the query in a table. It is currently not possible when tables refers to the sight of apex_collections. We are looking at a solution to this problem, but for now the only way to get around this is not, in this case, use the declarative validation and use some custom validations or process.

    Kind regards
    Marc

  • disable the Popup LOV and its icon in a tabular form

    Hello

    My requirement is

    I want to disable Popup LOV and tabular icon.

    If I select the first value in column selection list 'A' then second column Empname disable window popup lov

    and if I select 'B' and then select empname popup lov.

    Kind regards

    Arianne.

    Hi ujwala1234,

    ujwala1234 wrote:

    I want to disable Popup LOV and tabular icon.

    If I select the first value in column selection list 'A' then second column Empname disable window popup lov

    and if I select 'B' and then select empname popup lov.

    You can do it by using dynamic action.

    Use the javascript code in the next thread to turn lov popup tabular icon.

    Reference: How to disable the popup LOV (query based LOV) in the form

    and related to put on over ReadOnly rank tabular thread

    NOTE: instead of setting custom "row_item_disabled" CSS class use the integrated class APEX "apex_disabled."

    If it is still impossible to solve, re - produce the question on apex.oracle.com and share the credentials from the workspace.

    Kind regards

    Kiran

  • Added new line at the top of tabular form in APEX 5.0 and universal theme (topic 42)

    Hello Apex Experts,

    When the user clicks on the button 'Add Row' a tabular presentation, I would like the new line to be at the top of the report rather than the bottom.


    I followed the instructions from Added new line at the top of table in APEX 4.0 form and Denes Kubicek demo application. But it does nothing, always create new bottom line.


    Anyone have an idea or an idea?


    Your help would be appreciated.


    Kind regards

    Blabla

    Hi all

    This problem is now solved by following the new blogpost of Dene:

    http://www.deneskubicek.blogspot.de/2015/05/tabular-form-add-rows-top-universal.html

    Kind regards

    Blabla

  • Tabular form and the value of the element

    Hello people:

    I certainly hope that your holidays are festive.

    I have a question for you.

    I have a tabular form which is filled, based on a list of selection (with the type of delivery).  I placed a form on the same page (based on a table), and I would for a question to be filled as well following the list of selection even completing the tabular form.  What is the best way to go about this?  Calculation?  I'm not sure how to do this...

    Thanks for your help!

    Aqua

    AquaNX4 wrote:

    I have a tabular form which is filled, based on a list of selection (with the type of delivery).  I placed a form on the same page (based on a table), and I would for a question to be filled as well following the list of selection even completing the tabular form.  What is the best way to go about this?  Calculation?  I'm not sure how to do this...

    If the selection list submits the page then you can set the value of the element using a calculation after the presents. Make sure that it will not be reset by any statement of process or branch of State later clear session.

  • disable the date picker and its icon in a tabular form

    Hello
    I would like to know how to turn off the field and the icon associated with a switch of dates in tabular form

    Thank you
    Daniel

    Hello

    jQuery UI datepicker has method Disable you could use
    Check the document of jQuery UI.
    http://jQueryUI.com/demos/datepicker/#method-disable

    Kind regards
    Jari

    http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0

  • Tabular and normal form on the same page

    Hi all

    need some advice as how to submit both tabular form and normal form on click of the "submit" button. The tabular presentation comes from another table and the normal form, and like I said I have to insert in their adjacent tables at the same time...

    Thanks guys...

    Hello Stefan,

    You may find it useful to examine the behavior of the details page in the master form / detail in the example of APEX Application, where changes to forms (based on Master table) region and in the region in a table (based on the detail table), are saved by clicking a button. If you work with APEX 4.0, install the sample database Application, run it and select the tab 'orders '. Page commands, pg 4, is the master page, displaying information about the customer orders. If you click the Edit on the link of one of the lines, say for example the customer 'Bradley, Eugene', this will create a branch to the detail, pg 29 of the sample Application page. The 'Save Changes' button will save the changes to the two parts of the page. Form region changes are saved via a process of automatic Page turning (DML), and in the detail region changes are done via update line Multi (MRU) and Multi line remove (MRD) process.

    I hope this helps.
    Kind regards
    Hilary

  • Include collections from tabular masks to add new records.

    Hello!

    Masters, now that I'm here with a condition, have a collection, phones, which can be more phones to their respective characteristics, I wonder if you can put a mask my item in collection on the phone when I get select the database, place the mask when running to see, but also necessido put the mask over the entrance of new values would like to do this in tabular form, created with collections? I put a picture to try to clarify my doubts and to find out what type of solution could use, I do not know how?

    Thanks again.

    mascara.jpg

    Hello!

    I came here to say that I could do the formatting of the phone as needed, created a function Java to layout form, under this code which created and added to the HTML header, is perfect, and add the header also put the code on the creation of collection, just below, I explain how I made, I put the answer here to have doubts, to use, you can have better alternatives but this suited me perfectly, this can be changed for other needs.

    HEADER:

  • Adding line by submitting the manual tabular form while adding lines

    Hi all

    I'm a newbie in the Apex.

    I created a manual tabular form based on Apex_Collection. In addition, created the buttons ADD, DELETE and APPLY the CHANGES .

    The data below are the steps that I did.

    1 initialize the Collections

    Process: When loading - before header

    Enforcement process: once a Page visit

    Source:

    DECLARE
      l_collection_name APEX_COLLECTIONS.COLLECTION_NAME%TYPE;
      l_bind_names      APEX_APPLICATION_GLOBAL.VC_ARR2;
      l_bind_values     APEX_APPLICATION_GLOBAL.VC_ARR2;
      l_query           VARCHAR2(32767);
    BEGIN
      l_collection_name := 'EMAILDETAILS';
    
      IF apex_collection.collection_exists(l_collection_name)
      THEN
      apex_collection.delete_collection(p_collection_name => l_collection_name);
      END IF;
    
      l_query := '   SELECT cmp_cd, ' --c001 => f01
      || '   email, ' --c002 => f02
      || '   tab_seq_id, '  --c003 => f03
      || '   NULL, ' --c004 => f04
      || '   NULL, ' --c005 => f05
      || '   NULL, ' --c006 => f06
      || '   NULL, ' --c007 => f07
      || '   NULL, ' --c008 => f08
      || '   NULL, ' --c009 => f09
      || '   NULL, ' --c010 => f10
      || '   NULL, ' --c011 => f11
      || '   NULL, ' --c012 => f12
      || '   NULL, ' --c013 => f13
      || '   NULL, ' --c014 => f14
      || '   NULL, ' --c015 => f15
      || '   NULL, ' --c016 => f16
      || '   NULL, ' --c017 => f17
      || '   NULL, ' --c018 => f18
      || '   NULL, ' --c019 => f19
      || '   NULL, ' --c020 => f20
      || '   NULL, ' --c021 => f21
      || '   NULL, ' --c022 => f22
      || '   NULL, ' --c023 => f23
      || '   NULL, ' --c024 => f24
      || '   NULL, ' --c025 => f25
      || '   NULL, ' --c026 => f26
      || '   NULL, ' --c027 => f27
      || '   NULL, ' --c028 => f28
      || '   NULL, ' --c029 => f29
      || '   NULL, ' --c030 => f30
      || '   NULL, ' --c031 => f31
      || '   NULL, ' --c032 => f32
      || '   NULL, ' --c033 => f33
      || '   NULL, ' --c034 => f34
      || '   NULL, ' --c035 => f35
      || '   NULL, ' --c036 => f36
      || '   NULL, ' --c037 => f37
      || '   NULL, ' --c038 => f38
      || '   NULL, ' --c039 => f39
      || '   NULL, ' --c040 => f40
      || '   NULL, ' --c041 => f41
      || '   NULL, ' --c042 => f42
      || '   NULL, ' --c043 => f43
      || '   NULL, ' --c044 => f44
      || '   NULL, ' --c045 => f45
      || '   NULL, ' --c046 => f46
      || '   ''O'', ' --c047 (for record status)
      || '   wwv_flow_item.md5(cmp_cd, email, tab_seq_id) ' --c048 (for optimistic locking)
      --c049 for (not used in collection/reserevered for seq_id array)
      --c050 (not used in collection/reservered for delete checkbox array)
      || ' FROM Cmp_Email '
      || ' WHERE cmp_cd= v(''P9_CMP_CD'') ';
    
      apex_collection.create_collection_from_query_b (
      p_collection_name => l_collection_name,
      p_query           => l_query
      );
    
    
      IF :REQUEST = 'ADD'
      THEN
      APEX_COLLECTION.ADD_MEMBER(p_collection_name => l_collection_name);
      END IF;
    
    END;
    

    2. tabular Guide

    Type: SQL query

    Source:

    SELECT apex_item.hidden(4,c047,NULL,'f04_'|| '#ROWNUM#')
      || apex_item.hidden(5,c048,NULL,'f05_'|| '#ROWNUM#')
      || apex_item.hidden(6,seq_id,NULL,'f06_'|| '#ROWNUM#')
      || apex_item.hidden(3,c003,NULL,'f03_'|| '#ROWNUM#')
      || apex_item.hidden(1,c001,NULL,'f01_'|| '#ROWNUM#')
      || apex_item.checkbox(
      7, 
      seq_id,
      NULL,
      CASE 
      WHEN c047 = 'D' THEN seq_id
      END,
      ':',
      'f07_' || '#ROWNUM#'
      ) AS delete_checkbox,
      apex_item.text(
      2,
      c002,
      20,
      50,
      NULL,
      'f02_' || '#ROWNUM#'
      ) AS email_id
    FROM apex_collections
    WHERE collection_name ='EMAILDETAILS'
    ORDER BY c002
    

    The buttons used:

    1. name button: ADD

    Action: send the Page

    2 button name: DELETE

    Action: send the Page

    3 Collection page

    Point process: present now - before the calculations and Validations

    Enforcement process: once a Page visit

    Source:

    DECLARE
    
    
      l_collection_name APEX_COLLECTIONS.COLLECTION_NAME%TYPE;
      l_original_md5    VARCHAR2(32);
      l_latest_md5      VARCHAR2(32);
    
    BEGIN
    
      l_collection_name := 'EMAILDETAILS';
    
      FOR x IN 1 .. apex_application.g_f06.count 
      LOOP         
      IF apex_application.g_f01(x) IS NOT NULL --ID exists, check to see if record was updated
      THEN
      SELECT c048 INTO l_original_md5
      FROM apex_collections
      WHERE collection_name = l_collection_name
      AND seq_id = apex_application.g_f06(x);
    
      l_latest_md5 := wwv_flow_item.md5(
      apex_application.g_f01(x),
      apex_application.g_f02(x),
      apex_application.g_f03(x)
      );
    
      IF l_original_md5 != l_latest_md5 
      THEN
      apex_collection.update_member(
      p_collection_name => l_collection_name,
      p_seq             => apex_application.g_f06(x),
      p_c001            => apex_application.g_f01(x),
      p_c002            => apex_application.g_f02(x),
      p_c003            => apex_application.g_f03(x),
      p_c047            => 'U',
      p_c048            => apex_application.g_f05(x)
      );
      END IF;
      ELSE --ID does not exist, must be new record
      apex_collection.update_member(
      p_collection_name => l_collection_name,
      p_seq             => apex_application.g_f06(x),
      p_c001            => apex_application.g_f01(x),
      p_c002            => apex_application.g_f02(x),
      p_c003            => apex_application.g_f03(x),
      p_c047            => 'N',
      p_c048            => apex_application.g_f05(x)
      );
      END IF;
      END LOOP;
    
      IF :REQUEST = 'DELETE' 
      THEN
      FOR x IN 1 .. apex_application.g_f07.count 
      LOOP
      apex_collection.update_member_attribute(
      p_collection_name => l_collection_name, 
      p_seq             => apex_application.g_f07(x), 
      p_attr_number     => '47', 
      p_attr_value      => 'D'
      );
      END LOOP;
      END IF;
       
    END;
    

    4. table collection

    Point process: submit now - after calculations and Validations

    Enforcement process: once a Page visit

    Source:

    DECLARE
      l_table_md5       VARCHAR2(32);
      l_collection_name APEX_COLLECTIONS.COLLECTION_NAME%TYPE;
      l_del_count       PLS_INTEGER := 0;
      l_upd_count       PLS_INTEGER := 0;
      l_ins_count       PLS_INTEGER := 0;
      l_success_message VARCHAR2(32767);
       
      CURSOR op_lock_check_cur (p_id IN NUMBER)
      IS
      SELECT wwv_flow_item.md5(cmp_cd, email, tab_seq_id)
      FROM Cmp_Email
      WHERE tab_seq_id = op_lock_check_cur.p_id
      FOR UPDATE;
    BEGIN
      l_collection_name := 'EMAILDETAILS';
    
    
      FOR x IN (
      SELECT *
      FROM apex_collections
      WHERE collection_name = l_collection_name
      AND c047 IN ('N','U','D')) 
      LOOP
      IF x.c047 = 'N'
      THEN
      INSERT INTO Cmp_Email(tab_seq_id,cmp_cd,email) 
      VALUES (cmp_email_seq.nextval,
      :P5_CMP_CD_HIDN, 
      x.c002
      );
    
      l_ins_count := l_ins_count + 1;
      ELSIF x.c047 = 'U'
      THEN
      OPEN op_lock_check_cur(x.c003);
      FETCH op_lock_check_cur INTO l_table_md5;
    
    
      IF l_table_md5 != x.c048 
      THEN
      raise_application_error(-20001,'Current version of data in database has changed since user initiated update process.');
      END IF;
    
      UPDATE Cmp_Email
      SET cmp_cd=:P5_CMP_CD_HIDN
      ,email = x.c002
      WHERE CURRENT OF op_lock_check_cur;
    
      CLOSE op_lock_check_cur;
    
      l_upd_count := l_upd_count + 1;
      ELSIF x.c047 = 'D'
      THEN
      DELETE FROM Cmp_Email
      WHERE tab_seq_id = x.c003;
    
      l_del_count := l_del_count + 1;
      END IF;
      END LOOP;
       
      apex_collection.delete_collection(p_collection_name => l_collection_name);
       
      l_success_message :=  
      l_ins_count || ' rows inserted, ' ||
      l_upd_count || ' rows updated, ' ||
      l_del_count || ' rows deleted';
    
      :P5_SUCCESS_MESSAGE:= l_success_message;
       
    END;
    

    When I press the ADD button, a new line must be added to the shape of the table and the data should be saved to the collection. , But currently, the page is being submitted to the database table when adding new lines in the form of tables. The data should only be saved in the database when the user clicks on the APPLY CHANGES button

    I searched the Forum about this issue and have found many discussions which suggested to use JavaScript to add new lines. As I have no knowledge of JavaScript, these solutions have been strange for me.

    Please help me solve this problem.

    Thanks in advance.

    Kind regards

    Aravind

    Hi Christophe,

    Follow the changes mentioned below

    1. remove this your Collections initialize

    IF :REQUEST = 'ADD'
    THEN
      APEX_COLLECTION.ADD_MEMBER(p_collection_name => l_collection_name);
    END IF;  
    

    2 condition your collection process initialize

    Modify your process-> conditions-> PLSQL Expressions->: REQUEST IS NULL

    3. create a process more onload I say Add new line to the collection

    DECLARE
        l_collection_name APEX_COLLECTIONS.COLLECTION_NAME%TYPE;
       BEGIN
          l_collection_name := 'EMAILDETAILS';
         IF apex_collection.collection_exists(l_collection_name)
          THEN
              APEX_COLLECTION.ADD_MEMBER(p_collection_name => l_collection_name);
              END IF;
       END;
    

    4 condition your Add new line to the collection

    Modify your process-> conditions-> request = Expression1-> ADD (this should be request ADD button)

    5. change your button-> Action addition-> redirect to this application page :-> page no (same page)->-> ADD APPLICATION

    6. check your through the process conditional Page collection

    Modify your process-> conditions-> PLSQL Expressions->: ASK IN ('ADD', 'APPLY_CHANGES', 'DELETE')

    7. check your subject to the process of Collection to Table under condition

    Modify your process-> conditions-> PLSQL Expressions->: ASK IN ('APPLY_CHANGES')

    8. for the whole process to remove the conditions when the button is pressed.

    If the problems persists, create a sample on apex.oracle.com and share the connection information with the name of workspace.

    Hope this helps you,

    Kind regards

    Jitendra

  • Collections and APEX_ITEM. TEXT()

    I am currently using three collections on a form using APEX_ITEM. SELECT_LIST_FROM_LOV(). All work fine. I add another collection to your need to use APEX_ITEM. Text() and it has been so long setting I don't remember why this is happening. I think that's because of the APEX_ITEM. Text() function.  Whatever is underneath. Thanks in advance!

    Note for Jari if you're here, it's instead of the tabular form, we have been working on if I put two more on the form...

    Tables

    DOC_ASSOC_ITEMNO_REF

    ASSOC_ITEMNO_REF_ID (PK)

    ITEM_ID (FK)

    DOC_INFO_ID (FK)

    DOCNO_ID (FK)

    ASSOC_ITEMNO (VARCHAR2 (30))

    SH_ITEM

    ITEM_ID

    ITEMNO

    ITEM_DESC

    ITEM_GROUP

    Form region

    SELECT  APEX_ITEM.TEXT(24,c024,null,10,null,null) ASSOC_ITEMNO
    FROM APEX_COLLECTIONS 
    WHERE COLLECTION_NAME = 'ASSOC_ITEMNO_COLL' ORDER BY c024
    

    Create the Dataset

    apex_collection.create_or_truncate_collection
      (p_collection_name => 'ASSOC_ITEMNO_COLL');
    DECLARE
      v_ai       NUMBER;
      var21      NUMBER;
      var22      NUMBER;  
      var23      NUMBER;
      var24      VARCHAR2(4000);
      rw_ct      INTEGER;
    cursor c_prepop is
    select assoc_itemno_ref_id, item_id, doc_info_id, docno_id,  assoc_itemno 
    from DOC_ASSOC_ITEMNO_REF
    where DOCNO_ID = :P3_DOCNO_ID
    ORDER BY 1;
      i      NUMBER;
      cntr   NUMBER := 4000;
    BEGIN
      select COUNT(*) into rw_ct from DOC_ASSOC_ITEMNO_REF
    where DOCNO_ID = :P3_DOCNO_ID     
          ORDER BY 1;
      cntr := cntr - rw_ct;
      OPEN c_prepop;
        LOOP
          FETCH c_prepop into v_ai, var21, var22, var23, var24;
           EXIT WHEN c_prepop%NOTFOUND;
           APEX_COLLECTION.ADD_MEMBER(
            p_collection_name => 'ASSOC_ITEMNO_COLL',
            p_c020 => v_ai, --assoc_item_ref_id
            p_c021 => var21, --item_id
            p_c022 => var22, --doc_info_id
            p_c023 => var23, --docno_id
            p_c024 => var24  --assoc_itemno
              );
        END LOOP;
      CLOSE c_prepop;
    for i in 1..cntr loop
        APEX_COLLECTION.ADD_MEMBER(
            p_collection_name => 'ASSOC_ITEMNO_COLL',
            p_c020 => 0, 
            p_c021 => 0,
            p_c022 => :P3_DOC_INFO_ID, 
            p_c023 => :P3_DOCNO_ID,
            p_c024 => null
            );
      end loop;
    END;
    

    Enter data

    declare
    p pls_integer :=0;
    begin
    for p1 in(
     select seq_id from apex_collections
     where collection_name = 'ASSOC_ITEMNO_COLL'
     order by seq_id)loop
     p:=p+1;
    apex_collection.update_member_attribute(p_collection_name=>'ASSOC_ITEMNO_COLL',  p_seq=>p1.seq_id,p_attr_number=>24,p_attr_value=>wwv_flow.g_f24(p));
    end loop;
    end;
    

    Write to the Collection

    declare
    begin
      for y in (select TO_NUMBER(c020) x_key20, TO_NUMBER(c021) x_21, TO_NUMBER(c022) x_22, TO_NUMBER(c023) x_23, (c024) x_24
       FROM APEX_COLLECTIONS
      WHERE COLLECTION_NAME = 'ASSOC_ITEMNO_COLL' AND c024 IS NOT NULL ORDER BY x_key20) loop
      IF y.x_key20 = 0  and y.x_24 > 0 THEN
           insert into DOC_ASSOC_ITEMNO_REF(assoc_itemno_ref_id, doc_info_id, docno_id, item_id, assoc_itemno)
              values(DOC_ASSOC_ITEMNO_REF_SEQ.nextval, y.x_21, y.x_22, y.x_23, y.x_23);
        elsif y.x_key20 > 0  then
    update DOC_ASSOC_ITEMNO_REF
    set
    item_id = y.x_21,
    doc_info_id = y.x_22,
    docno_id = y.x_23,
    assoc_itemno = y.x_24
    
     where assoc_itemno_ref_id = y.x_key20;
       else
          DBMS_OUTPUT.PUT_LINE ('There’s an error.');
    
        end if;
      end loop;
    end;
    

    Result

    ITEMS PARTNERS JavaScript:popupURL('f?p=4000:374:1749835074821218:::P374_ID,FB_FLOW_ID,FB_FLOW_PAGE_ID:74545216228738206,505,3');
    < input type = "text" name = "f24" size = "20" maxlength = "10".
    value = "" / > "
    < input type = "text" name = "f24" size = "20" maxlength = "10".
    value = "" / > "
    < input type = "text" name = "f24" size = "20" maxlength = "10".

    value = "" / > "< input type = "text" name = "f24" size = "20" maxlength = "10".
    value = "" / > "< input type = "text" name = "f24" size = "20" maxlength = "10".
    value = "" / > "< input type = "text" name = "f24" size = "20" maxlength = "10".
    value = "" / > "< input type = "text" name = "f24" size = "20" maxlength = "10".
    value = "" / > "< input type = "text" name = "f24".
    size = "20" maxlength = "10" value = "" / > "< input type = "text" name = "f24".
    size = "20" maxlength = "10" value = "" / > "< input type = "text" name = "f24".
    size = "20" maxlength = "10" value = "" / > "< input type = "text" name = "f24".
    size = "20" maxlength = "10" value = "" / > "< input type = "text" name = "f24".
    size = "20" maxlength = "10" value = "" / > "< input type = "text" name = "f24".
    size = "20" maxlength = "10" value = "" / > "< input type = "text" name = "f24" size = "20" maxlength = "10".
    value = "" / > "< input type = "text" name = "f24" size = "20" maxlength = "10".
    value = "" / > "
    1 - 15Next
    >

    Hello

    You need to change your report to «Display As column report Standard =» columns

    Thank you

    Erick

  • Button to apply tabular form - can I just update region c. send this page?

    Hi all -
    I have a tabular form of base with a button apply. After the button is clicked the MRU is done properly, but it then triggers a sending of full page. I would rather just refresh the region like nothing else on the page requires a refresh. If I create a dynamic action, I think that I need the pl/sql to do the update and I hope I can find an easier way around this.

    The only action the button options are send page, redirect to a page or the url and "defined by the dynamic action. I'm on request Express 4.1.0.00.32.

    I hope it's something really basic but I have ideas or suggestions,

    John

    Hi John,.

    If you want to stay with the built-in feature in a table, as the process of page MRU, optimistic locking, etc., then you need send a page and the full reload. You can easily navigate the game following lines using partial page refresh and also make sort. But for writing data in the database, you must send the page. Especially if you have extra in the form of validations and related processes. Of course, you could go entirely manual, write your own JavaScript to collect the data from all the tables in table form and submit this via an AJAX request and initiate an update of only the region in table form. But you loose some features in doing so.

    We are looking for in this, addressing a new component to edit grid several rows before us for inclusion in the APEX 5.0:

    http://www.Oracle.com/technetwork/developer-tools/Apex/application-express/Apex-sod-087560.html

    ... However for the moment, I would strongly recommend to stick to submit to full page and reload in this case.

    Kind regards
    Marc

  • Call skillbuilder tabular form modal plugin

    Hello

    I have a tabular presentation, which I try to call the modal skillbuilders one of the columns page.

    The field I want to use to pass the modal page ID can be null, so I put a bit of functionality in the display only the link, if the ID is filled.

    I used the modal plugin before, but don't ever use this kind of functionality (from link on status of tabular form) as I have always previously used a button and assigned the id.

    Can someone advise how to assign the field WIP_TRACKING ID please that I can use to go to modal page?

    The tables SQL code is below:

    SELECT
    COMMENT_ID,
    COMMENT_ID COMMENT_ID_DISPLAY,
    APPLY_COMMENT_TIMING,
    CUSTOMER_NUMBER,
    ITEM_NUMBER,
    SAP_NSC_NAME,
    SAP_CUSTOMER,
    SET_STOP_INFLATING_ODR_SSD,
    COMMENT_TEXT,
    DISABLED_FLAG,
    CASE
      WHEN NVL(APPLY_COMMENT_TIMING,-1) =3
      THEN
      '<a href="'
      || 'f?p=&APP_ID.:2:&SESSION.::&DEBUG.::'
      || 'P2_COMMENT_ID:'
      || COMMENT_ID
      || '">'
      || '<img src="#IMAGE_PREFIX#edit_big.gif" alt="">'
      || '</a>'
      ELSE 'Not Tracked'
      END WIP_Tracking
    FROM #OWNER#.XXMEL_CPE_COMMENTS
    
    

    Cashy,

    You didn't say if your Apex 4 or 5. So better idea is now under the HTML code, or add custom attributes id = "".

    Laurent

  • APEX: Can we add additional items in tabular form existing

    Hi Experts,

    I built a nice tabular form with all the buttons and whistles.  All goes well until my request for the user to add another

    the point in the form of tables and here's my night Mare, I have this error code

    failed to parse SQL query: ORA-01403: no data found 

    I pinned it down to the process of the ApplyMRU or ApplyMRD; because once I delete these.

    I see the tabular presentation.

    But when I tried to manually recreate the SRM process, with the same criteria, I have the same error code

    Is this a Bug or just the way the behaviour of tabular presentation?

    What should I do to fix the error?

    Please don't tell me that I have to rebuild the tabular presentation.  :-(

    Hi JAS-Oracle,

    JAS-Oracle wrote:

    Hi Experts,

    I built a nice tabular form with all the buttons and whistles.  All goes well until my request for the user to add another

    the point in the form of tables and here's my night Mare, I have this error code

    failed to parse SQL query: ORA-01403: no data found
    

    I pinned it down to the process of the ApplyMRU or ApplyMRD; because once I delete these.

    I see the tabular presentation.

    But when I tried to manually recreate the SRM process, with the same criteria, I have the same error code

    Is this a Bug or just the way the behaviour of tabular presentation?

    What should I do to fix the error?

    Please don't tell me that I have to rebuild the tabular presentation.  :-(

    Here an other elements means another column in the form of tables... Right?

    This column to another is the same table on which you build your tabular presentation.

    If this is the case, then you must add the extra column in your select query and a few changes in the properties of this column, no need to do anything with the process of the MRU.

    for that go to report attributes-> change the newly added column-> slot of the attributes of tabular form

    The Table - name of the schema reference owner

    The Table name - name of the reference table

    Column name of the column in reference

    If this isn't the case then of additional information on the same.

    If the column is in the other table, to check out this blog: manipulate several tables in a tabular form

    or create the sample on the apex.oracle.com, allowing the user to resolve your issue quickly.

    ,

    Hope this helps you

    Kind regards

    Jitendra

  • Request Express 5.0.0.00.31/Tabular form/number of lines

    Hello

    I would like to ask how to configure the number of lines displayed per page.

    I did the below and also I tried to re-charge/reload, but impossible to get what I want.

    Implement a tabular form

    Set the presentation attributes of the State and the paging number of rows 50

    Registered and run this page, it shows still 15 ranks in this page.

    A I missed something? Or as a table don't allow no more than 15 lines be shown on 1 page?

    Thank you.

    Hello

    Pagination settings are cached for the duration of the session. This change is visible immediately, close the session, restart the brower and connect again or manually re - request the page from the browser's address bar, adding the ClearCache position 'RP' in the URL.

    Do not set anything in number of lines (point). This is used to identify an element of the page containing the number of lines to allow users to control this

    (Note: If you think it answers your question, please mark it as correct answer.) This will help other users in the community)

    Thank you

    Benhamdia

Maybe you are looking for

  • Re: Satellite L30 - 134 PSL33e shows 896 MB of RAM, but 1.5 GB are inserted

    Satellite L30 - 134 psl33e-00e013g3.I have 2 memory slots, in the first place there are 1 GB kvr, then I add to the second slot 512 MB HynixAll of the memory two modules are ddr-533 (little difference in hours between them is present) If I click on m

  • Option missing Scan from the control panel for my Officeject HP 8600 pro. How can I get that back?

    I have this printer for a few months now - it works well until today.  Option missing Scan from the control panel for my Officeject HP 8600 pro. I have Windows 7 Access has been- Beginning Devices & Printers HP Officejet 8600 He opens a box that had

  • Windows App Crash

    I'm so frustrated, but have learned that a large part of this problem, learned since everything except the answer to my problem, I have windows vista family 32-bit premium, it runs very very slow and Explorer windows continues to work or respond, I'm

  • SqlDataAccess thread

    I use SqlDataAccess to insert / query from an SQLite database. Everything worked fine until I added Threads in the mixture. Anyone know if SqlDataAccess is thread-safe? I see messages indicating that removeDatabase is running when any of my code that

  • Western Digital Passport essential does not eject on Windows 7

    This "response" just to change the subject.  He spoke in XP disk "is"ready to be ejected"", and so on. "  but the problem here is Windows 7, there is no such situation "ready to be ejected.  The rest of the 'response' comes from an impossible situati