Process of PL/SQL error, the display of msg in the same page?

Hello

I have a process of PL/SQL. When the process completes successfully and the branch. After the treatment. Action points to the same page and with "include the success of process message" enabled, the success message is displayed on the same page. When I error in the page, a new page appears with the error and a link for the user to return to the Application (ie the previous page). Is it possible in this case error, or when I use RAISE_APPLICATION_ERROR error message displayed on the same page as a page of success?

TIA

Published by: Ms on 10 Δεκ 2009 07:51 πμ

TIA,

See the analysis of Re: update of a collection should error wire. It will provide the info you are looking for :-), I hope it

See you soon,.
Hari

Tags: Database

Similar Questions

  • Delete and stay on the same page!

    Hi guys,.


    As we detail in the following image:

    http://www.9M.com/upfiles/PlT97853.PNG

    I have a report and a form on the same page. When press on delete I want to remove the checked boxes and refresh 'DOWNLOAD' region, or stay on the same page.

    NOTE: 'Action' button Delete is - submit page.

    I hope my question is clear and look forward for assistance.

    Thanks in advance,
    Fateh

    Hello

    Can you please create a branch under after instruction processing, you can see the same page itself. So, after the removal of the process, it will come to the same page.

    Hope this could help you.

    Thank you & best regards
    Srikkanth.M

  • Check boxes are displayed incorrectly < input type = "checkbox", "checked" > in 4.0.1 when they are fine for the same page in 3.6.17

    Check boxes are not displayed properly checked < input type = "checkbox", "checked" > in 4.0.1 when they are fine for the same page in 3.6.17

    Maybe you can try to use controlled instead of "checked".

  • display 2 lov on the same page?

    Table:employee
    
    ID      Name      Status
    1     emp     active
    2     emp2     active
    3     emp3     terminated
    4     emp4     terminated
    ....
    I can: on the proposed transfer screen, when the employee leaves the company, the LOV will not show LOV resigned employee used: select name d, r id emp1oyee where superior (status) = 'ACTIVE' order by 1

    do not know how: need to show the name employees resigned using the report link. The report link is back to the same page that created the assignment. How I accompolish cela by displaying the laid off employee name not the ID?

    Ex: p10 (shape) has the lov with active employees. P11 has a report of all project assignments. When I jump from the link provided in p11 P10, the recovery must display the name of the (unidentified) employee the same topic is complete.

    I use APEX V4. Can you help me? Thank you.

    Munshar

    Munshar,

    Ah, I've got get it now.

    My thought would be to change your LOV code to something in the sense of the following:

    select name||' ('||status||')' d, id r
    from employees
    where id = :P10_ID
      and upper(status) <> 'ACTIVE'
    union all
    select name d, id r
    from employee
    where upper(status) = 'ACTIVE'
    

    This should give you what you are looking for.

    -David

  • Link on the sidebar that will display the results in the middle of the same page column

    It's me again...

    The idea is to keep viewers on the same page.  I want to have the links in the left sidebar when you click will bring information and photos in the stratification of the middle column which is originally in the middle column.  It's kind of like swap image (which I work with a large number), but it would not be a case of glide mouse.

    Thanks for your help,

    Sandy

    Fixed position elements are exactly that.  Fixed compared to the upper left of the browser.  Since fixed elements are removed from the normal document flow, they do not behave like floats by-side.

    Nancy O.

  • How to make a button calculate field of text on the same page?

    I have a button called "Generating the Hash" and I want to calculate a text field and display them on the same page with the results of a simple sql query:

    Select "P" | substr (Sys_guid (), 1, 10) of double;

    It's a hard thing to do?

    Process page.

  • Place a photo on the same page of a photo book?

    So I did a lot of photo books in the past with iPhoto, I'm working on my first with Photos. I can't for the life of understand me how to move a photo from one spot to another on the same page without removing it completely, and then placing the photo once again in place I want.

    It is a HUGE pain when I don't want chronological photos on the same page. My normal process is to add photos to the page, by increasing the number of photos on the page until I have everything I want, then I move them until. This allows me to just go through the photos unplaced until I get what I want. In iPhoto, it wasn't a problem, but with pictures, it seems that once you have placed a picture, you cannot move. So whenever I want to add a new photo to the page and increase photos by the Photos of say 3-4, page move around randomly and I have to start all over again with the placement. Would not a big deal, except that Photos sorts photos unplaced by date, so when I took a picture to place in a new spot, now I need to go hunting for him again in the list.

    Any help would be great, I hope my question is clear.

    You can drag a photo to a different location on the page:

    • Place the pointer over the photo, click on hold until the photo is displayed outside, and then drag the photo to the Photos area or another location on the page.

    If you drop the photo on a different box of photos with a photo the two photos swap places.

  • Pass values between different areas on the same page.

    Hi guys!

    I'm developing a simple application where we have the list of students. I'm displaying information on a separate page for each student. Do you have any idea how and if I can pass parameters between regions, on the same page? I have a view showing, student card name information etc, and I want to create another view on the same page, which will be the student and will return a list of its subscribed courses.

    Part of my database is something like this:

    -------------

    Students

    ------------

    ID (PK)

    ------------

    -----------------------

    Student_course

    -----------------------

    ID (PK)

    Student_id (FK)

    Course_id (FK)

    ----------------------

    ----------------

    Course

    ----------------

    ID (PK)

    You have no idea how this can be done? I found information how to pass parameters between pages, but not on the same page.

    Thanks in advance!

    P.S. I am using the Application Express (declarative programming via a web browser), the use of the Application Builder.

    I discovered that I really had to. I just had to replace the "1" in my sql query with: P9_STUDENT_ID

    Thanks for your help anyway!

  • How to make a form with report and a form of inclusion in the same page?

    Hey, guys:

    I was wondering if you could have any link or examples to show how to make a form with report and a form of inclusion in the same page, these two forms are related to the same table. Our customer wants that a user can add a new row to the table in a form and see all lines created by this user in a report, the report should provide link change as well. the problem is: whenever I inserted a new line or change a line or delete a line, and submitted and return to this page, all hidden elements lost their values, this report is empty, and some display only items also lost their values. Could someone give me any suggestions?

    Thank you very much!

    Sam

    So, the problem is essentially with page elements lose their session state values when re-loading of the page. How do you define values for the elements of the hidden page? You have default values defined for those? They are based on the database column? What is the "Source" parameter for these items on the page? It is set to "Always, replace any value in session state"? You have any process of 'Empty the Cache', which is reset these values to null element?

    What is your version of the Apex?

    I would recommend that you have installed for example in apex.oracle.com. This would help to better understand the issue.

    Published by: jaouad khalifi on 13 December 2012 22:11

  • Redirect to the same page with the values of the variables

    Hello

    I develop a form to report data of the certain date range provided by the user.

    The problem is that I have to redirect the page back to the original page with the error message "not found in the date range" If the provided date range contains all the data in the database. I am able to redirect the page to the original page for help:

    < cfif queryname. RecordCount EQ 0 >

    < cfset action 'error' = >

    < Cflocation >

    < / cfif >

    And I use the < cfparam > for the creation of an action to navigate in the code, variable

    < name cfparam = "action" default = "" >

    [Use the < cfparam > above, tag at the top of the code and using action EQ 'report' and ' ' for navigation in the code]

    But, when I redirect to the same page, with the variable value measures of error and using cflocation he forget all varable values in the new page [way], then how can I pass a variable value measures on the same page and redirect it to the same page on meeting certain criteria.

    If this isn't clear, let me know.

    Help, please

    Vijayvijay77.

    vijayvijay77 wrote:


    ...


    And I use

    a kind of cfif to navigate inside the code. I'm doing something wrong here.

    You say that you guessed it at work.  But you have a dangerous code here (if you have not changed).

    The line will generate variables URLS when ColdFusion processes the page.cfm file once requested by the browser.  For example url.set and url.flag.

    Tags are NOT specifying the scope of variables, so they will default to the scope of "variables".  Who are the local variables of the demand for treatment.  For example variables.set and variables.flag.

    URL.set and VARIABLES.set ARE NOT the same variables.  And this confusion can cause some VERY difficult to diagnose the problems of code.

  • FROM SHAPED DATENREPORT (how on the same page)

    Hello everyone

    Yes, I know that it is built in a design of two pages where the first is the form and the second report, but I want it for both on the same page so that you can see what he has on the report and add his own line to the table. Well, I could make the creation of a form, then by changing the page and then add another region. Alright. But then I don't know how to link them together so that the data is passed to the form of the report.

    Additionally, the form to fill the data must pass in two separate tables, because a table contains the details of the location and the other opinion about each store. Easy to do on PHP and mysql, but here I'm lost.

    Second thing that drives me crazy it is that I created a table named location as well as street postal code for a store and another for assessment so that customers or workers add a suite evaluate services etc.

    Well, I'm trying to create that shape, that I first talked about this would hold all fields and I do on a SQL query that contains the definitions of the two tables. My XE is completely empty from the remains of other applications, etc. I do the equijoin alright


    Select l.loc_id, l.company, l.postcode, l.street, l.town, e.eval_id, e.loc_id, e.locum_reg, e.date_booked, e.items, e.addicts, e.number_staff, e.attitude_staff, e.organisation, e.stock_filing, e.agency
    location, e-assessment
    where l.loc_id = e.loc_id

    and I get this annoying error all the time


    ORA-20001: unable to create the form on equijoin. ORA-20001: Error Page = 2 item = 'P2_LOC_ID' id = '1324114494879878' ORA-20001: error page 2 item = = "P2_LOC_ID" id = "1324114494879878" a same name something like existing at the level of applications. ORA-0000: normal end successfully

    Well, if this form consists of two tables, it must definitely something in common with them! How did the name of the element suppose to have another name? It is made with the wizzard so supposedly the wizzard you should know, but I tried two days 14 hours a day.

    no indication of how this problem would be invaluable for me

    Thank you

    Alvaro

    Alvaro:

    This help if you supplied alias names to the "loc - id" of each table column in the SQL query? Something like

    select l.loc_id location_loc_id, l.company, l.postcode, l.street,l.town, e.eval_id, e.loc_id evaluation_loc_id, e.locum_reg, e.date_booked, e.items, e.addicts, e.number_staff, e.attitude_staff, e.organisation, e.stock_filing, e.agency
    from location l, evaluation e
    where l.loc_id = e.loc_id
    

    CITY

  • 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

  • How to set point values when redirecting to the same page.

    I just create a button to redirect I want to redirect to the same page and place 2 elements on the page to the same value they had before the redirection.
    But I can not write:
    Place these items: P1_Permit_Number, P1_Fishing_Year
    With these values: & P1_Permit_Number, & P1_Fishing_Year.

    Because there are no values in session state, because a shipment has not been done.

    So, how can I do this?
    I know how to get the values stored in the elements, for example, $v ('P1_PERMIT_NUMBER')
    but where should I put this command? It is not allowed under the "with these values.
    And I don't really want to make a button "submit" and create a process that says:
    P1_PERMIT_NUMBER: = $v ('P1_PERMIT_NUMBER'), because that would complicate the page too - I already have other branches and the process on the pages which conditions have to be modified so that they do not work in this scenario.

    Thank you.

    Hello

    The syntax seems correct to me. Your summers of uppercase element names?

    Try:

    alert("Here");
    var permitNumber = document.getElementById('P1_Permit_Number').value;
    alert(permitNumber);
    var fishingYear = document.getElementById('P1_Fishing_Year').value;
    alert(fishingYear);
    var url = 'f?p=&APP_ID.:1:&APP_SESSION.:Vessel_Display:::P1_Permit_Number,P1_Fishing_Year:' + permitNumber + ',' + fishingYear;
    alert(url):
    window.location.href = url;
    

    All alerts MUST display expected values. Doesn't it?

    Andy

  • Master / detail on the same page

    Hello
    I tried to get master form Assistant / retail to generate a master / detail on the same page without success.

    Basically, I wanted something similar to what Patrick Wolf was here:
    http://Apex.Oracle.com/pls/OTN/f?p=12820:3:2557510002062602

    Y at - it statement somewhere that show how to set up a master / detail on the same page?

    Thank you

    Hello

    OK - you must:

    1 - create a report page - Let's say the report will build on the DEPT table and the SQL for the report is:

    SELECT DEPTNO, DNAME FROM DEPT ORDER BY DNAME
    

    2. when the page has been created, create a new un nouvel element element hidden page called, say, P50_DEPTNO and add it to the region of report

    3. now create another part of report on the page - this time for the EMP table and filtered by P50_DEPTNO. The SQL code of the report would be:

    SELECT EMPNO, ENAME FROM EMP WHERE DEPTNO = :P50_DEPTNO ORDER BY ENAME
    

    4. you can make this conditional region on P50_DEPTNO is not not NULL so that the latter is hidden until a Department has been selected

    5. now, change the State of your Department and go to the tab report attributes change DEPTNO column and go to the section of the link column. Add in the following settings:

    Text link: (select one of the predefined options that are displayed as links in this box - eg DEPTNO)
    Page: (enter the current page number - for example, 50)
    Reset pagination: (check this)
    Point 1 (name): P50_DEPTNO
    Article 1 (value): #DEPTNO #.

    Then click on apply changes

    6 - Finally, add a branch on the page. This should simply point to the same page - leave all other settings at their default values.

    Now, launch the page and click on the link for any Department. You should get: http://htmldb.oracle.com/pls/otn/f?p=45958:50

    Andy

  • Click on a. Shortcut HTM extension lead to the same pages 2 to open every time

    I just upgraded to Version 17.0.1 Fiefox and now whenever I click on a shortcut to a .htm file on my open office 2 of the same pages. I tried the trick of 'make IE default browser and then switch back to Firefox' as advised in blogging help, but that made no difference. I even "reset firefox" without result.

    I had to remove Firefox manually (Windows uninstall won't) and then re-install Firefox. Fortunately, I didn't lose all my favorites. Thanks for all the offers of help displayed.

Maybe you are looking for

  • Why Keynote warn the font GillSans light and "BOLD" missing?

    For several years now, I got an error of central point which is more one annoyance than other. And recently, I created a presentation that using one of the models of stock of Keynote (with Keynote 6.6.2, although I have experienced this problem with

  • Remote compilation of FPGA on a Linux machine

    Hello I try to use the worker of compilation on an architecture based on Linux (RHEL) with a development of Windows 7 PC (Labview 2014). This works if the two machines are on a private network, but not on a managed network of field with several stric

  • A lot of Sims 2 Double Deluxe community never stop loading

    In the Sims 2 Double Deluxe, when I try to open a large number of community or move in a family, the lot is constantly loading and never stops.  He could stay there for a whole day and the loading screen would always be there.

  • Why do validation failure?

    I have just updated and then a blue star skipped on my bottom right that says: validation error when I clicked it a window pops out of internet Explorer and said treatment of validation and then after a few seconds, it loads and it went blank and a m

  • Building Windows live movie post not highlighted the youtube button

    Publis for youtube button is useless.  I created my video in Windows Live Movie Maker and clicked on youtube, filled all the fields, but the button PUBLISH is not highlighted, and I can't at this stage.  I tried two different sizes.   All of the sugg