Can't delete row in updateable detail report in apex 4.0

i build a master detail form.i insert record in master form and in detail updatable report. but when i delete record in the updatable report then message display 1 record delete but the record is still display in the updatable detail report.

I request you not to keep starting new threads for the same problems while igonoring the earlier ones.
If your question is not answered keep progressing the same thread.
Your earlier thread on this subject, in case you have forgotten ti , is can't delete record in detail updateable report in apex
Regards,
Just in case you have not noticed this already , you can set your posts as "watched" automatically. heres how:
1. Go to your Control Panel
2. Click on "Your Settings"
3. Set the two Radio button for wathc to Yes and save.
Next time when you login you will be able to see your Watches on your Control Panel and in the main forum Thread List they will appear with binocular icon.
Regads,
Edited by: Prabodh on Aug 23, 2010 3:58 PM

Similar Messages

  • Can we adjust ROW height in ALV report as like of Excel ?

    Dear all,
    Can we adjust ROW height in ALV report as like of Excel sheet ?
    Can we increase/decrease the row height in the output display ?
    How ?

    kps204020 wrote:
    Thanks a lot for your response.
    I've tried your proposal, but it has no affect. The report cells show all their content using as much lines as necessary for this.This is the default behaviour for HTML table data (tables and cells expand to fit their content).
    So I still have rows with lots of lines and rows with only a few lines mixed in my IR dependant on the cell content. Because some rows filling nearly the whole screen, it is difficult to get an overview with regard to adjacent rows.
    I'm using Application Express 4.1.1.00.23. with Theme 21. Scarlet and Firefox 17.0.1.Are all users using Firefox?
    Actually I'm working on my first APEX Solution for usage in my company and the customers demanding a solution for this topic . So I'm very keen to find a solution.
    I'm very much looking forward to your response.I've been involved with similar issues in the past. My first response is simple: Does this data have to be shown in the report? Can the offending column(s) be removed from the primary report? They will still be visible in the single row view, and the detail view if there is one.
    The second option is to create a detail view for the report with a structure that is better suited to the data involved, and make this the default view. (For an example of this, see the treatment of the PRODUCT_DESCRIPTION column in the detail view of the Products report in the Sample Database Application: click on the View Detail button on the Products page.)
    The third possibility is some kind of customization of the presentation of the data. This will involve using some combination of HTML/CSS/Dynamic Actions/Plug-ins/JavaScript that you may not be familiar with: do you have experience of these? To go down that route you need to describe in detail how you want to present the data, or what behaviour is required when the data is too long, and share an example of the report on apex.oracle.com that we can work with.

  • Automatically delete row data on interactive report

    Hi All,
    I would like to know it's possible to automatically delete row data on interactive report when the check box is checked.
    I'm appreciating if you all can share your opinion or solution.
    Thanks a lot in advance!
    Best regards,
    Liz

    Hi,
    Why you like have checkbox ?
    Is it more clear for user have image/button like my example ?
    This is just example you need modify according your needs. Example do not have confirmation dialog.
    Page HTML header
    <script>
    function delIRRow(p_pk_val){
    var a = new htmldb_Get(null,null,'APPLICATION_PROCESS=DELETE_ROW');
    a.addParam('x01',p_pk_val);
    var r=a.get();
    if(!r=='1'){alert('Delete operation failed!');}else{gReport.search('SEARCH');}
    </script>On Demand process DELETE_ROW
    BEGIN
    delete from your_table where pk_col = APEX_APPLICATION.G_x01;
    htp.p('1');
    EXCEPTION WHEN OTHERS THEN
    htp.p('0');
    END;Change your_table and pk_col according your table name and pk column name.
    Call javascript from image/button (IR column link) or checkbox, and send primary key value as parametter
    Br,Jari
    Edited by: jarola on Jul 5, 2010 11:58 AM

  • In Apex How to access Updateable detail report field.

    I am using Apex 4.0. i want to to access Updateable detail report field for example
    my updateable detail report one field is that srno
    i assign sr no as primary key.
    when i build master detail form then i want to add increment automatically through custom pl/sql source.
    but problem is that i don't know how to access Updateable detail report field.
    thanks
    Regards
    NOMAN RASHAD

    In your SQL:
    SELECT ename, job, your_function(sal, comm) your_calculation
       FROM empDenes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Can't delete row

    Hi,
    i am trying to implement page 664 of dev guide which is delete row of table.
    My page shows the data of one row.
    I added a delete submitbutton to my page.
    Here is my code :
    int idi = Integer.parseInt(id.toString());
    XxVOImpl vo = getXxVO1();
    XxVORowImpl row = null;
    int fetchedRowCount = vo.getFetchedRowCount();
    boolean rowFound = false;
    RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
    if (fetchedRowCount > 0)
    deleteIter.setRangeStart(0);
    deleteIter.setRangeSize(fetchedRowCount);
    for (int i = 0; i < fetchedRowCount; i++)
    row = (XxVORowImpl)deleteIter.getRowAtRangeIndex(i);
    oracle.jbo.domain.Number primaryKey = row.getId();
    if (primaryKey.compareTo(idi) == 0)
    row.remove();
    rowFound = true;
    getTransaction().commit();
    break;
    deleteIter.closeRowSetIterator();
    my problem is that fetchedRowCount is 0. But there are about 100 rows in my table.
    And my VO is just a simple select * from mytable.
    So i do not understand why fetchedRowCount is still 0 ?
    Help thanks
    Dan

    Dan
    You need to create a dialog page with yes no button when you click on delete icon. Please refer dev guide for dialog page or you ma refer below code snippet that you may need to change little bit
       else if ("delete".equals(pageContext.getParameter(EVENT_PARAM)))
    // The user has clicked a "Delete" icon so we want to display a "Warning"
    // dialog asking if she really wants to delete the employee. Note that we
    // configure the dialog so that pressing the "Yes" button submits to
    // this page so we can handle the action in this processFormRequest( ) method.
    String employeeNumber = pageContext.getParameter("empNum");
    String employeeName = pageContext.getParameter("empName");
    MessageToken[] tokens = { new MessageToken("EMP_NAME", employeeName)};
    OAException mainMessage = new OAException("AK",
    "FWK_TBX_T_EMP_DELETE_WARN", tokens);
    // Note that even though we're going to make our Yes/No buttons submit a
    // form, we still need some non-null value in the constructor's Yes/No
    // URL parameters for the buttons to render, so we just pass empty
    // Strings for this.
    OADialogPage dialogPage = new OADialogPage(OAException.WARNING,
    mainMessage, null, "", "");
    // Always use Message Dictionary for any Strings you want to display.
    String yes = pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
    String no = pageContext.getMessage("AK", "FWK_TBX_T_NO", null);
    // We set this value so the code that handles this button press is
    // descriptive.
    dialogPage.setOkButtonItemName("DeleteYesButton");
    // The following configures the Yes/No buttons to be submit buttons,
    // and makes sure that we handle the form submit in the originating
    // page (the "Employee" summary) so we can handle the "Yes"
    // button selection in this controller.
    dialogPage.setOkButtonToPost(true);
    dialogPage.setNoButtonToPost(true);
    dialogPage.setPostToCallingPage(true);
    // Now set our Yes/No labels instead of the default OK/Cancel.
    dialogPage.setOkButtonLabel(yes);
    dialogPage.setNoButtonLabel(no);
    // We need to keep hold of the employeeNumber, and the OADialogPage gives us a
    // convenient means of doing this. Note that the use of the Hashtable is
    // really more appropriate for passing multiple parameters, but we've used
    // it here for illustration purposes. See the OADialogPage javadoc for an
    // alternative when dealing with a single parameter.
    java.util.Hashtable formParams = new java.util.Hashtable(1);
    formParams.put("empNum", employeeNumber);
    formParams.put("empName", employeeName);
    dialogPage.setFormParameters(formParams);
    pageContext.redirectToDialogPage(dialogPage);
    else if (pageContext.getParameter("DeleteYesButton") != null)
    // User has confirmed that she wants to delete this employee.
    // Invoke a method on the AM to set the current row in the VO and
    // call remove() on this row.
    String employeeNumber = pageContext.getParameter("empNum");
    String employeeName = pageContext.getParameter("empName");
    Serializable[] parameters = { employeeNumber };
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("deleteEmployee", parameters);
    // Now, redisplay the page with a confirmation message at the top. Note
    // that the deleteEmployee() method in the AM commits, and our code
    // won't get this far if any exceptions are thrown.
    MessageToken[] tokens = { new MessageToken("EMP_NAME", employeeName) };
    OAException message = new OAException("AK",
    "FWK_TBX_T_EMP_DELETE_CONFIRM", tokens, OAException.CONFIRMATION, null);
    pageContext.putDialogMessage(message);
    }Thanks
    AJ

  • HT201303 How can we delete our credit card details and also why can we not download free apps or by apps with credit from an i store card that has been redeemed????

    How can I delete credit cards details from my iPad Air and why cant I use credit from a i store card that has been redeeme?

    To remove the card's details from your iTunes account, tap on your id in Settings > iTunes & App Store and then tap on 'View Apple ID' on the popup and log into your account  - on your account's page there should be a payments link. Or you can do it via your computer's iTunes : go into the Store > View Account menu option and log into your account, and on your account's details click on the payment details link.
    Changing payment info : Change or remove your payment information from your iTunes Store account (Apple ID) - Apple Support
    If you don't get the 'none' option on the payment details screen : Why can’t I select None when I edit my Apple ID payment information? - Apple Support
    What happens when you try to buy something ? If you are trying to gift content then you will need to have a credit card on your account, your balance can't be used for gifting ; if you are trying to buy for yourself and you have a credit card on your account then its details need to be correct and complete - but your balance should be charged for the purchase.

  • How to call function in updateable detail report field in apex 4.0

    i build a function which calculate the total price of the product by multiply qty* rate
    and i build a master detail form i want in the updatable detail report when i give the qty and rate then i call the culculation function and display the result in the field of price. but i don't know where i call the calculation function please help me
    Regards
    NOMAN RASHAD

    In your SQL:
    SELECT ename, job, your_function(sal, comm) your_calculation
       FROM empDenes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Cannot delete record in master detail form in apex 4.0.1

    Dear all,
    I've created a master detail form in apex 4.0.1. Inserting and updating records is working. But when i want to delete a detail or master record, nothing is happening. The delete button is just not working.
    Can someone please tell me if this is a bug, and if so, is there a work around to solve this problem?
    Thanks,
    Diana

    Hi,
    Am I the only one having this problem?
    Thanks,
    Diana

  • How can I delete/add Columns in my Report?

    Hi everybody,
    i´ve just a silly little question...
    We´re using APEX to revise our Daily Reject-Rows and some other Dimensiontables.
    For every Table, witch is to revise we´ve got a single Page in our APEX Application.
    Also, in every Page we created a Report for our users,
    so that they can revise the Data,
    and published it in our intranet, using a Webserver.
    Now my Question...
    In one of these Pages we´ve more then 110 columns in the sql Region Source,
    placed in the Region Definition.
    But...in the Report Attributes, there are only shown 99 Columns.
    I must integrate 3 or 4 more Columns from my Source Definitioned Table in the Report.
    Where can i do this?
    I only see how i can edit the columns, make them visible or hide them,
    define their Propertys...but where can i add a new Column?
    or delete one?
    I´m very thankfull for every Awnswer :-)
    Best Regards
    LoneWolf

    Ok, i found a Solution...
    It seems to be a BUG. (?)
    The Report Attributes will be realy generated automaticly
    under using the Source Definition, but...
    - There´s a Restriction in the Sum of all Columns,
    it can be only 99 witch will be able to define and revise.
    - If you´ver got more then 99 Columns in your Source
    you have to specified them exactly, by Name
    ...AND...
    - you have to create the Source SQL new.
    It is not sufficiently if you change the Position of the Columns in the SQL Source (placed at the Region Definition).
    I copied and pasted the Source SQL three Times,
    before APEX accept the changes of the Position from the Columns.
    At least...
    In the Moment as i define the needed Column,
    (now in the Report Attribute available),
    APEX understands it an i can put the others Columns (Columns 99 till 110) back in the Source SQL, without loosing my needed Column in my Report again.

  • How can I delete rows in a table from the bottom?

    I have table that I add rows to and I want to remove rows starting with the last row. For example if I have a table with 20 rows how do I remove rows 16-20. I can't figure out how to do this.

    The following script would/should/might delete the last 4 rows of a subform named 'itemsSub' : (or actually deletes the last row 4 times hopefully!)
    for (var f = 0; f<4; f++)
    _itemsSub.removeInstance(itemsSub.all.length - 1);

  • How can print blank rows for XML output report..

    Hi all,
    I am working in XML output PO fix format report and in that report there is 3 sections. (1) Header section(2)Line section (3) Footer section. My requirement is like this, header and footer section print in all pages and line section break for next page after printing fix 15 lines in a page. And if any page has less then 15 lines then it generate remaining blank row to maintain footer position.
    Please suggest me, how can i generate blank rows and break lines for page if there is more then 15 rows in Line section.
    Thanks in Advance!

    Hi,
    <?for-each:ROW?>
    <?end for-each?><xsl:variable name="cnt" select="count(//row|//ROW)" />
    <?for-each:xdoxslt:foreach_number($_XDOCTX,1,15-count(ROW),1)?> <?end if?>
    this will create 15 lines irrespective of you have that much rows of data in xml or not
    if you want more help , drop me mail @ [email protected]

  • Can't delete a page in my report that is empty

    Hi, I am finished with a report. i saved this report on my desktop. When I opened it this morning I realized that I had a blank page. I went to view on my toolbar,
    and pressed thumbnails and the report came up , but would not allow me to delete the the one specific page

    Sometime I just click and drag over the entire blank page...it brings us unseen formatting...the click delete.  Presto, the page disappears.  Sometimes

  • HT1918 I can't delete my credit card details - payment type "none" not available ?

    Followed instructions to change credit card details to"none" but prompt for "None" is not visible / available....

    I just tested.  It's there:

  • How to create Updateable Interactive report in APEX 3.2.1.00.11

    I have an interactive report and am asked to add few more user defined columns, some of them should be free text input box type and couple of others are dropdown list (with Y/N options). I can do that if that was just a SQL report but with interactive report, I am not much aware of if it can be done. I know a way to work around this though - like create a link to direct to a new form page and update there but that is not what I wanted. I need to have those columns in the interactive report itself and should be updateable as well. Is this possible?
    Oracle DB 11g
    Oracle APEX 3.2.1.00.11
    Thanks,
    Sam

    Hi,
    This might help
    http://dbswh.webhop.net/htmldb/f?p=BLOG:READ:0::::ARTICLE:137800346674748
    I hope this do not come too late
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Can i go straight to single row view of a report?

    When I click on a link I would like to be able to go directly to a single row view on an interactive report - not to just select that row on the normal view. Anyone know how to do this?

    Hi,
    Actually you can go single row view of interactive report on page load.
    http://apex.oracle.com/pls/otn/f?p=40323:48
    And it is easy to do with dynamic action.
    I did create Advanced dynamic action
    Event "Page load"
    Action "Execute javascript code"
    Code gReport.controls.row('7369')-- this varies on your report . Just example for EMP table
    Selection type "Region" and I did select region where is my IR
    Instead hardcode primary key value to javascript, you can probably use item like
    gReport.controls.row('&Px_MY_ITEM_FOR_PK')I can post how it can be done in Apex 3.2 if needed.
    Br,Jari
    Edited by: jarola on Jul 28, 2010 5:43 PM
    Edited by: jarola on Jul 28, 2010 6:03 PM
    typo corrected

