Unable to delete row(s) from tabular form

Hi!
I created report with row selector, when I select one row I get tabular form regarding to the selected row from report. I can insert and update data from tabular form, but I have problem with deleting them. Error I get is ORA-01403: no data found (Row 207589)My tabular form is created by wizard and primary key is managed by database rowid, I use apex 4.1 an 10g database.
Do you know for any solution for my problem?
Regards,
drama9346
Add:
For creating report and tabular form I use code and suggestion from this thread: {thread:id=2490862}
Edited by: drama9346 on 28.1.2013 1:51

Hi,
I tried everything I know and I didn't solve my problem.
Can anyone give me some clue?
Regards,
drama9346
Add:
I solve my problem.
Edited by: drama9346 on 29.1.2013 1:52

Similar Messages

  • Delete rows from Tabular form

    Hi,
    Anyone knows how dynamicly delete rows from Tabular Form (on button click, button is as item)?
    Thanks.

    I am in a great fix. We had a test instance.. and we had a version apex 3.2.. But when the same application has been uploaded to prod.. we used apex 4.0.Why on Earth would you do this? The whole point of the testing is to verify that the application will work in the production environment: the first requirement for this is that the test and production environments are equivalent.
    has any body is facing the same issue as mine..Yes, as is easily discovered by searching the forum...see Delete button doesn't work in tabular form after upgrade from APEX3.2 to 4.

  • Unable to delete rows from Target.

    Hello everyone,
    I am unable to delete rows from target data store. Here is what I have done.
    Source Oracle 10g - staging 11g - Target Oracle 11g
    I have implemented consistent set CDC on data model in staging and added 2 tables to CDC and turned on the journals . Both tables A and B are joined together via Column E (primary key of table A). Table A is the master table(has foreign key). Table B is child table. Target column consists of all the columns of both table A and B.
    Following is what I am able to do and not to do
    ABLE TO DO. If data is inserted into both or any of journalized tables I can successfully load the same in target by performing following steps. 1. Extend the consistency window at model level. Lock subscriber. Run the interface with any source table marked as Journalized data only. Unlock subscriber and purge journal.
    ABLE TO DO. If data is updated in any of the journalized table, along with the steps mentioned above I can execute two interfaces. In one Interface table A marked as journalized data only Joined with table B and in second interface table B marked as Journalized data only joined to table a.
    NOT ABLE TO DO If data is deleted from one or both tables it shows up as journalized data in JV$D<tablename> marked as D with date and subscriber name but when i run the interface by extending the window , locking subscriber executing both interfaces, unlock subscriber purge journals. no change takes place is Target. After unlocking subscriber step, journalized data gets removed from JV$D view. Please let me know what I am doing wrong here. How can rows delted from source can also be deleted from TARGET?
    NOTE : In the flow table SYNC_JRNL_DELETES is YES
    In moel under jounalized table tab Table have following order Table A folloed by Table B
    Thanks in advance
    Greenwich

    Sorry I still do not get it. when you say "Its a legacy app", are you talking about the VB.NET app ?
    If so then I repeat my self :-) Why not to connecting to the SQL server directly?
    * even if you need information from several databases (for example ACCESS + SQL Server), in most cases, it is much better to connect directly and get each information to the app. Then in your app you can combine the information and analyse it
    [Personal Site] [Blog] [Facebook]
    Access app is the legacy app. 

  • Link column from an interactive report to insert a row in a tabular form

    Hi, I need your help, i'm new on APEX and i really need to make a "link column" from an "interactive report" to insert a row into a "tabular form".
    I mean that when you click the "link column" instantly create a new row in the Tabular form with the information of the linked row on the interactive report. Its something like that.
    I really appreciate your help.
    Ricardo Capuz

    Hi Ricardo,
    You can use the following code as per your requirement (this is just an example),
    (In this case IR report is in Page#1 and Tabular form is in Page#2),
    On Page#1, Create a hidden item (i.e 'P1_ID')
    IR Report query as like the below,
    select empno,
    ename,
    job,
    mgr,
    hiredate,
    sal,
    comm,
    deptno,
    empno "copy"
    from empUse the below JS code in Page HTML Header section,
    function f_insert_row(pSub)
        $s('P1_ID',pSub);
        doSubmit('ADD');
    Edit  Report Attribute -> copy column -> Under Column Link
    Link Text: Select your column name (i.e. #EMPNO#)
    Target: URL
    URL: javascript:f_insert_row(#EMPNO#);
    Then create a process to insert like below,
    BEGIN
    insert into emp_test (select * from emp where empno=:P1_ID);
    END;Process condition as * Request=Expression1* in Expression1 as 'ADD'.
    At last, create a branch to Page#2, Check 'include process success message' and with the same condition as * Request=Expression1* in Expression1 as 'ADD'.
    Thanks,
    Lakshmi

  • Add row button on tabular form works from time to time

    Hi!
    we have two environments (dev & prod) with 10gR2 and APEX 3.2.1.00.12 (installed from one and only setup file)
    we have developed application on dev and moved it to prod,
    and on prod it was discovered that - from time to time (not always) -
    when you press 'add row' button on tabular form,
    tabular form does not display new record on the page,
    if number of records exceeds number of records allowed to show
    (i.e. with 10 records maximum it works fine when you add records from 1 to 10 and can't add record 11)
    but - interestingly - increases number of rows in pagination by 1
    (e.g. "rows 10-20 of 35" changes to "rows 10-20 of 36").
    on dev this tabular form works correctly.
    what is it and how to heal it?..
    I recall I had same issue in prior releases (3.0 - 3.1), is it known issue?

    It seems to be true:
    - if there is ascending order on columns which fields are null in new line (have no default value), new row is visible in current "pagination" page
    - but if there is DEScending order OR ANY sort order is set on columns which fields are NOT null in new line (have default value), new row is NOT visible in current "pagination" page
    thank you!

  • Delete Functionality in manual tabular form

    Hi everyone,
    I have created 2 tabular forms on the same page.everthing is working fine.Both the tabular form are able to insert and update.I am getting problem to implement the DELETE functionality in those tabular form.
    I inserted this code htmldb_item.checkbox(6, id) del in the region and i created a delete process.But i am getting (no data found) error.
    could anyone help me in solving this.
    thanks
    phani
    ===========================================================
    DELETE PROCESS:
    FOR i in 1..HTMLDB_APPLICATION.G_F01.count
    LOOP
    DELETE FROM (TABLE NAME)
    WHERE id = HTMLDB_APPLICATION.G_F06(i);
    END LOOP;
    =============================================================
    TABULAR FORM 1:
    REGION:
    select x.column1,
    x.column2,
    x.column3,
    x.column4,
    x.column5,
    x.del,
    x.cks
    from (
    select htmldb_item.hidden(1,column1) column1,
    htmldb_item.text(2,column2,10) column2,
    htmldb_item.text(3,column3,10) column3,
    htmldb_item.text(4,column4,10) column4,
    wwv_flow_item.date_popup(5,null,column5) column5,
    htmldb_item.checkbox(6,column1) del,
    htmldb_item.md5_checksum(column2,column3,column4,column5) cks
    from TABLENAME
    union all
    select htmldb_item.hidden(1,null) column1,
    htmldb_item.text(2,null,10) column2,
    htmldb_item.text(3,null,10) column3,
    htmldb_item.text(4,null,10) column4,
    wwv_flow_item.date_popup(5,null,null) column5,
    htmldb_item.checkbox(6,null) del,
    htmldb_item.md5_checksum(null,null,null,null) cks
    from dual) x
    ==================================================================
    PROCESS:
    declare
    l_cks wwv_flow_global.vc_arr2;
    j pls_integer := 1;
    begin
    -- Get original MD5 checksum
    select wwv_flow_item.md5(column2,column3,column4,column5) cks
    BULK COLLECT INTO
    l_cks
    from TABLE;
    -- Compare the original checksum, l_cks,
    -- with submitted checksum, htmldb_application.g_fcs.
    -- If they are different, raise an error.
    -- for i in 1..l_cks.count
    -- loop
    -- if htmldb_application.g_fcs(i) != l_cks(i) then
    -- rollback;
    -- raise_application_error(
    -- -20001,
    -- 'Current version of data in database has changed '||
    -- 'since user initiated update --process.');                      
    --return;
    -- end if;
    -- end loop;
    -- update
    for i in 1..htmldb_application.g_f01.count
    loop
    if htmldb_application.g_f01(i) is not null then
    update TABLENAME
    set column2= htmldb_application.g_f02(i),
    column3 = htmldb_application.g_f03(i),
    column4 = htmldb_application.g_f04(i),
    column5 = htmldb_application.g_f05(i)
    where column1 = htmldb_application.g_f01(i);
    else
    if htmldb_application.g_f03(i) is not null then
    insert into TABLE
    (column2,
    column3,
    column4,
    column5
    values
    (htmldb_application.g_f02(i),
    htmldb_application.g_f03(i),
    htmldb_application.g_f04(i),
    htmldb_application.g_f05(i));
    end if;
    end if;
    end loop;
    end;
    I created the other tabular form on the same page with
    htmldb_application.g_f11(i)
    htmldb_application.g_f12(i)
    htmldb_application.g_f13(i)
    htmldb_application.g_f14(i)
    used the same code.

    Have you got any response on this? I would like to know how to do it too. I am trying to implement a manual tabular form on a page and need this functionality.
    I do know one thing. After attending the ODTUG conference last week, Raj said something about you have to process check boxes and radio groups separately from the rest of the form.
    Thanks,
    Michelle

  • How can i add rows in a tabular form

    Hi,
    How can i add rows in a tabular form with out updating in database and after adding the rows one by one and after filling the data then iwant to submit them all at once.Please help me on this.
    Thanks

    Hello Leandro,
    In the Add_Rows page process, there is a box for "Number Of Rows". Change that value and you change the number of rows that get added. The default is 1.
    Don.
    You can reward this reply by marking it as either Helpful or Correct :)

  • I am unable to delete whole texts from left-swipe. i click delete and they dissappear. But then i can't send or recieve texts. i reboot phone and deleted message reappear. i've synced, backup, everything. Help!

    I am unable to delete whole texts from left-swipe. i click delete and they dissappear. But then i can't send or recieve texts. i reboot phone and deleted message reappear, but i am able to continue send/recieving texts.. i've synced, backup, everything. Help! I am doing this beacuse in my space on my phone my doucments and data are taking up 9GB of space, and i don't know why other than in my phone it says messages are taking up 8GB or so. I am running ios 7.0. I have synced my phone with itunes, backed up, reboots after deleting the texts, they never vanish, i have even restored from itunes and restored from a backup that didn't include the texts after i deleted them.

    actually better to reset your phone and reinstall the latest firmware again after that restore your back up it should be ok

  • Unable to delete an email from a Gmail account in Mail

    I am unable to delete an email from my Gmail (IMAP) account within Mail on my MacBook. I get an error message that says there are no matches with the email. It does not show in Mail on my iMac or on my Gmail account online. I have rebuilt the mailbox, but don't know any other steps to try to fix this problem.
    Does anyone know how to delete this email?
    Thanks -
    Dudley Warner

    ibosie /V.K. -
    Thanks for the suggestions. I did not find the message on my Gmail Internet account. I went into Mail Preferences, and used the Advanced tab under my Gmail account to uncheck "Enable this account". The account folders disappeared. When I restarted Mail and enabled Gmail again, the email was initially gone, but a few minutes later, reappeared. I don't know anything else left to do except delete the account and recreate it If you think of anything else, please let me know.
    Thanks -
    Dudley

  • How to delete a customization from a form - To import a managemt pack from the Authoring Tool

    I am having issues importing a management pack created in the authoring tool. How do I delete a customization from a form since only one can be present? Is there documentation on this?

    If the MP defining the first custom form doesn't contain anything else you need (such as class extensions) delete the first MP. If it contains other stuff you need, delete the form from the Authoring Tool, increase the version the by 1, seal and import.
    Then import your 2nd MP containing your new form.
    Rob Ford scsmnz.net
    Cireson www.cireson.com
    For a free SCSM 2012 Notify Analyst app click
    here

  • I am unable to delete my emails from yahoo after I have read them.  I can check an email and press delete but the email remains and I am collecting a lot.  what should I do?

    I am unable to delete my emails from yahoo after I have read them.  What should I be doing to correct this problem?

    marjoriefrommm,
    First go to mail preferences>accounts>mailbox behavior and under trash click "move deleted messages to the trash mailbox, the delete them from there.
    Also got to your Yahoo mail and check your settings there.

  • HT5731 I am unable to delete unwanted songs from my wish list. Does anybody else have this problem and/solution. Thanks

    I am unable to delete unwanted songs from my wish list. Does anybody else have this problem and/solution. Thanks

    I have the same problem, and other people have also posted about it. I assume that there is either a bug with the current version of iTunes and/or that there is a problem at Apple's end

  • Unable to Update Collection from Tabular Form

    I have built several Tabular Forms where I have updated the apex_collection with the data entered into the form. Then I loop thru the collection and update the database.
    I now Copy a working form to create a new form using data from a different table. All I am doing is changing the underly apec_collection with a different select statement and give it a new collection name. The number of columns on the tabular form are the same as the working form.
    Now I run the form and I get ORA-01403: no data found Error UNABLE to UPDATE ROWS
    It is acting like it is not finding any data from the collection. But I put in the same selection critera for the update into a report below the tabular form and I see data just fine.
    Here is the code I am using to update the collection when the SAVE button is pressed (Process on Submit before Calculations).
    begin
    for c1 in (
    select seq_id from apex_collections
    where collection_name = 'IPR_MATRIX' and c001 = :P21_FACILITY
    and c002 = :P21_DEPT
    order by seq_id) loop
    c := c+1;
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>5,p_attr_value=>wwv_flow.g_f01(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>6,p_attr_value=>wwv_flow.g_f02(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>7,p_attr_value=>wwv_flow.g_f03(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>8,p_attr_value=>wwv_flow.g_f04(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>9,p_attr_value=>wwv_flow.g_f05(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>10,p_attr_value=>wwv_flow.g_f06(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>11,p_attr_value=>wwv_flow.g_f07(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>12,p_attr_value=>wwv_flow.g_f08(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>13,p_attr_value=>wwv_flow.g_f09(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>14,p_attr_value=>wwv_flow.g_f10(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>15,p_attr_value=>wwv_flow.g_f11(c));
    apex_collection.update_member_attribute (p_collection_name=> 'IPR_MATRIX',
    p_seq=> c1.seq_id,p_attr_number =>16,p_attr_value=>wwv_flow.g_f12(c));
    end loop;
    end;
    Any Ideas what I am doing wrong?

    c is set to 0
    It looks like I may have found my problem.
    There tabular form is limited by a where clause in the report to a subset of the collection. Making the collection match the same where clause seems to have fixed my problem.
    Not clear on why that works like that but it looks like I may have it working.

  • Error when deleting from Tabular Form

    Hello,
    I have created a Tabular Form on a report based on a table in my database. I used the Wizard to create the form and included the standard 'Cancel', 'Delete' and 'Add Rows' buttons. When I try to delete rows by ticking them and then clicking 'Delete' , I get the standard explorer 'Page Cannot be Found' error with a URL of http://htmldb.oracle.com/pls/otn/wwv_flow.accept
    Any ideas what could be causing this?
    Thanks
    Simon

    Does your DELETE key have an associated After-Process-Branch? Does you page have an "unconditional" Branch. Your unconditional one should have the highest sequence number (of all your branches).
    If you have one assinged to the DELETE key, can you check to see what Page or URL is referenced withint that After-Process-Branch.

  • Unable to delete rows from remote db table

    Hi
    I am relatively new to SQL Server and this issue is strange to me.
    In my vb.net code I am opening a connection to local MS Access DB using oledb provider and then am executing below query to remote SQL Server via DBCommand.ExecuteNonQuery();
    DELETE tblStaff.* FROM Staff INNER JOIN [ODBC;Driver=SQL Server;SERVER=<remote ip>;DATABASE=dddddddd;UID=uuuuuuuu;PWD=ppppppppp].tblStaff ON Staff.[Staff ID] = tblStaff.[StaffID] WHERE Staff.[Contact Status] <> "Current"
    This however created below error in the code;
    System.AccessViolationException was unhandled
    Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    Source=System.Data
    StackTrace:
    at System.Data.Common.UnsafeNativeMethods.ICommandText.Execute(IntPtr pUnkOuter, Guid& riid, tagDBPARAMS pDBParams, IntPtr& pcRowsAffected, Object& ppRowset)
    at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
    at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
    at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
    at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
    at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
    During testing I noticed that if I create the relevant table tblStaff in another database on the same remote SQL Server then it works fine, so it appeared to me there is some issue with the original backend db or the table.
    The relevant table tblStaff is related to several tables in the database. I assumed that relations may be an issue so I set the relations to cascade delete even though none of the tables contains any data at this point. This did not work. I then went into
    database diagram, added all the tables and then deleted all relations of the tblStaff table. This did not work either. I then used 'Script Table as..->CREATE to' to script the tblStaff in Management Studio, deleted original tblStaff and ran the create script
    above to recreate the tblStaff table. This worked.
    What is the problem here and why doesn't the table accept delete query in its original form? I appreciate it’s the .net code that creates the error but as the error seems to be related to the backend SQL Server db therefore I have posted it here in case
    someone can help with this.
    Thanks
    Regards

    Sorry I still do not get it. when you say "Its a legacy app", are you talking about the VB.NET app ?
    If so then I repeat my self :-) Why not to connecting to the SQL server directly?
    * even if you need information from several databases (for example ACCESS + SQL Server), in most cases, it is much better to connect directly and get each information to the app. Then in your app you can combine the information and analyse it
    [Personal Site] [Blog] [Facebook]
    Access app is the legacy app. 

Maybe you are looking for

  • Delete emails from iPhone but NOT server ?

    Hi all, I have just upgraded to a iPhone 5C from a 4S. On my 4s, when i deleted my emails from the Mail app, it kept them unread on my computer/ipad. With my 5c, it deletes them from the server when deleting on the phone. How do I have it so when I d

  • Mac Plus CD-ROM question

    Hi, my Mac Plus has an external (of course ^_^) SCSI CD-ROM device, model M2850G. I want to use to transfer some document from my PC. But, I was able to read some old CD-ROM created on PC, but not all, expecially the more recent CDs I've burnt on my

  • LR 1.3.1 crashes when catalog goes offline

    Ok, this might be a rare occurrence - most won't ever see it - but when my 18 month old turns off my power strip before I catch him playing with it and my external hard drive goes down (the one with my catalog and photos on it) and LR is open (which

  • Handling Audio streams accross a network

    Hi, I have written a Computer Telephony Interface package for a SIP based PBX system and I'm currently exploring the possibility of turning it into a fully functional SIP softphone. The program has a basic SIP stack which I have extended to include t

  • I need adobe flash player on my iPhone

    Does anyone know what's like adobe flash player that I can get on my phone , since apple blocked adobe