Error update of two reports on the same page! Could you please have a look?

Hey guys!

I have the following situation:

two updated reports on a single page with ID "DATE_REPORT" and "WORK_REPORT".
two processes of pl/sql on submit after named 'SUBMIT_DATE' and 'SUBMIT_WORK' c...
two buttons named 'SAVE_DATE' and 'SAVE_WORK '.
Finally, the process of the insert and update are conditioned to a request = 1 where for the "DATE_REPORT" Expression, it is set to 'SAVE_DATE' and 'WORK_REPORT', it's logically on 'SAVE_WORK '. There is no condition extra button.

My problem: I press any button, the table is accumulation in the columns of the first report and continues to add lines of the second report.

For example: "DATE_REPORT" has 11 lines and "WORK_REPORT" has 9 lines. In debug mode, I see that the picture is piling using the 'DATE_REPORT' although 'SAVE_WORK' has been accepted as a demand. The same problem vice versa for the other update.
......column CNT_ARBEIT_CRIT_DATE mapped to WWV_Flow.g_f02
......column LNG_ARBEITSSCHRITT mapped to WWV_Flow.g_f03
......column STR_ARBEITSSCHRITT not mapped - not stateful.
......column DATE_GP_X_START mapped to WWV_Flow.g_f04
......column DATE_GP_X_END mapped to WWV_Flow.g_f05
......column DATE_R_X_START mapped to WWV_Flow.g_f06
......column DATE_R_X_END mapped to WWV_Flow.g_f07
......column LNG_GEBIET mapped to WWV_Flow.g_f08
......column CS not mapped - not stateful.
...array has 20 row(s). Used f08 to count.

Validate report columns(ApexLib_TabForm.validateColumns)
Row 12 has checksum error. ORA-01403: no data found ORA-01403: no data found ORA-01403: no data found
...Row 12
...LNG_ARBEITSSCHRITT
...CNT_ARBEIT_CRIT_DATE
......is not required
...LNG_GEBIET
......is not required
...DATE_GP_X_START
......is not required
...DATE_GP_X_END
......is not required
...DATE_R_X_START
......is not required
...DATE_R_X_END
0.00: A C C E P T: Request="SAVE_WORK"
How can I make sure that the tables are made from the reports which are the subject of the update?

Thank you very much for reading this post and give help if you have an idea!

Kind regards

SEB

Published by: skahlert on 13.03.2010 10:57

Hi Sebastian,.

what you want to achieve is indicative of the browser not to send the region A fields when you want to commit region B.

You have several options:

