How can I capture and re-present Oracle contraint/check/DML errors?

Hi,
New to APEX, I have a Designer/Web-PLSQL background.
In Designer I can define the messages that I want the user to see when check, constraint, etc. errors are generated by the application interaction with the database server (done through table API and the integration of the Designer generated screens).
In APEX, these types of errors all seem to show the default 'ORA' style message on an error page. How can I change these to 'human-readable' messages?
I'm obviously missing the trick that changes an ORA-0001 message referring to CUST_CODE_UK to something like 'This Code has already been assigned to another customer'? I want to use standard functionality, not really keen on creating my own DML packages for every table that needs to be accessed through a screen.

user8038482 wrote:
dear sir,
i have windows 7 and install oracle 10g,developer suite 10g 32 bit working everything fine but any forms trying to open giving errors oracle form designer stopted working check online sulition can you help get and send the like of patch file so i can download even i am able to download the patch file pls help i will be grateful for the same.
thanks you..
As'salamualikum, m z Islam
check this Oracle Forms Designer has stopped working/ How to apply Patchset 7047034 ?
Hope this works..
hamid
Mark correct/helpful to help others to get right answer(s).*

Similar Messages

  • Oracle Trigger - How can I capture and correct on the fly  ORA-01847

    Oracle Trigger - How can I capture and correct on the fly ORA-01847 day of month must be between 1.
    I have a table that has a date column. Sometimes an invalid date is passed and I'd like to capture and initilize the incoming value to null and have it inserted without error. Currently I get ORA-01847 day of month must be between 1.
    Example:
    create table ep1
    col_1 number,
    col_2 date
    Now if a user does the following, I want no error to occure but rather for the date value to be set to null and inserted.
    insert into ep1 values('1', '41-JAN-13')
    The insert may come from any client and I can't change the calling code hence can't used a precedure to replace the insert. I'm guessing there is some way to catch system level exceptions on the DB level. This doesn't need to be nice, it just needs to work.
    Here is the question on experts exchange. I'm told there is no way, but there must be. After all the exception is on a DB system level and I would think one could extend or override these, or disable them.
    http://www.experts-exchange.com/Database/Oracle/PL_SQL/Q_23045306.html

    SQL> declare
      2     wrong_month      exception;
      3     pragma exception_init (wrong_month, -1843);
      4  begin
      5    begin
      6      insert into emp (empno, hiredate)
      7      values (2345,to_date('13/25/81','MM/DD/YY'));
      8    exception
      9      when wrong_month then
    10      dbms_output.put_line('I caught the bad month');
    11      insert into emp (empno, hiredate)
    12      values (2345,null);
    13    end;
    14  end;
    15  /
    I caught the bad month
    PL/SQL procedure successfully completed.
    SQL>
    SQL> select * from emp
      2  where empno = 2345;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          2345Note the 1843 error vice 1847. It can be done outside of a trigger.

  • HT1296 How can I capture and save an image on my screen for later retrieval

    How can I capture and save an image on my iPad screen for later retrieval, perhaps on my Laptop (Windows 7)?
    Is there a way to copy the image to a storage device?
    Thanks, Don.

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    Its easy to take an iPad screenshot. Press & release the Home and the Power buttons quickly at the same time. I have trouble with that so I press & hold the Home button and then very quickly press and release the Power button. Your screenshot is stored in the Camera Roll of the Photos app. Probably the easiest way to get it to your PC is to be using iCloud, or email it to your PC. There are also some wireless sync apps in the iTunes app store that let you send photos from the iPad to a Mac or PC. I use PhotoSync.

  • How can I capture in forms the text from a database error

    In forms6i, how can I capture the text of an error during the execution of a dabatase procedure or package.
    Thanks for your help.

    You can use SQLERRM function :
    SQL> create or replace procedure procerr
      2  is
      3     n number;
      4  begin
      5     n := 1/0;
      6* end;
    SQL> /
    Procedure created.
    SQL> set serveroutput on
    SQL> declare
      2     err1    varchar2(200);
      3  begin
      4     procerr;
      5  exception
      6     when others then
      7             err1 := SQLERRM;
      8             dbms_output.put_line(err1);
      9* end;
    SQL> /
    ORA-01476: divisor is equal to zero
    PL/SQL procedure successfully completed.
    SQL>

  • Please How can I capture and integrate a single pulse of a DC signal from an external circuit

    Hello everyone
    I am trying to integrate a signal from an external circuit I have built. I want to capture just a single pulse from the signal and integrate it. Please can anyone assist me with how I can perform this?

    The 6008 has no hardware analog trigger, so to capture a single pulse, you will need to trigger in software.  It does have a digital trigger, so if you have a digital way to signal the start of your pulse, it would make your life easier.  You will need to ensure you take enough data to get an entire pulse.  At that point, use one of the trigger VIs to find the start (and possibly end) of your signal.  Take a subset of your data and integrate it (LabVIEW does support integration).
    If you have trouble finding anything, let us know.  Find the trigger and integration VIs using the search feature of the palettes.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • How can I capture and take screenshots of all the browser tabs and not only windows ?

    This class identifies all minimized windows and take a snapshot (screenshot) of them. I want to take screenshots also of all the broswer for example chrome tabs windows that are open but not in the front. Same idea that it get now the minimized windows but
    to get the screenshots of the broswer opened tabs ! What should I change in the WindowSnap class? Since both classes are a bit long I added them to pastebin.com
    What i'm doing now is to get all the minimized windows i mean all the the windows in the back if it's chrome browser windows or open tabs if it's program games other windows. This is what i'm doing in form1 constructor:
    this.listBoxSnap.Items.AddRange(WindowSnap.GetAllWindows(true, true).ToArray());
    int numitems = this.listBoxSnap.Items.Count;
    for (int i = listBoxSnap.Items.Count - 1; i >= 0; i--)
    string tt = listBoxSnap.Items[i].ToString();
    if (tt.Contains(" ,"))
    listBoxSnap.Items.RemoveAt(i);
    listBoxSnap is just a regular listBox1 in my form1 designer.
    And this is the WindowSnap class code, it's a bit long code but it's all connected:
    I'm not sure what to show here from this class what is the most important part so i added all the class code to a link to pastebin.com:
    WindowSnap.cs
    What i'm calling/using in form1 constructor from this WindowSnap.cs class is the GetAllWaindows method:
    public static WindowSnapCollection GetAllWindows(bool minimized, bool specialCapturring)
    windowSnaps = new WindowSnapCollection();
    countMinimizedWindows = minimized;//set minimized flag capture
    useSpecialCapturing = specialCapturring;//set specialcapturing flag
    EnumWindowsCallbackHandler callback = new EnumWindowsCallbackHandler(EnumWindowsCallback);
    EnumWindows(callback, IntPtr.Zero);
    return new WindowSnapCollection(windowSnaps.ToArray(), true);
    EnumWindowsCallBackHandler is:
    private delegate bool EnumWindowsCallbackHandler(IntPtr hWnd, IntPtr lParam);
    EnumWindows is:
    [DllImport("user32.dll")]
    [return: MarshalAs(UnmanagedType.Bool)]
    private static extern bool EnumWindows(EnumWindowsCallbackHandler lpEnumFunc, IntPtr lParam);
    Then i have the class called WindowSnapCollection:
    WindowSnapCollection.cs
    The problem is in form1 constructor i'm getting only 23-24 windows in the listBox1. When i'm doing this two lines:
    this.listBoxSnap.Items.AddRange(WindowSnap.GetAllWindows(true, true).ToArray());
    int numitems = this.listBoxSnap.Items.Count;
    I see in numitems about 30 windows and after filtering i'm getting 20 windows and i checked that's the correct number of opened minmizied windows i have in this example 20.
    Now what i want to do is somehow to get with all this windows in the listBox also all the opened tabs in chrome.
    For exmaple i have only 4 opened chrome windows. But in one of the chrome windows i have almost 40 tabs opened !
    I want somehow to add to the listBox all this opened tabs also as captured screenshots like i'm doing now with the windows.
    This is a screenshot of my program showing what i'm doing and what i get:
    So now i have 19 windows captured in the next refresh it will show 20.
    My question is if there is any way to capture also all the chrome opened tabs in all the windows if any opened tabs are opened at all ? Now i'm getting only the chrome opened windows captured screenshot. But i want to get also the chrome tabs captured screenshots.

    Hi Chocolade1972,
    Since this forum is discussing about Windows Forms general like winform controls, and your issue is related with Windows Desktop SDK, I will move this thread to the more related forum.
    Thanks for your understanding.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Can i capture and record a youtube video that is playing on my screen using quicktime?

    How can i capture and record a youtube video that is playing on my screen using quicktime?

    Hi Paul, QuickTime X can record video and here is the tutorial for you: http://support.apple.com/kb/PH5882?viewlocale=en_US. I'm wondering why you don't just download it using some free YouTube downloader, easy and fast.

  • How can I capture forms built in messages

    I need to know as how can I capture and alter form messages like
    'Do you want to save changes?' which gets popped when ever I try to exit a form without saving any changes and similarly the 'close this form?' message.

    hi,
    You can capture forms built in messages in ON-MESSAGE trigger. But the message u given 'do you want to save changes' can eliminate by giving exit_form(no_validation') statement.
    sankar

  • How can I view and download iprocurement history for the past 1 year in Oracle?

    Hi,
    I'm presently using Oracle 12, how can i view and download iprocurement history for the past 1 year or longer in Oracle? The purpose is to view approval of claims etc..
    if not, where can i retrieve this information in oracle?
    Appreciate your urgent assistance.
    Best Regards, Michael

    Sign into your Account > Click on your account name > Click on Account > Purchase History
    iTunes Store & Mac App Store: Seeing your purchase history and order numbers - http://support.apple.com/kb/HT2727
    Direct link - https://phobos.apple.com/WebObjects/MZFinance.woa/wa/purchaseHistory

  • I shall open delete my present account with iTunes and open a new one - but I do not have the password. How can I then delete the present account??

    I shall open delete my present account with iTunes and open a new one - but I do not have the password. How can I then delete the present account??

    Since you can't delete Apple IDs and having multiple Apple IDs can cause confusion, what you may want to do is rename your existing Apple ID to the new email (desired Apple ID).  That would in effect do what you want, get rid of the old and give you the new.
    See "Apple ID: Changing your Apple ID"
    ivan

  • How can i transfer a keynote presentation from an iPad to another iPad? I haven't a wifi connection.

    How can i transfer a keynote presentation from an iPad to another iPad? I haven't a wifi connection.

    Depends on how big the file is.  If itis only a couple of pages, or mostly text, the easiest way would be to e mail it.  If it is a very large file you are going to need wifi.  Take both pads to starbucks, and e mail it from there.  Or if you have wifi, use drop box, for example. 
    Your other choice, avoiding wifi would be a bluetooth type transfer.  There is an app call bluetooth file lite that reads like it will do what you need.   The good news is it is free.  The bad news is that it has terrible ratings.  For grins, i am installing it now on a pad and a phone, and will see if it works.
    With a bluetooth method, you need both devices in  the same place.  If you are trying to send your file across country, bluetooth will not work for you.  you need e mail or drop box type solution, and if the file is big, you will almost certainly need wifi.

  • How can I capture an externally hosted page as a variable ?

    How can I capture the html or css of an externally hosted
    page and use it as a local variable ? There's plenty of options for
    doing it with local file but I can't work out how to go about it
    when the file isn't on your cf server. Any ideas ?

    Yes, of course.
    {insert the sound of slapping oneself in the head here}

  • In ALV reports how can we capture separate data in 3 internal table

    HI
       In ALV reports how can we capture data in 3 Internal tables and combine them in another internal table to display........

    Hello Sudhanshu
    Another option would be to display all three itabs together which is a piece of cake using OO-based ALV lists. Please refer to thread
    Re: Alv
    for a sample report.
    Regards
      Uwe

  • How can  I capture a specific number of screen caps

    Using final cut or any other application, how can I capture a specific number of screen caps? Each video will have a different length.

    Bob,
    Please clarify your question. Are you asking about screen captures? If so, what software are you using and what does this have to do with FCP?
    -DH

  • How can we captured Excise Duty Payable at the time of billing

    Hi,
    i have created billing at that time i did not take excise duty payable and i have made the document and my question is and how can we captured excise payable with out reverse or manual JV,and i heard that we can do through excise table can any body tell me the procedure
    Regards,
    Harish

    Dear,
    have you created Excise Invoice? If not then you can create through J1IIN.
    Br,Vivek

Maybe you are looking for