DUP Val on index. In oracle forms

I created a unique index on 3 columns in table.
When I create double recording it raises already record exists.
How can I capture this error in oracle forms.
In pl/SQL, I can use exception when dup_val_on_index and update the record.
Level trigger validation key block I want to make this exception.

How can I raise dup-Val-on-index in oracle forms and update the record. Please help me. It is urgent

THX

Hello

try to insert into another table archive or journal or re - write your update as...

UPDATE table_name
SET comm = 1000
where...;

but I have not tried this before...
It is better to raise the user input and prevents the form by inserting a new line...

Kind regards

Amatu Allah

Tags: Oracle Development

Similar Questions

  • Oracle Forms and reports 12 c (12.2.1.0) Installation

    Hello

    I had downloaded a file of

    Oracle Forms and reports 12 c (12.2.1.0)

    Published on 23 October 2015

    http://www.Oracle.com/technetwork/developer-tools/forms/downloads/index.html .

    Now, I am trying to install, but its not install on the computer. can guide you how to install it.

    Sandy

    Two things:

    1. you didn't did not read carefully my last update.  I said that you need to install JDK 8 (more precisely 8U51 or newer).  Which suggests that you installed and that he tried to use Java 7 with that statement that you answered:

    C:\Program Files\Java\jdk1.7.0_79\bin>java-jar fmw_12.2.1.0.0_infrastructure.jar

    You must UNINSTALL 7U79 (which you cited above) and install the last v8, which is 8U66.

    http://www.Oracle.com/technetwork/Java/javase/downloads/index-JSP-138363.html

    2. you have not share of details necessary to understand what could happen.  For example:

    • On what platform and the version you install?
    • Have you reviewed the matrix of product Certification to ensure that this platform is certified for use?
    • Is your Windows user, a member of the Windows Administrators group?
    • The machine has at least 6 GB of RAM?
    • Is the installer staged locally or are access you it from a network share?
    • Did you review the Setup logs?  If this is not the case, do, as they will probably tell you what is happening.  They are located in:

      C:\Program Files\Oracle\Inventory\logs

    I highly recommend that go you through the documentation (Setup Guide, Sys requirements, etc.) before you install or use the product:

    http://docs.Oracle.com/middleware/1221/formsandreports/index.html

  • Is it possible to configure jpi_codebase to autodownload JRE for Oracle Forms 11.1.2.2.0 8?

    We are currently working with Oracle Forms and reports 11.1.2.2.0 (64-bit) using Oracle WebLogic Server 10.3.6 (64-bit) installed with the 64-bit JDK 1.7.0_40. Currently, we configure the YPI parameters (jpi_download_page, jpi_codebase, etc.) to use Java 7. Here is an excerpt from formsweb.cfg of that we deploy to end users to download a 7 Java JRE (Java 7u67 taking as an example):

    jpi_download_page = http://Java.Sun.com/products/archive/J2SE/7u67/index.html

    jpi_classid = clsid:CAFEEFAC-0017-0000-FFFF-ABCDEFFEDCBA

    jpi_codebase = http://Java.Sun.com/update/1.7.0/jinstall-7u67-Windows-i586.cab#version=1, 7,0,67

    jpi_mimetype = application/x-java-applet

    NOTE: For the jpi_classid, we use clsid:CAFEEFAC-0017-0000-FFFF-ABCDEFFEDCBA so that users can continue to use their currently installed Java JRE 7 without being forced to use a specific update to Java 7.

    As we know that update of Java Runtime Environment (JRE) 8 5 or higher is supported with clients running an Oracle Forms application 11.1.2.2.0 inside their Web browsers supported by the Oracle for the 11.1.2.2.0 forms certification matrix (we are aware that the JDK 8 is not supported with 11.1.2.2.0 forms) found at http://www.oracle.com/technetwork/es/middleware/docs/oracle-forms-111220certmatrix-2087910.xls?ssSourceSiteId=otnen We want to be able to set up automatic downloading for JRE 8 using the parameters of YPI formsweb.cfg (or help 'EM under "Setting up the Web"). As we know in Internet Explorer, the URL in the jpi_codebase parameter is where it can find the .cab file for the automatic download of the JRE. Even if it works well for JRE 6 and 7 of the JRE, if we were to use the configuration settings following parameter changed to 8 JRE:

    jpi_download_page = http://Java.Sun.com/products/archive/J2SE/8u25/index.html

    jpi_classid = clsid:CAFEEFAC-0018-0000-FFFF-ABCDEFFEDCBA

    jpi_codebase = http://java.sun.com/update/1.8.0/jinstall-8u25-windows-i586.cab#Version=1, 8,0,25

    jpi_mimetype = application/x-java-applet

    nothing happens in the browser launches the application Forms.

    Use the jpi_codebase setting, if we go directly to http://Java.Sun.com/update/1.8.0/jinstall-8u25-Windows-i586.cab to download the JRE, we get an error saying: "File not found."

    We went to http://www.oracle.com/technetwork/java/javase/autodownload-140472.html on the Oracle Web site, which explains the more information on the identification of the URL appropriate for auto-download of JRE, it only shows the URL for JRE 7u71 and 7u71 structure. We used this provision to JRE 8, but we get the "File not found" error when you use the URL directly.

    According to these results, someone happens to know if 8 JRE is currently available (or even supported) for automatic download by using the parameters of YPI in formsweb.cfg? We know that anyone can download the latest Java 7 or 8 Java JRE manually from Oracle, but it would be convenient if he could be auto-téléchargé if it is currently possible. It would be more a une question question for the forum Java or Java Runtime, let me know.

    Thank you

    Scott

    Scott, have you had a look at metalink? (always a good place to look if you have a proper support contract).

    Formsweb.cfg for JRE 1.8 Configuration settings (Doc ID 1926764.1)

    I can't replicate the whole doc here, but looks that the download page you are after is:

    jpi_download_page =http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

  • Sample Oracle Forms application

    Can someone guide me to an example of oracle forms application? There is none in the section of the code sample of the RTO.

    Thank you!

    See "Oracle Forms 11g demo and utility downloads.

    http://www.Oracle.com/technetwork/developer-tools/forms/downloads/index.html

    The top app is a demonstration of a simple order entry system

    http://www.Oracle.com/technetwork/developer-tools/forms/downloads/209891.zip

  • Can I use Oracle Forms 11g with 9.2.0.8.0 Data Services?

    Hello world.

    My Department is evaluating the development tools to create new web applications and possibly migrate current buit applications with Oracle Forms 6.0.5.34.0. Our database is Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64 bit.

    We read that the new version of Oracle Forms is Oracle Forms Services 11 g. Is Oracle Forms 11g compatible with Oracle9i Enterprise Edition Release 9.2.0.8.0 Services - 64 bit? or we will have to migrate our Oracle 11g RDBMS?

    If our database is compatible, what would we have needed to develop and deploy applications with Oracle Forms 11 g Services?

    Thanks in advance.

    That it is compatible or not: 9.2.0.8 database is supported, which means you get patches for it. So even if it's compatible I would opt to upgrade to a newer version, because I wouldn't feel uncomfortable that the product is not supported by out in production.

    Take a look at the matrix of certification for the supported configurations
    http://www.Oracle.com/technetwork/middleware/downloads/FMW-11gr1certmatrix.xls

    With regard to the requirements; most of the stuff is on the forms OTN homepage:
    http://www.Oracle.com/technetwork/developer-tools/forms/

    or to the documentation:
    http://download.Oracle.com/docs/CD/E17904_01/index.htm

    see you soon

  • How to solve: java.lang.VerifyError: (class: oracle/forms/fd/JCalendar...)

    Hello

    How can I resolve this error:
    < <
    java.lang.VerifyError: (class: oracle/forms/fd/JCalendarJinit$ 1, method: < init > signature: (Loracle/forms/fd/JCalendarJinit ;)) (V) expects to find the object/array on the stack

    to oracle.forms.fd.JCalendarJinit. < init > (JCalendarJinit.java:66)
    > >

    I edited the file JCalendarJinit.java for JCalendar. I created the jar file, and when running the form, this error is coming.


    Version of Oracle Jinitiator: 1.3.1.22
    Forms version: 10g

    Thanks in advance

    Please try to replace JInitiator with the latest JRE 6 from http://java.sun.com/javase/downloads/index.jsp.

    Does that help?

    Jacob

  • How to run Oracle Forms in Google Chrome

    Hello

    How can we run our applications Oracle Forms in Google chrome (with SSO)? This has not worked quite awhile and a lot of our other company activities revolve around Chrome in the standard user interface.

    We are in form 11g.

    Thank you! HJ

    976327 wrote:

    Hey Hamid,

    Chrome says: this plugin is not supported. I did some research and found something about NPAPI unsupported.

    The error appears when you try to run our applications Forms via a URL

    Thank you, HJ

    Hello HJ

    Check

    1. https://java.com/en/download/faq/chrome.xml

    2 https://productforums.google.com/forum/#! m5sRq0_UKek/chrome/section

    Use of IE

    or

    You want a 3rd party?

    Try TalkingByte

    Hope this helps

    Hamid

  • Console debugging Oracle forms 6i

    Hello

    where the Oracle forms 6i debug console?

    There is no 'Debug' menu, and I can't find the debug anywhere console.

    Forms 6i debugger is not the Debug Console with the form window values (for poster modules currently loaded and the item values and parameter),

    window spy (to specify the variables you want to monitor when your application debugging)...,.

    but we can get such information (in the ugliest way) in the pane Navigation Debug Forms 6i.

    We also use debugging triggers which are a general form of debugging action involving a block of PL/SQL code with a specific line within a program unit.

    See, for example. This using Forms 6i:

    Debugging triggers are particularly useful as conditional breakpoints.

    You can throw the exception of DEBUGGING. Break UP with a trigger.

    For example, the trigger for debugging below sets a conditional breakpoint on line 10 of my_proc, which will be achieved only if the my_sal local variable NUMBER exceeds 5000:


    PL/SQL > line 10 is

    + > IF Debug.Getn ('my_sal') > 5000 THEN

    + > Lift Debug.Suspend;

    + > END IF;

    Kind regards

    Zlatko

  • Take the backup of the user database using oracle forms 6i

    I need backup user database using oracle forms 6i. Is this possible?

    Yes.

    Try

    When press the button trigger

    DECLARE
        un                VARCHAR2(30);
        pw                VARCHAR2(30);
        db                VARCHAR2(30);
        con_str        VARCHAR2(100);
        --
        data_file    VARCHAR2(100);
        log_file    VARCHAR2(100);
        cmd_line    VARCHAR2(200);
        ALT NUMBER;
    BEGIN
        IF :CONTROL.file_name IS NULL THEN --- take a file location
            IF SHOW_ALERT('FILE_NAME') = ALERT_BUTTON1 THEN
                RAISE FORM_TRIGGER_FAILURE;
            END IF;
        END IF;
        --
        un    := GET_APPLICATION_PROPERTY(USERNAME);
        pw    := GET_APPLICATION_PROPERTY(PASSWORD);
        db    := GET_APPLICATION_PROPERTY(CONNECT_STRING);
        con_str    := un||'/'||pw||'@'||db;
        --
        data_file    := :CONTROL.file_name||'\'||un||
                                 TO_CHAR(SYSDATE, 'DDMMYYYY')||'.dmp';
    
        cmd_line    := 'exp userid='||con_str||' file='||data_file;
        HOST(cmd_line);
        --
    
        ALT:=SHOW_ALERT('MULTI_BACKUP');
        IF ALT=ALERT_BUTTON1 THEN
            RAISE FORM_TRIGGER_FAILURE;
        ELSE
            EXIT_FORM;
        END IF;
    
    END;
    
  • Oracle Forms Builder 12 c, crashing when generating a big mmx

    Hello

    I installed Oracle Forms Builder on Windows x 64 8 12 c. When I compile my menu I have no problem, but when I try to generate the file mmx, forms crash and close. Can someone tell me if I need a group of hotfixes or the value of any configuration on my Forms Builder?

    Best regards

    It's a bug I can reproduce it. It has nothing to do with the language or the size of the file, but the length of a Menu name here how it worked for me...

    The work around:

    Change the menu with 12cFormsbuilder.

    Open the file .mmb with Formsbuilder. Open the Menu tree. Look for the Menu titles that are more than 30 characters. Change the name< 31="" characters="" by="" clickiung="" on="" the="">

    If you click on it it will be automatically reduced to 30 characters. Save the file, generate

    The example which worked for me:

    MENU:

    ANDERE_STAMMDATEN_UND_VERKNUPF_MENU-> ANDERE_STAMMDATEN_UND_VERKNUPF

  • How to hide the Menu item in the Oracle Forms Menu bar.

    Hi all

    I have a requriement wherein I have to hide these oracle forms menu bar menu items whose rights are not available with the user.

    I already have enable / disable the option on the order of the day, but required to not display these items that are users do not allow access to users.

    Is it possible to do this task? Please help and guide me.

    Thank you

    Atif Zafar

    Perhaps a typing mistake?

    Your menu is named MAIN_MENU_MENU, in your code, you use only MAIN_MENU.

  • Oracle Forms Text_io package

    Hello everyone,

    I would like to ask if any body can help me to get the tutorial package text_io that explain step by step (PDF, link, video)

    something will help.thanks in advance to you all.

    Check

    1 function TEXT_IO

    2 TEXT. IO in Oracle Forms 10g

    3. howto_textio

    4. advice text_io

    Hope this helps

    Hamid

  • SSO ADF and Oracle Forms?

    Hello

    Is there a recommended way to share authentication between ADF and Oracle forms?

    We currently use Oracle 11 g 2 forms and we have our forms developed in-house running on this.  I would like to start working on some applications of the ADF, but I do not know how to ensure that the username and passwords are the same for our existing forms applications and any new request to ADF we add.

    I would use JDeveloper 12 c.

    We have < 100 users, so this isn't a large installation, and most users are (same office).

    Thanks for ideas or advice.

    Check out this blog https://blogs.oracle.com/olaf/entry/ofm_11g_oam_sso_for_forms_and because it describes how using OAM.

    Timo

  • Oracle forms/reports 12 c | Items on the Start Menu

    Hi guys

    I installed and configured Oracle weblogic 12 c (12.2.1), forms, and reports 12 c (Professional 64-bit Windows 10, 16 GB RAM, i7 processor platform) and be able to start the server administration Weblogic, wls_forms (wls_reports not yet configured). The only element of start menu, I could see as shown below with the image

    oq1.png

    I'm not sure what exactly I missed during installation and configuration (Oracle® Fusion Middleware, installation Oracle Forms and Reports, 12 c (12.2.1), E66264-01) for the installation and configuration. Please help me

    Kind regards

    Did you follow that?

    Steps in order:

    • Ensure that the machine has the static IP address (or the loopback installed and configured adapter for Windows)
    • 8 RAM minimum concert
    • Open a shell (DOS) and set the PATH to include the JDK (8U51 + 64 - bit) first in the list
    • In the shell, run the WLS installation program and follow the instructions: java-jar fmw_12.2.1.0.0_infrastructure.jar
    • Run forms and reports 12.2.1 installer
    • Run the RCU THAT found in C:\Oracle\Middleware12\Oracle_Home\oracle_common\bin
    • Run the configuration (config) (if on Windows, do not forget the shell has administrator privileges) (C:\Oracle\Middleware\Oracle_Home\oracle_common\common\bin)
    • With a shell with administrator privileges, start Node Manager (startNodeManager) and then start Admin Server (startWebLogic) (C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\bin)

    Once the servers have been launched successfully, the configuration will complete automatically.  This process also ends configurations required by design tools, the server startup if necessary to complete the steps.  They can be stopped if you are simply interested in examining the Builder (s), but obviously will not be able to run anything, if the servers do not work.

    I hope that between this overview and documentation, almost everyone should be able to get a good start.

    Hamid

  • Oracle Forms with Tamil fonts

    Hi all

    I use Oracle Database 12 c and Oracle Forms and reports 11g r2

    I installed the database to Unicode

    NLS_LANG = AMERICAN_AMERICA. UTF8

    and I changed in the register of forms in the same window and I also configured in default.env too.

    I used 3 languages in my database, English, Arabic and Tamil.

    English and Arabic does not work well. His works to the label forms as well as stored in the database.

    Now, I have problem in Tamil fonts in Junk or?

    How to solve this problem?

    Can I missed any configuration?

    Thanks for all your answers,

    I found the solution. There is a fallback in Java for the fonts option.

    I just spent my fonts in java backup file.

    Now Oracle Forms can support Indian languages especially in Tamil, Malayalam, etc...

Maybe you are looking for