Maybe you are looking for

  • I want to execute [b]some shell [/b]commands in a java program

    Hello, I would like to know if it's possible to execute some unix commands in the same "environment"... I mean, if I use the exec() function to execute the "cd /tmp" command, and after that, if I want to do "ls" , I'm not in the "/tmp" directory, kno

  • AppleCare for iPod Question

    Hi, last month my on/off button of my iPod touch just broke. So I take it to Apple store and they gave me a new one. The question is . . . If I buy an applecare for ipod, which serial number should I apply with? The old one? or a new one?

  • SQL scipt - errors

    Hello ! I'm not sql expert. I have one subject about databases and oracle sql. I would like to create a database but oracle sql showed me these errors ... this is my sql scripts ... Created 15.5.2009 Modified 1.7.2009 Project Model Company Author Ver

  • Flash button link?

    I am also new to Flash. I made a Flash button (in Flash 8u) that I put on my Dreamweaver created web page. I can export it to Dreamweaver, but I am definitely missing something. It is probably quite simple, but I can't get the button to link to anoth

  • Gnome login returns to login screen

    I just installed the Jan 08 build of Solaris Express Developer Edition into a 64 bit VM on OSX using VMware Fusion. The install seemed to go fine and I can boot the VM. I am able to log into the CDE just fine. However... if I try to log into Gnome, t