(1) do not make the region all the (conditions of the region)
(2) send any content and to ignore the lines of region A in your area of PL/SQL
(3) the region has to withdraw before submitting the page (for example with jQuery: jQuery("#__).remove())

But maybe you should start by rethinking your application, do you really want 2 different TabForms on a single page.

Peter

+ Blog: http://www.oracle-and-apex.com+

Tags: Database

Similar Questions

  • two reports in the same section

    Hi all

    I would like two have 2 different reports in the same section, one close to the other (no cushion).
    The dashboard page should look like

    Section1
    ---------------------/
    command prompt
    ----------------------/
    Report1. Report2
    ----------------------/

    is there a way to make this cause I could only add sections vertically and horizontally (not able to put one report next to each other in the same section)?

    Concerning

    Add two reports to the same section and click on the 'Properties' button on the section header. Check "Organizing horizontally" and the two reports will be displayed next.

  • How to do a partial update of a form and a report on the same page?

    Hi all

    Im trying to make a page where you have a report on the top, and when you click on the link instead go to the form page, the form on the page is on the bottom of the report. Let's say that im trying to send an id from the report to the item below so that I could go get the rest of the element. However when I pass, other elements would still refer to it as null.

    If I am not wrong it could be done with the quote, but I want it to be partial refresh...

    I tried the steps detailed here, but it didn't work when the lower part is an also a report:

    https://forums.Oracle.com/thread/2345863

    I also tried, but this actually submits a page...

    Base Oracle: Tutorial Apex - form & amp; Report shares the same page

    would it not possible to get a form and a report in a partial refresh page?

    Post edited by: T101_cyberdyne

    Hello

    Do you mean something like this:

    http://Apex.Oracle.com/pls/Apex/f?p=vincentdeelen:26:26

    If so, you must create a dynamic action with a javascript action to set the id of the report line in the form of code field and further action from pl/sql to retrieve the record based on the identification number. You can use this record to set the shape of other items in the field.

    For the example in the link above, the code is as follows.

    action of javascript:

    var empno = $(this.triggeringElement).find('td[headers="EMPNO"]').text)

    $s ('P26_EMPNO', empno)

    action of PL/SQL:

    declare

    cursor c_emp is

    Select * from EMP

    where empno =: p26_EMPNO;

    BEGIN

    for r_emp looping c_emp

    APEX_UTIL. SET_SESSION_STATE ('P26_ENAME', r_emp.ename);

    APEX_UTIL. SET_SESSION_STATE ('P26_JOB', r_emp.job);

    APEX_UTIL. SET_SESSION_STATE ('P26_MGR', r_emp.mgr);

    APEX_UTIL. SET_SESSION_STATE ('P26_HIREDATE', to_char (r_emp. HireDate, 'dd-mon-yyyy'));

    APEX_UTIL. SET_SESSION_STATE ('P26_SAL', r_emp. SAL);

    APEX_UTIL. SET_SESSION_STATE ('P26_COMM', r_emp.comm);

    APEX_UTIL. SET_SESSION_STATE ('P26_DEPTNO', r_emp. DEPTNO);

    APEX_UTIL. SET_SESSION_STATE ('P26_ORDNO', r_emp.ordno);

    end loop;

    END;

    Make sure you list the item id in the field "Page of Items to submit" and ALL your form elements in the field "Page of Items of return" as follows:

    http://www.vincentdeelen.com/images/OTN/plsql_action.PNG

    A screenshot of the configuration of dynamic action:

    http://www.vincentdeelen.com/images/OTN/dynamic_action.PNG

    Kind regards

    Vincent

  • A report on the current record of another report on the same page of filtering

    Hello

    I have a report on the same page and form in an APEX application. The interactive report is used for sorting/filtering etc. and the form is used to present the data for one record at a time, but also to allow updates in the selected fields. This was done using the wizards, little 'edit' is click on the button to change the shape of the selected record.

    I also have (or want to have) a second non-interactive report on the page, which contains some records according to the record of the main report that is currently selected and appearing in the form.

    I tried to make a simple 'SELECT fields WHERE the link field is equal to the main report', but he doesn't always says no data found.

    Basically, I need to be able to have a query for the second report which says "SELECT those fields WHERE the site is equal to the site displayed in the form.

    A click on the button 'Edit' of small pencil/paper on a report, this set some ActiveRow or something like that I can use to filter the second report?

    As you can tell from this post, I'm in my childhood skills database and any literature/advice on how to do this (outside MS ACCESS...) would be appreciated.

    Hello

    What is your version of the Apex?
    You define a column as to be the link.

    Do you mean something like this?
    https://Apex.Oracle.com/pls/Apex/f?p=40323:71
    If you click on the deptno column, it refreshes DEPT report.

    Kind regards
    Jari

  • How can I open now two copies of the same page

    As a shortcut to business I cut and paste a copy of one web page to another copy. The new feature does not allow two copies of the same page. Is there a way to force the two copies?

    • Press the SHIFT key while an entry in the drop-down list is highlighted to disable 'Switch to the tab' and see the URL.
    • Use the right arrow to select an element marked as switch to tab in the menu drop-down and copy the URL in the address bar.
    • Open the URL in a new tab using Alt + Enter on the highlighted entry.
    • Open the URL in the current tab by using shift + enter on the highlighted entry.
  • Form and report on the same page...

    Hello

    I want to have a form and report on the same page... as soon as the user enters the information and send the form via the button then the report should be able to display adding...

    can I know how to do this...

    Thanks in advance

    Hello

    Its simple...

    01. firstly create a page with a region to allow the user to insert records.
    02. it's over then add another region and choose 'Report' and region type and generate a report to show the details of the table above

    Thank you

  • Hi, I am told by a website mFirefox is out of date so I can't get all the features. I continue to download an update, but it continues still to be. Could you please help me. Thank you.

    Hi, I am told by a website mFirefox is out of date so I can't get all the features. I continue to download an update, but it continues still to be. Could you please help me. Thank you.

    Download the latest version of Firefox to:

    Uninstalling Firefox

    Install Firefox on Windows

    Check and tell if its working.

  • Two redirects to the same page?

    DW CS3 - ASP

    Through a former (but excellent) training DVD to create registration forms Insert/Update/Delete using DW & ASP.

    Two forms are created on the same page - a record of update and delete record.  Update works, but delete creates an error:

    Microsoft VBScript error "800 a 0411" compilation

    Name redefined

    /mysitename/myFolder/admin_edit.asp line 95

    Dim MM_editRedirectUrl

    This error is apparently due to the different redirect for each form URL:

    ' add the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "admin_edit.asp".
    If (Request.QueryString <>"") then
    If (InStr (1, MM_editRedirectUrl, "?", vbTextCompare in) = 0) then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
    On the other
    MM_editRedirectUrl = MM_editRedirectUrl & "" & Request.QueryString
    End If
    End If
    Response.Redirect (MM_editRedirectUrl)
    End If
    End If
    % >

    ' add the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "admin_home.asp".
    If (Request.QueryString <>"") then
    If (InStr (1, MM_editRedirectUrl, "?", vbTextCompare in) = 0) then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
    On the other
    MM_editRedirectUrl = MM_editRedirectUrl & "" & Request.QueryString
    End If
    End If
    Response.Redirect (MM_editRedirectUrl)
    End If

    End If
    % >

    I read that rename the second MM_editRedirectUrl Sun of Sun MM_editRedirectUrl_2 will make things work properly and he DID!  However, does make for an unstable environment; and if yes, what is the best approach to resolve this?

    OK, that makes sense. The problem stands and the original solution. Loading edit/detail page he sees scripts and variables of these two behaviors, and that the same variable name is used in both cases. So to change the names of variables in one or the other behaviors will work and will not cause any instability.

  • Two tabs of the same page

    Hello
    I have spent all morning trying to find a solution to this problem, but have not found by myself or the analysis of forum posts.

    I am building an application with a level tab two for navigation.
    It's all right as long as the pages referenced by the tabs contain a different number.

    My problem is that I use the same page dynamic (say 40) to be used via two different tabs.
    for example Parent tab is labeled "Parent".
    Two other tabs are created related to parent tab 'Parent' and those labeled "Action1" and Action2.
    By selecting "Action1" will result in return of the 40 with a parameter page (say page_type) is set to 1.
    By selecting "Action2" will result in rendering the * same * page 40 with a parameter (say page_type) has a value of 2.

    For the parent tab 'Parent' say that the default is to select "Action1".

    Is there a solution to implement this kind of behavior?
    I tried to create redirect pages (empty page and one branch) to achieve, but I always get stuck trying to have page 40 display the appropriate tabs and tab parent.
    Thanks in advance for any help.
    Daniel

    Hi Daniel,.

    First of all, don't worry about your English - it's better that my French (in fact I didn't even know you were not English until I checked your profile!)

    Second, there may be a way to manage the definition of value. As long as your instructions of doSubmit() problem tabs, which sets a REQUEST , then it can be captured - see: Re: trying to find my tabs in my browser sql tree as a result, you should be able to put any value you like. I did have the chance to set up an example of this, but I hope, that should give you an idea of what can be done.

    You will always have the issue of not being able to click on each tab, once you have clicked on one of them - but I guess that the user is not likely to do it anyway?

    Andy

  • Two forms on the same Page

    Hey everybody,

    I have a page on which there are two forms to two different tables.

    The problem I'm having is when I try and create an entry in one of the forms and click on the button create that APEX is trying to enter the information of these two forms.

    What I want is the user to be able to enter the information one shape at a time, like a pose after you have entered the information about the two forms at the same time.

    Can someone point me in the rite direction?

    Thanks in advance,
    -N.S.N.O.

    In the 'Edit Page' page process go to the section 'Conditions '.
    You will see a drop-down list named "when button (process after submit when this button is pressed). In this list click the button so that the process is to fire.

    CITY

  • Possible to design two reports at the same time?

    Hello!

    Is it possible to have an analysis OBIEE/dashboard open in a browser window and to design a second report in another browser window? I tried, but when recording I got an error XML encrypted, even though it may quite foreign. After all, I am a first year student OBIEE.

    Hi Larry,

    The answer is Yes, you can do it.
    It is best to use the Mozilla browser instead of internet Explorer to access the answers.

  • How to have two Interactive reports on the same page.

    Hello
    I have a requirement where I need to have two interactive reports in a page where the user can select lines in the two reports by a line selector & send the page to the transformation.

    Please let me know is direct or workaround for this problem at the APEX 3.1.

    Thanks in advance.

    Hello

    Apex do not support having more than one IR on the page.
    See this post for circumvention of blob Roels
    http://roelhartman.blogspot.com/2009/03/two-interactive-reports-on-one-page.html

    Kind regards
    Jari

  • Select the line of the classic report to pass the value to another classic report on the same page

    Hello

    First a few details about the environment - I use the image of the last download oracle VM developer days to oracle.com. This includes DB version 12.1.0.2 and version 4.2.5.00.08 Apex. For the question although I don't know the specifics of the versions that are relevant.

    What I want to do an apex page which includes an analytical section at the top, followed by a section of retail slot - a line is selected / highlighted at the top which causes the relevant lines in this summary line is displayed. Its screen basically a master-detail - however the source of these two sets of data is just a query - is not a table.

    The query at the top of the page is something like

    Select * summary

    and the section below is

    Select * from details where id = (the value of the id clicked in the summary above)

    This feels like it should be really easy (and indeed, it is for the tables through the apex of master-detail Wizard) - but I can't understand when the two sets of data are the result of queries.

    I can't seem to make reference to the elements of the page when it comes to a report and I think that I might need to go down a kind of dynamic route of actions and jquery, but I don't get very far very fast. I found some notes that seem similar, but nothing which does exactly what I want. The function APEX_APPLICATION to browse a table also doesn't seem to be possible for the output report that I could see (tags are not there) - what is relevant for the forms?

    I hope that I have explained that quite simply.

    Can anyone help?

    See you soon,.

    Rich

    You link column can be just a null value in the sql code, if you want. Change the column and head down to the link attributes.

    Text link: "Click me" (source of sql using #MY_COL columns or #)

    Target: URL

    URL: javascript: $s ('P1_ITEM', #ID);

    Then have onChange dynamic action on P1_ITEM which updates the State. Do not forget to present the value of session state (either property right under the sql or pl/sql prior to update action report). The database needs to know the value of browser before running the query.

  • Several interactive reports on the same Page (re example of Jari)

    Hello-

    I'm [referring to the example of Jari | http://apex.oracle.com/pls/otn/f?p=41715:23]

    It is really great, but I have a few questions...

    I would like to solve these two first.

    1. my Developer toolbar (which is the name? for the links at the bottom of the page?) are winding up in the i-Frame of order details, rather than at the bottom of the actual page... no way to avoid this?

    2. the instructions in step 4 wrote:
    -Empty the Cache: 24, IRB (clears the cache of the IR on Page 24)

    I understand where and how set him clear the cache of page 24.
    I don't understand what is IRB.



    Thank you-
    Marion

    Marion

    Ok. I undid the changes I had made earlier.
    I now put the link in the column of the parent report as
    IR_WRAP_SALE_ID-#WRAP_SALE_ID #.

    and specified that the cache clean for the comprehensive report in page 2.

    CITY

  • two region on the same page of repetition

    Hello, I need to display a repeat region of the recordset in two places inside the page as on the top and the bottom.

    What is the best way to do it? I need to create two recordset?

    I have now added to the Dreamweaver FAQ and created a short article about it here: http://kb2.adobe.com/community/publishing/528/cpsid_52877.html.

Maybe you are looking for