Add row in manually created tabular form

Hi,
I have created a manual tabular form in one of my pages, as I need 2 tabular forms.
In my manual tabular form i have used collection, so while adding a row into it, the whole page get submitted.
Do some have any idea how to add a row without refreshing the page, also kindly let me know all the steps for it, as I am new to Apex.
Thanks,
Rupak

Hi Kiran,
My code for tabular form is as below:
SELECT apex_item.checkbox (40,
seq_id,
'onclick="highlight_row(this,' || seq_id || ')"',
NULL,
'f40_' || LPAD (seq_id, 4, '0')
) DELETE_CHECKBOX,
APEX_ITEM.hidden (41, seq_id)
||
APEX_ITEM.TEXTAREA (42,
c001,
5,
80,
'f42_' || LPAD (seq_id, 4, '0'),
NULL) Major_Risks_Issues,
APEX_ITEM.TEXTAREA (43,
c002,
5,
80,
'f43_' || LPAD (seq_id, 4, '0'),
NULL) Mitigation_Plan_Action,
APEX_ITEM.SELECT_LIST (44,
c003,
'Open;Open,Closed;Closed',
'f44_' || LPAD (seq_id, 4, '0'),
NULL) Status,
APEX_ITEM.hidden (45,
c004,
'f45_' || LPAD (seq_id, 4, '0'),
NULL) RISK_ID
FROM apex_collections
WHERE collection_name = 'COLLECTION_GT'
UNION ALL
SELECT apex_item.checkbox (40,
NULL,
'onclick="highlight_row(this,' || TO_NUMBER (9900 + LEVEL) || ')"',
NULL,
'f40_' || LPAD (9900 + LEVEL, 4, '0')
) DELETE_CHECKBOX,
APEX_ITEM.hidden (41, NULL)
||
APEX_ITEM.TEXTAREA (42,
NULL,
5,
80,
'f42_' || LPAD (9900 + LEVEL, 4, '0'),
NULL) Major_Risks_Issues,
APEX_ITEM.TEXTAREA (43,
NULL,
5,
80,
'f43_' || LPAD (9900 + LEVEL, 4, '0'),
NULL) Mitigation_Plan_Action,
APEX_ITEM.SELECT_LIST (44,
NULL,
'Open;Open,Closed;Closed',
'f44_' || LPAD (9900 + LEVEL, 4, '0'),
NULL) Status,
APEX_ITEM.hidden (45,
NULL,
'f45_' ||LPAD (9900 + LEVEL, 4, '0'),
NULL) RISK_ID
FROM DUAL
WHERE upper(:request) = 'ADD'
CONNECT BY LEVEL = 1
My Code for adding a row is as below:
DECLARE
vupdatecount NUMBER := 0;
vinsertcount NUMBER := 0;
BEGIN
FOR ii IN 1 .. apex_application.g_f41.COUNT -- SEQ_ID
LOOP
-- if it's an existing record
IF apex_application.g_f41(ii) IS NOT NULL -- contains SEQ_ID
THEN
apex_collection.update_member (p_collection_name => 'COLLECTION_GT',
p_seq => apex_application.g_f41
(ii),
p_c001 => apex_application.g_f42
(ii),
p_c002 => apex_application.g_f43
(ii),
p_c003 => apex_application.g_f44
(ii),
p_c004 => apex_application.g_f45
(ii)
vupdatecount := vupdatecount + 1;
ELSE
apex_collection.add_member (p_collection_name => 'COLLECTION_GT',
p_c001 => apex_application.g_f42
(ii),
p_c002 => apex_application.g_f43
(ii),
p_c003 => apex_application.g_f44
(ii),
p_c004 => apex_application.g_f45
(ii)
vinsertcount := vinsertcount + 1;
END IF;
END LOOP;
END;
Kindly look into this and let me know if any thing is wrong here.
Regards
Rupak

Similar Messages

  • Select list in a manually created tabular form

    I created a select drop down item in a manually created tabular form. When I run the page, it also shows the null value '%'. How do I edit this?
    This is the line I am using in the SQL:
    htmldb_item.select_list_from_query(34,IN_PGRS_STAT_DSC,'select distinct STAT_DSC, STAT_DSC from PROJECT_STATUS_REF') IN_PGRS_STAT_DSC,

    And the select list doesn't work. It gives me an error message if I have the form to display one extra empty record and the select list. But even with the select list, if I don't include the extra row, it works properly.
    report error:
    ORA-06550: line 1, column 13:
    PLS-00103: Encountered the symbol "COLLECT" when expecting one of the following:
    := . ( @ % ;
    ORA-06550: line 1, column 82:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    . ( , % from
    What I also realized is that the drop down shows the value 7. But the table is empty with no records. I have no idea where this number 7 is coming from?
    Message was edited by:
    user494578
    Message was edited by:
    user494578

  • 2 manually created tabular form on the same page based on 2 different table

    Hi, I followed the how to document on manually creating tabular form, including one extra row.
    The first form I created works fine, but when I attempt to create the second tabular form based on a different table on the same page, I get the following error message when I try to create the query:
    ORA-04045: errors during recompilation/revalidation of PUBLIC.X ORA-00980: synonym translation is no longer valid
    The logic behind both tabular forms I am using is the same, except that for the second query, I use 100 instead of 1, 300 instead of 3, etc:
    select htmldb_item.hidden(1,empno) empno,
    ename,
    htmldb_item.select_list_from_query(3,job,'select distinct job, job from emp') job,
    htmldb_item.popupkey_from_query(4,mgr,'select ename, empno from emp',10) mgr,
    wwv_flow_item.date_popup(6,null,hiredate) hiredate,
    htmldb_item.text(7,sal,10) sal,
    htmldb_item.text(8,comm,10) comm,
    htmldb_item.select_list_from_query(9,deptno,'select dname, deptno from dept') deptno
    from emp
    Can anybody help?
    Thanks a lot

    Hi,
    If by "100 instead of 1" you mean the column numbers, then this won't work as you can only have a maximum of 50.
    Andy

  • Manually created tabular form

    I created a tabular form manually. I got it to work so that it displays a blank record automatically so the user can insert a new row. But this only gives the user to insert one row at a time. Can this be changed so the user can insert multiple rows at a time?

    Thanks. The tabular form (detail) is actually part of another form based on another table (parent).
    I want to use the apply changes button that the parent form provides to update recrods for the detail form. And for my requirement, I actually need only 3 extra rows, and this is set number for every parent record.
    Can this be done without having to click on add row button, since I only and always need 3 rows?
    Thanks

  • Search criteria on manually created tabular form

    Hi All,
    Apex v4.0
    DB 11g
    In a page I have created one manually tabular form using collection .
    My requirement is :- Search criteria on the form based on 3 column field of that form.
    I tried to use LIKE, EQUAL in the select statement of the query. BUT search option is not working .
    When I tried to search ,it doesn't return anything.
    But its working on wizard base TF.
    I am not sure this one option for search criteria on the manually created TF.
    Kindly suggest any other way we can achieve it.
    Thanks in Advance !!!
    Regards,
    Amu

    Remember that the values on an apex page is only accessible once you submit your page.
    And for tabular forms the values needs to be processed to the apex collections after you submit.
    For better understanding what happens inside the collections I suggest that you always make a conditional report with
    select * from apex_collectionsand Condition
    Where Value of item in expression1 = Expression2
    Expression1
    DEBUGExpression2
    YESThis way you can show the content of your collections easily by just enabling debug.
    Regards

  • Manually Created Tabular Forms and Firefox 4 Problem

    I have a tabular form created with pl/sql dynamic content regions using the apex_item toolkit. An apex collection is used to maintain state for the tabular data entered. It is an application originally created in APEX 1.5 and upgraded through the years to 3.2 . Never a problem with the application until now. I have re-created the issue on the apex.oracle.com site here:
    http://apex.oracle.com/pls/apex/f?p=28213
    Run the application in IE ( I am using 8) and then run in Firefox 4. Enter a quantity in the first item then hit Next and then Previous multiple times. See the problem? The problem does not occur in FF 3.6 or Chrome either. I have not tried Safari as my mac is at home and I am at the office.
    Here is code for both pl/sql regions and the collection update (after submit). Page 2 is just a report selecting from the collection. I have spent a day trying to solve this problem. Any help will be appreciated. Re-architecting without the pl/sql dynamic regions is not an option at this time.
    Dave
    Report region 1: (collection not exists)
    declare
    other1 varchar2(2000) default null;
    other_char varchar2(32000) default null;
    begin
    htp.p('<table border="1" width="100%">');
    htp.tablerowopen;
    htp.p('<th>Description</th><th>Price</th><th>Quantity</th>');
    htp.tablerowclose;
    for rec in (SELECT id, description,to_char(price,'$9,999.99') price
    FROM foodbev_items order by id) loop
    select apex_item.hidden(1,rec.id) into other_char from dual;
    htp.p(other_char);
    select apex_item.hidden(3,rec.description) into other_char from dual;
    htp.p(other_char);
    htp.tablerowopen;
    htp.tabledata(rec.description);
    htp.tabledata(rec.price,'right');
    -- quantity here
    select apex_item.text(6,null,5)
    into other1 from dual;
    htp.tabledata(other1);
    htp.p('<tablerowclose>');
    end loop;
    htp.p('</table>');
    end;
    Report Region 2: (collection exists)
    declare
    other1 varchar2(2000) default null;
    other_char varchar2(32000) default null;
    begin
    htp.p('<table border="1" width="100%">');
    htp.tablerowopen;
    htp.p('<th>Description</th><th>Price</th><th>Quantity</th>');
    htp.tablerowclose;
    -- collection BREAKFAST_SELECTION
    -- 1 is item_id, 3 is descrip 6 is qty
    for rec in (SELECT a.c001 item_id, a.c003 description,to_char(b.price,'$9,999.99') price, a.c006 entered_qty
    FROM htmldb_collections a, foodbev_items b where a.c001 = to_char(b.id) and a.collection_name = 'BREAKFAST_SELECTION' order by b.id) loop
    select apex_item.hidden(1,rec.item_id) into other_char from dual;
    htp.p(other_char);
    select apex_item.hidden(3,rec.description) into other_char from dual;
    htp.p(other_char);
    htp.tablerowopen;
    htp.tabledata(rec.description);
    htp.tabledata(rec.price,'right');
    -- quantity here
    select apex_item.text(6,rec.entered_qty,5,5)
    into other1 from dual;
    htp.tabledata(other1);
    htp.p('<tablerowclose>');
    end loop;
    htp.p('</table>');
    end;
    Collection Update:
    declare
    la_cks wwv_flow_global.vc_arr2;
    other_char varchar2(2000) default null;
    other_char1 varchar2(2000) default null;
    begin
    htmldb_collection.create_or_truncate_collection('BREAKFAST_SELECTION');
    for i in 1 .. htmldb_application.g_f01.count
    loop
    -- 1 is item_id, 2 is numeric price , 3 is descrip, 6 is qty
    htmldb_collection.add_member(
    p_collection_name => 'BREAKFAST_SELECTION',
    p_c001 => htmldb_application.g_f01(i),
    p_c003 => htmldb_application.g_f03(i),
    p_c006 => htmldb_application.g_f06(i)
    end loop;
    end;

    Dave,
    All I am saying is both of your report regions can very easily be made into a sql statement and put into a report region. you can then use the apex builder to format them. How you validate that data is up to you and would not change all that much other than making sure your global arrays are pointing to the same columns. it just looks to me that you are going through a lot more effort to not use what apex will very easily do for you. Plus the more apex built in functionality you use the more robust your application will be in different browsers.
    I tried running your application in IE 7 and FF 3.6 and i did not see any problems. i entered 1,6,4 clicked next. Clicked previous numerous times and was redirected back to the page and saw 1,6,4.
    What is happening when you run the app?
    Thanks,
    Tyson Jouglet

  • Updating a table through a manually created tabular form does not work.

    Hi Friends,
    I don't know why the "On submit - After computations and validations" process does not update the referenced table. May I miss something. Here is my source :
    select
    apex_item.hidden(1,eqp_id) id,
    apex_item.hidden(2,tcs_tcs_id) tcs,
    apex_item.text(3,eqp_equip_name,50) name,
    apex_item.text(4,eqp_equip_ident,50) ident,
    apex_item.text(5,eqp_equip_type,15) type
    from equip_physical
    where tcs_tcs_id = :P1_TCS_ID
    and here is the process source
    FORALL i IN 1..apex_application.g_f01.count
    UPDATE equip_physical
    SET eqp_equip_name=apex_application.g_f03(i),
    eqp_equip_ident=apex_application.g_f04(i),
    eqp_equip_type=apex_application.g_f05(i)
    WHERE eqp_id=apex_application.g_f01(i);
    No error message is displayed and my success message associated to the process is displayed. But the modified text field value is erased and the database table is not updated.

    I'd call it a bug/missing feature.
    It appears that within a Basic report, sorting on a column created using APEX_ITEM.DATE_POPUP2() does not sort by date.
    I'd file this with Oracle Support and see what they say.
    Include a link to this thread and your workspace login information.
    I got something to work by: (probably not what you want.)
    using the C004 column directly. (I just added it to the SQL code)
    setting the column's attribute "Display As" to "Date Picker"
    setting the column's attribute "Number /Date Format" to DD-MM-YYYY
    I suspect: since you don't start with p_idx => 1, this column becomes "1" ==> g_f01
    MK

  • Create Tabular Form wizard - how to add rows to Table / View Owner list?

    Create Tabular Form wizard asks to choose "Table / View Owner"
    How to add additional schemas/users to this "Table / View Owner" dropdown list?

    Next step:
    I tried to create 2nd application - and it sees and allows to select from schemas I added in previous step.
    Then I tried to add 1 more schema - and 2nd application can't see it...
    I create 3rd application and select 1st schema (assigned when workspace was created) - and it sees only this one schema
    I create 4th application and select another schema (added in previous steps) - and it sees 2 schemas from 4 assigned
    what is this?
    how to live with it?

  • How to create tabular form whithout primary key in table

    Hi All,
    I have requirement to create a tabular form but the problem is, the table which I am using in the application don't have any Primary key, I am using only one table can't change any thing in table.(i.e can't add any row in table,no change in data model)
    How can I create tabular form when primary key is not available.
    looking forward for all of your quick responce.
    Thanks in advance.
    Dikshit Kumar Nidhi

    You can create a view like
    select a.rowid id, a.*
    from table a
    and create a tabular form on this view. You can use
    the new column ID as Primary key.Did you try to actually do this? I did at
    http://htmldb.oracle.com/pls/otn/f?p=24317:159
    And when I change something and click Submit, I get an error
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01733: virtual column not allowed here, update "VIKASA"."NO_PK_VW" set "ID" = :b1, "I" = :b2, "J" = :b3 where "ID" = :p_pk_col
    Thanks

  • Help with validation on a manually created tabbed form

    version 4.1.1.00.23
    Hello,
    I have a manually created tabbed form that I'm having trouble creating validation on.
    The page is a Resource Staffing page where PM's can forecast the Resources that will be needed for various projects. The forecast can be for 12 - 18 months.
    The requirement is to display a message to the user if they are trying to save a row without forecasting any time. It's possible they may not know how may Resources or the length of time needed when the row is created.  If they respond that they want to save the row without time the MRU will create the record. If they answer that they do not want to save the row they are returned to the page without loss of information.
    The month fields on the page are defaulting to 0 (zero).
    I've updated the Save button to Redirect to URL and in the URL Redirect I have: javascript:confirmNoTimeSaved()
    The javascript:
    [code]
    function confirmNoTimeSaved()
        var arr_jan,arr_feb,arr_mar,arr_apr,arr_may,arr_jun,arr_jul,arr_aug,arr_sep,arr_oct,arr_nov,arr_dec = new Array();
            arr_jan = document.wwv_flow.f07;
            arr_feb = document.wwv_flow.f08;
            arr_mar = document.wwv_flow.f09;
            arr_apr = document.wwv_flow.f10;
            arr_may = document.wwv_flow.f11;
            arr_jun = document.wwv_flow.f12;
            arr_jul = document.wwv_flow.f13;
            arr_aug = document.wwv_flow.f14;
            arr_sep = document.wwv_flow.f15;
            arr_oct = document.wwv_flow.f16;
            arr_nov = document.wwv_flow.f17;
            arr_dec = document.wwv_flow.f18;
        for(i = 0; i < arr_jan.length; i++)
            if(arr_jan[i].value == 0 && arr_feb[i].value == 0 && arr_mar[i].value == 0
                && arr_apr[i].value == 0 && arr_may[i].value == 0 && arr_jun[i].value == 0
                && arr_jul[i].value == 0 && arr_aug[i].value == 0 && arr_sep[i].value == 0
                && arr_oct[i].value == 0 && arr_nov[i].value == 0 && arr_dec[i].value == 0)
                txt = 'You have no time assigned to your Forecast. Do you want to save this Forecast without time entered?' + '\n' + '\n' + '"Yes" to save the Forecast.' + '\n' + '"No" to return with no changes.';
                caption = 'Confirm Saving With No Time';
                vbMsg(txt,caption)
                switch (isChoice)
                    case 6:
                        doSubmit('SUBMIT');
                        break;
                    case 7:
                        doSubmit('CANCEL2');
                        break;
            else
                doSubmit('SUBMIT');   
                break;
    </script>
    <script language="VBScript">
    <!--
    //Yes    = 6
    //No     = 7
        Function vbMsg(isTxt,isCaption)
            testVal = MsgBox(isTxt,vbYesNo,isCaption)
            isChoice = testVal
        End Function
    //-->
    </script>
    [/code]
    The 'CANCEL2' is just a Branch I'm using to branch back to the page without clearing Cache. I do have 'Cancel' button on the page and the Branch created for that clears the Cache.
    While debugging the javascript I get into the VB Script on the testVal = MsgBox(isTxt,vbYesNo,isCaption) line and the browser crashes.
    Can someone help with this requirement?
    What additional information can I provide?
    Thanks,
    Joe

    The code above is my attempt at this requirement, however, the browser crashes when it gets to the VBScript on the MsgBox call. I don't have to use this approach. Does someone have an idea how to solve this?
    Thanks,
    Joe

  • Add row not working when creating tabular form manually

    Hi friends,
    I am trying to create a manual tabular form( with the help of Denes's example). When adding a new row by clicking
    the add button new row is added and i can enter data in that row. This works fine when there is only one page.
    Now i have 30 rows in 2 pages. Now when i tried to add a new row by pressing the add button nothing is happening.
    In my add button i have given redirect to the same page and request as ADD and the report query is as below.
    SELECT apex_item.checkbox (1,
                               EQUIPMENT_ID,
                               'onclick="highlight_row(this,' || ROWNUM || ')"',
                               NULL,
                               'f01_' || LPAD (ROWNUM, 4, '0')
                              )Tick,
       EQUIPMENT_ID,
              apex_item.hidden (2,EQUIPMENT_ID)
    ||apex_item.text (3,
                              EQUIPMENT_ROLE,
                              80,
                              100,
                              'style="width:170px"',
                              'f03_' || LPAD (ROWNUM, 4, '0')
                             )|| apex_item.hidden (4, wwv_flow_item.md5(EQUIPMENT_ID,EQUIPMENT_ROLE,EQUIPMENT_VERSION,                       
                             SNMP_PORT,RO_COMMUNITY_STRING ,RW_COMMUNITY_STRING,COMMISIONED_STATE,CUSTOMER_ID,
                             SITE_ID
                             ))EQUIPMENT_ROLE,
    apex_item.text (5,
                             EQUIPMENT_VERSION,
                              80,
                              100,
                              'style="width:170px"',
                              'f05_' || LPAD (ROWNUM, 4, '0')
                             ) EQUIPMENT_VERSION,
    apex_item.text (6,
                             SNMP_PORT,
                              80,
                              100,
                              'style="width:170px"',
                              'f06_' || LPAD (ROWNUM, 4, '0')
                             ) SNMP_PORT,
    apex_item.text (7,
                             RO_COMMUNITY_STRING,
                              80,
                              100,
                              'style="width:170px"',
                              'f07_' || LPAD (ROWNUM, 4, '0')
                             ) RO_COMMUNITY_STRING,
    apex_item.text (8,
                             RW_COMMUNITY_STRING,
                              80,
                              100,
                              'style="width:170px" ',
                              'f08_' || LPAD (ROWNUM, 4, '0')
                             ) RW_COMMUNITY_STRING,
    apex_item.text (9,
                             COMMISIONED_STATE,
                              80,
                              100,
                              'style="width:170px" ',
                              'f09_' || LPAD (ROWNUM, 4, '0')
                             ) COMMISIONED_STATE,
    apex_item.text (10,
                             CUSTOMER_ID,
                              80,
                              100,
                              'style="width:170px" ',
                              'f10_' || LPAD (ROWNUM, 4, '0')
                             ) CUSTOMER_ID,
    apex_item.text (11,
                             SITE_ID,
                              80,
                              100,
                              'style="width:170px"',
                              'f11_' || LPAD (ROWNUM, 4, '0')
                             ) SITE_ID
          FROM EQUIPMENTS_FEAT_MVIEW
          UNION ALL
          SELECT     apex_item.checkbox
                                    (1,
                                     NULL,
                                     'onclick="highlight_row(this,' || ROWNUM || ')"',
                                     NULL,
                                     'f1_' || LPAD (9900 + LEVEL, 4, '0')
                                    ) delete_checkbox,
                     NULL,
                        apex_item.hidden (2, NULL)
                     ||apex_item.text (3,
                                        NULL,
                                        80,
                                        100,
                                        'style="width:170px"',
                                        'f3_' || LPAD (9900 + LEVEL, 4, '0')
                                 ) || apex_item.hidden (4, NULL)EQUIPMENT_ROLE ,
                      apex_item.text (5,
                                 NULL,
                                 80,
                                 100,
                                 'style="width:170px"',
                                 'f05_' || LPAD (9900 + LEVEL, 4, '0')
                                 )EQUIPMENT_VERSION,
                      apex_item.text (6,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:170px"',
                                  'f06_' || LPAD (9900 + LEVEL, 4, '0')
                                 )SNMP_PORT,
                     apex_item.text (7,
                                NULL,
                               80,
                                100,
                                'style="width:170px"',
                               'f07_' || LPAD (9900 + LEVEL, 4, '0')
                                 ) RO_COMMUNITY_STRING,
                      apex_item.text (8,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:170px"',
                                  'f08_' || LPAD (9900 + LEVEL, 4, '0')
                                 )RW_COMMUNITY_STRING,
                     apex_item.text (9,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:170px"',
                                  'f09_' || LPAD (9900 + LEVEL, 4, '0')
                                 )COMMISIONED_STATE,
                       apex_item.text (10,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:170px"',
                                  'f10_' || LPAD (9900 + LEVEL, 4, '0')
                                 )CUSTOMER_ID,         
                     apex_item.text (11,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:170px"',
                                  'f11_' || LPAD (9900 + LEVEL, 4, '0')
                                 )SITE_ID
                         FROM DUAL
                        WHERE :request = 'ADD'
    CONNECT BY LEVEL <= 1How can i solve this problem . Please help,
    Thanks,
    Jeev

    Hi,
    The blank row that you get from your second select statement would appear at the end of the report. Put that statement first and it should be at the top of the first page
    Andy

  • Create tabular form with blank records

    Hi,
    I want to create a tabular form for INSERTing multiple records! However, I am having difficulty working out how to render the form as 'empty' i.e. no existing table records appear on the Form. I tried to adjust the query the form is based on so the 'automatic' query returns no records, but this caused the fields to 'disappear'. Can anyone recommend the best way to do this (if possible),
    regards,
    Kevin.

    Hi Tyson,
    I used the Advanced Dynamic Action wizard and at the point when I specify the Page Load event, a drop down list of conditions is available ( but does include NOT EXISTS ) so I kept the default 'No condition'. I associated the DA with the Event Source. Without editing the DA the form shown 10 blank rows in addition to 10 rows populated from the table. On subsequently editing the DA to add the NOT EXISTS condition you mentioned, the additional blank rows did not appear.
    I had exactly the same behaviour when associating the DA with the 'Form' Region! Is the bottom line simply that I can't have a totally blank form if the table it is based on is not empty?
    regards,
    Kevin.

  • Trouble creating tabular form through wizard

    I can't seem to create a tabular form on one particular table. I've created many others but this table seems to be a problem. The error I get is :
    ORA-20001: Unable to create updateable report. ORA-20001: ParseErr: ORA-00972: identifier is too long
    I'm starting to wonder if there is something with one of the column names in the table that might be the problem. The DDL to create this table is as follows:
    CREATE TABLE SECURITY_RETURN_TYPE (
    SECURITY_RETURN_TYPE_ID INTEGER NOT NULL,
    SECURITY_RETURN_TYPE VARCHAR2(20) NOT NULL,
    DESCRIPTION VARCHAR2(100) NULL
    CREATE UNIQUE INDEX XAK1SECURITY_RETURN_TYPE ON SECURITY_RETURN_TYPE
    SECURITY_RETURN_TYPE ASC
    ALTER TABLE SECURITY_RETURN_TYPE
    ADD ( CONSTRAINT XPKSECURITY_RETURN_TYPE PRIMARY KEY (
    SECURITY_RETURN_TYPE_ID) ) ;
    CREATE SEQUENCE SEQ_SECURITY_RETURN_TYPE
    INCREMENT BY 1
    START WITH 1
    NOMAXVALUE
    NOMINVALUE
    NOCACHE
    NOCYCLE
    NOORDER
    CREATE OR REPLACE TRIGGER BRIUT_SECURITY_RETURN_TYPE
    BEFORE INSERT OR UPDATE ON SECURITY_RETURN_TYPE
    REFERENCING OLD AS OLD NEW AS NEW
    FOR EACH ROW
    begin
    /* POPULATE THE AUTO-INCREMENT FIELD IF NECESSARY */
    if :new.SECURITY_RETURN_TYPE_ID is null
    then
    select SEQ_SECURITY_RETURN_TYPE.nextval into :new.SECURITY_RETURN_TYPE_ID
    from dual;
    end if;
    end;

    I have encountered the exact same error. I have determined that the problem occurs when the name of the column associated with the Primary Key is exactly 23 characters in length. In my example, the table is ELECTRONIC_SIGN_BLOB with Primary Key ELECTRONIC_SIGN_BLOB_PK consisting of column ELECTRONIC_SIGN_BLOB_ID.
    When I rename the column (using ALTER TABLE RENAME COLUMN) to ELECTRONIC_SIGN_BLOB_IDX the Wizard works fine. The same is true if I rename the column to ELECTRONIC_SIGN_BLOB_IDXXXXXXX (length=30) or to ELECTRONIC_SIGN_BLOB_I (length=22). However, if I rename it to ELECTRONIC_SIGN_BLOB_XX or ELECTRONIC_SIGN_BLOB_VV (length=23) the problem reoccurs.
    So, it seems it has nothing to do with the name, but everything to do with the length equal to 23 characters. Hope that information helps!

  • Creating tabular form using SQL query

    Hi,
    I need to create a tabular form using an SQL query so that multiple rows of a table are displayed on screen and are editable to the user.
    I have created this sort of form before using the Tabular Form wizard however for this form I need to enter SQL to produce it.
    The steps I take are:
    1. Create Page
    2. Page with Component
    3. Form
    4. Fow on a SQL query
    5. For the query I have: 'select * from depot_master_customer'
    However when I view the page, it just displays one blank field with the title '*' !!
    I am doing something completely wrong here? It seems like it should be a simple thing to do.
    Any help appreciated, this one is driving me mad.
    Thanks
    Simon

    Simon,
    You will need to manually create the tabular form and DML process. This is covered in detail in the How To document shown below:
    http://www.oracle.com/technology/products/database/htmldb/howtos/tabular_form.html
    Have you tried this yet?
    Good luck!
    Emilio.

  • Create Tabular Form On Non Tabular Data

    Hi,
    I'm not sure if this is possible.
    We have an existing process the project manager enters the users time again projects this i done row by row so the results are
    User Project Wk Hrs
    A 1 1 8
    A 1 2 4
    A 1 3 3
    A 1 4 1
    B 1 2 5
    B 1 3 2
    D 1 1 7
    D 1 3 8
    I dont want to change the existing table structure as this is used by other preorts but I would like to change the data entry form to something like this
    Project 1
    Wk1 Wk2 Wk3 Wk4
    User A 8 4 3 1
    User B 5 2
    User C
    User D 7 8
    Any idea how best I could achieve this, all ideas would be appreciated?
    Thanks

    Hi Andy,
    you'd need an updateable pivot table (crosstab) - there is no out-of-the-box solution for this ... but a combination of existing how tos will do the trick.
    First: generate the crosstab (as an APEX report):
    Crosstables (Pivot tables) with SQL ...
    Second: Create a tabular form on the crosstab report manually:
    http://www.oracle.com/technology/products/database/application_express/howtos/tabular_form.html
    I have a german how to which explains the full process - even if you don't understand german the embedded code might help you ...
    http://www.oracle.com/global/de/community/tipps/kreuztabelle-edit/index.html
    Best regards
    -Carsten

Maybe you are looking for

  • DB Error during System Copy Import

    Hello, We are currently doing a heterogeneous system copy of an internal Solution Manager 7.01 (running on Linux SLES10 SP2 64Bit) to a new machine (running on Linux SLES11 SP1 64Bit). The database we are using on both side is MaxDB. During the expor

  • Photosmart 7520 not printing

    My Photosmart 7520 is printing blanks after just getting its ink changed and also printed its ink report right after perfectly fine. What is going on? I need help ASAP. I have a final due in two days!

  • Why is the New FireFox so different to the previous version?.

    Prior to upgrading if I brought up my FireFox page I had a header the same as my Google Page. The new/latest FireFox Page does not have the header with the options. Those options were,Images-Videos-Maps-News-Shopping-Mail and a More option with a dro

  • IPhoto/iPod and Syncing Albums

    Using OS X.3.9 and iPhoto 6.x: When I sync iPhoto with my new iPod (video), will I be able to browse the photos on the iPod by the same Album names used in iPhoto? Will the iPod list my Albums? For example, can I present a slideshow of a certain Albu

  • How to publish from iweb?

    My daughter want to create a website. She will make the layout in iweb , ok! But how will she then get iy available and flying on her domain? Does she need icloud or are there other ways?