FRM-40735 when-pressed key raised ORA-01840

Hello

10.1.2.0.2 Oracle Forms Developer

I use Calendar90.pll to get the calendar to a date field. After execution, it throws error
FRM-40735 when-pressed button triggered trigger unhandled exception ORA-01840.
Please help me to fix it.

Thanks a lot for your help.
Sandy

Hi again!

Please change your trigger:

date_lov.get_date ( nvl ( :search.created_to_date, sysdate ),
                    'search.created_to_date',
                    0,
                    0,
                    'Date List of Values',
                    'OK',
                    'Cancel',
                    TRUE,
                    FALSE,
                    FALSE);

It will work!

Concerning

Tags: Oracle Development

Similar Questions

  • FRM-40735 when-pressed to release raised unhandled exception ora-06502 button?

    I write the following procedure

    PROCEDURE p73_fragment_metar (p_metar in varchar2, varchar2, out p_dy Code_P varchar2, p_hr out varchar2,)
    p_dd number, p_ff series, p_tt number of p_dp number, p_qnh number.
    p_mn out varchar2, p_year out varchar2)
    IS
    -p_metar varchar2 (500);
    str_date_code Varchar2 (500);
    code varchar2 (10);
    DY varchar2 (10);
    HR varchar2 (10);

    str_dd_ff Varchar2 (500);
    JJ varchar2 (10);
    VARCHAR2 (10) FF.;

    str_tt_dp varchar2 (500);
    TT varchar2 (10);
    VARCHAR2 (10) DP;

    qnh_str varchar2 (500);
    QNH varchar2 (10);

    DAT varchar2 (20);
    MNTH varchar2 (20);
    VARCHAR2 (10) years;


    BEGIN
    -p_metar: = 'OJAM 171600Z 32010KT 5000 HZ SCT030 11/05 Q1023 NOSIG';
    str_date_code: = substr (p_metar, 1, length (DelimStr.GetString (p_metar, 1, FALSE, 'Z')) + 2);
    Code: = substr (str_date_code, 1, length (str_date_code)-9);
    Code_P: = code;

    dy: = substr (str_date_code, length-7 (str_date_code), 2);
    p_dy: = dy;

    HR: = substr (str_date_code, length-5 (str_date_code), 4);
    p_hr: = h;


    -- --------------------------------------------------------------------------------------
    -str_dd_ff: = substr (p_metar, 1, length (DelimStr.GetString (p_metar, 1, FALSE, 'KT')) + 0);
    -dd: = substr (str_date_code, length-5 (str_dd_ff), 3);
    DD: = substr (p_metar, 14, 3);
    p_dd: = to_number (dd);

    FF: = substr (p_metar, 17, 2);
    p_ff: = to_number (ff);

    -- --------------------------------------------------------------------------------------
    str_tt_dp: = substr (p_metar, 1, length (DelimStr.GetString (p_metar, 1, FALSE, ' /')) + 3);

    TT: = substr (str_tt_dp, length-5 (str_tt_dp), 3);
    p_tt: = to_number (tt);

    DP: = substr (str_tt_dp, length (str_tt_dp)-1, 3);
    p_dp: = to_number (dp);
    -- -------------------------------------------------------------------------------------
    qnh_str: = substr (p_metar, 1, length (DelimStr.GetString (p_metar, 1, FALSE, 'Q')) + 5);
    QNH: = substr (qnh_str, length (qnh_str)-3, 5);
    p_qnh: = to_number (qnh);

    -- -------------------------------------------------------------------------------------
    Select to_char (sysdate) in DUAL from SWD;
    month: = substr (dat, length (dat)-5, 3);
    p_mn: = mnth;
    years: = '20'. substr (dat, length (dat)-1, 3);
    p_year: = years;
    -- ---------------------------------------------------------------------------------
    / * p05_show_alert_message (code);
    p05_show_alert_message (dy);
    p05_show_alert_message (HR);
    p05_show_alert_message (DD);
    p05_show_alert_message (FF);
    p05_show_alert_message (TT);
    p05_show_alert_message (DP);
    p05_show_alert_message (QNH);
    p05_show_alert_message (MNTH);
    p05_show_alert_message (years); * / This loaded message to be sure and beach t each variable is it has the correct value


    END;


    I try to call hollow a trigger when the button as follows

    Declare
    p_metar varchar2 (500);
    Code_P varchar2 (10);
    p_dy varchar2 (10);
    p_hr varchar2 (10);

    p_dd number (4.4);
    p_ff number (4.4);

    p_tt number (4.4);
    p_dp number (4.4);
    p_qnh number (4.4);

    p_mn varchar2 (20);
    p_year varchar (10);

    Begin
    p_metar: = 'OJAM 171600Z 32010KT 5000 HZ SCT030 11/05 Q1023 NOSIG';

    p73_fragment_metar (p_metar, Code_P, p_dy, p_hr, p_dd, p_ff, p_tt, p_dp, p_qnh, p_mn, p_year);

    END;


    When the p73_fragment_metar PROCEDURE is called, I receive the following error message:
    FRM-40735 when-pressed to release raised unhandled exception ora-06502 button?

    Don't know if this is the reason, but are you sure that it is correct

    p_dd number (4.4);

    This means that you put a number with no figures before the commae and 4 digits after the decimal point, means you can't store something like 1 in it.

  • FRM-40735: WHEN PRESSED to SHUTTER raised unhandled exception ORA-06502

    I am set_element-property when button pressed but lov get this error

    I whated this

    BEGIN

    copy (: cal_erd.copyobjid,'c)

    al_erd.obj_child');
    go_item('cal_erd.) DISPLAYNAME');
    do_key ('List_values');
    copy ('0', 'GLOBAL.save_mouse_record');
    END;

  • FRM-40735 WHEN-PRESSED TO SHUTTER RAISED UNHANDLED EXCEPTION ORA-01422

    declare
    number of in_h;
    number of in_mi;
    number of out_h;
    number of out_min;
    number of diff_hr;
    number of diff_min;
    Start
    : THE CUSTOMER. OUT_TIME: = to_char(sysdate,'hh24:mi:ss');
    update the journal set out_hr = round (to_number (to_char (sysdate, 'HH24')));
    out_min = Round (TO_NUMBER (to_char (sysdate, 'mi'))) where lower (loguser) = "2010u1";
    Select in_hr, in_min, out_hr, out_hr, in_h, in_mi, out_h, out_min of the newspaper;
    diff_hr: = out_h-in_h;
    diff_min: = out_min-in_mi;
    set a day of the journal set dayhr = diff_hr, daymin = diff_min where lower (loguser) = "2010u1";
    : THE CUSTOMER. TIME_DIFF: = diff_hr | diff_min;
    commit;
    end;

    Hello

    Add the following after validation...

    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    ............................
    

    and please also refer to the following link...

    http://www.DBA-Oracle.com/sf_ora_01422_exact_fetch_returns_more_than_one_requested_number_of_rows.htm

    Sarah

  • FRM-40735 WHEN-PRESSED to release raised unhandled exception ORA-305550 BUTTON

    I have a form that exports data from forms in MS Excel using OLE. Everything in my development environment, but when I put the FMX on the server of forms I get this error in the title. In Forms Developer I have WEBUTIL attached under libraries of objects, which is an olb file. Im guessing in the need to add WEBUTIL on Forms Server?

    Looks like the db-webutil objects are missing. Please make sure that WEBUTIL installed after installation guide http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil_manual.pdf

  • FRM - 40735:when - button-trigger pressed raised unhandled exception ORA-01841

    Hi all
    I m this error FRM-40735: when pressed to shutter raised unhandled exception ORA-01841
    and relaxation that I wrote is like that: -.

    DECLARE
    CURSOR I IS SELECT SANCDATE, REFNO, PRINCIPALAMT, SANCAMT, TOTINSTALMENT, RATERECOVERY, AMTRECOVERED, INSTALMENTRECOVERED,.
    STARTYEARMM, ENDYEARMM
    OF PRMALOAN
    WHERE EMPNO =: PRMALOAN. EMPNO
    AND EARNINGDEDUCTION =: PRMALOAN. EARNINGDEDUCTION
    AND PAYCALPERIOD IS SET TO NULL;
    d date: = to_date('200908','yyyymm');
    date of s;
    f date;
    BEGIN
    go_block ('prmaloan2');
    OPEN I;
    LOOP
    I GET: PRMALOAN2. SANCDATE,: PRMALOAN2. REFNO,: PRMALOAN2. PRINCIPALAMT,: PRMALOAN2. SANCAMT,: PRMALOAN2. TOTINSTALMENT,
    : PRMALOAN2. RATERECOVERY,: PRMALOAN2. AMTRECOVERED,: PRMALOAN2. INSTALMENTRECOVERED,: PRMALOAN2. STARTYEARMM,: PRMALOAN2. ENDYEARMM;
    s: = to_date (':prmaloan2.startyearmm ','yyyymm ');
    e: = to_date (':prmaloan2.endyearmm ','yyyymm ');
    If
    e a null value
    then
    : prmaloan2. TEXT_ITEM164: = MONTHS_BETWEEN (d, s);
    exit when I % notfound;
    next_record;
    end if;
    end loop;
    proximity I;
    END;

    Please help me to remove this error

    Hello!

    s:=to_date(':prmaloan2.startyearmm','yyyymm');
    e:=to_date(':prmaloan2.endyearmm','yyyymm');
    

    won't. Replace:

    s:=to_date( :prmaloan2.startyearmm, 'yyyymm' );
    e:=to_date( :prmaloan2.endyearmm, 'yyyymm');
    

    Concerning

  • FRM - 40735:when - button-trigger pressed raised unhandled exception ORA-24247

    Hi all

    I use the 10g release2 form I'm having a problem
    When I use the following stored procedure in form so I get this
    error.
    FRM - 40735:when - button-trigger pressed raised unhandled exception ORA-24247
    but the same code works fine when I use in SQLPLUS.
    CREATE OR REPLACE PROCEDURE mail_attach (dir1 VARCHAR2, filename VARCHAR2)
    AS
      l_output  utl_file.file_type;
      l_file       RAW(32767);
      l_size       NUMBER;
      BLOCK       NUMBER;
      b          BOOLEAN;
      l_start NUMBER := 1;
      TYPE ARRAY IS TABLE OF VARCHAR2(255);
      l_data ARRAY := ARRAY([email protected]');
     BEGIN
      UTL_FILE.FGETATTR(dir1, filename, b, l_size, BLOCK);
      l_output := utl_file.fopen('BACKUP', 'code.txt', 'r' );
      utl_file.get_raw(l_output, l_file, l_size);
      utl_file.fclose( l_output );
      FOR i IN l_start .. l_data.COUNT
      LOOP
        UTL_MAIL.SEND_ATTACH_RAW (
            sender   => 'Mailer',
            recipients => l_data(i),
            subject   => 'Data for ' || TO_CHAR((SYSDATE-1),'DD-MON-YYYY'),
            attachment => l_file,
            message   => 'Dear User, Please find attached the upload
    data for the period mentioned in the subject line.',
            att_inline => FALSE,
            att_filename => filename);
           l_start := l_start + 1;
      END LOOP;
     END;
    and it is used in form release button when pressed.
    BEGIN
      mail_attach('UTL_PATH','code.txt');
      
         message('FIle send successfully');
         message('File send successfully');
    
    END;

    Hello

    Try the following...

    SQL> show user;
    USER is "SYS"
    SQL> GRANT EXECUTE ON DBMS_FGA TO MAIL;
    
    Grant succeeded.
    
    SQL> GRANT CREATE PROCEDURE, DROP ANY PROCEDURE TO MAIL;
    
    Grant succeeded.
    
    SQL> GRANT EXECUTE ON UTL_TCP TO MAIL;
    
    Grant succeeded.
    
    SQL> GRANT EXECUTE ON UTL_SMTP TO MAIL;
    
    Grant succeeded.
    
    SQL> GRANT EXECUTE ON UTL_ENCODE TO MAIL;
    
    Grant succeeded.
    
    SQL> GRANT EXECUTE ON DBMS_NETWORK_ACL_ADMIN TO MAIL;
    
    Grant succeeded
    

    Sarah.

  • FRM - 40735:WHEN - BUTTON-trigger PRESS raised unhandled exception ORA-06503

    Hi all...
    I develop a form on the form 6i like a registration form...

    Suppose emp_name is a text element...

    I need to validate that the point that the number, the null characters and special should not be allowed.

    I created a function to check these postings

    function v_check (p_item_name varchar2)
    return a Boolean value is
    Start

    I'm in 1.length (p_item_name)
    loop
    If substr(p_item_name,i,'1') in ('1','2','3','$','%','@','!','#') then
    Returns false;
    end if;
    end loop;
    end v_check;


    When I click on the save_Record button it commit the form I'm checking the field emp_name with this validation by calling the above function.

    save_Record button, I wrote this WHEN BUTTON PRESSED to code trigger

    declare
    a number;
    Start

    If: iptable.ip_name is null or (not v_check(:iptable.ip_name)) puis)
    set_alert_property ('alert', title, 'validation of name');
    set_alert_property ('alert' ', alert_message_text, ' years spl char null is not allowed ');
    a: = show_alert ('alert');
    go_item ('iptable.ip_name');
    raise form_trigger_failure;
    end if;
    If: system.form_status = 'CHANGED' then

    set_alert_property ('alert', title, 'Save box');
    set_alert_property ("alert", alert_message_text, "Save");
    a: = show_alert ('alert');
    If a = alert_button1 then
    commit_form;
    on the other
    raise form_trigger_failure;
    end if;
    on the other

    set_alert_property ('alert', title, 'Save box');
    set_alert_property ("alert", alert_message_text, "Noting the box save");
    raise form_trigger_failure;

    end if;
    end;


    But I get this
    FRM - 40735:WHEN - BUTTON-trigger PRESS raised unhandled exception ORA-06503

    exception

    How I can fix this error... help me

    Thank you...

    Published by: maddyd2k on November 25, 2010 10:37

    Hello

    Actually your v_check function may return a null value, that is not TRUE nor FALSE.

    Modify your function like this:

    function v_check (p_item_name varchar2)
    return a Boolean value is
    Boolean l_return: = true;
    Start

    I'm in 1.length (p_item_name)
    loop
    If substr(p_item_name,i,'1') in ('1','2','3','$','%','@','!','#') then
    l_return: = false;
    end if;
    end loop;
    Return l_return;
    end v_check;

  • FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06508

    Hi all

    Pending Production, we have a problem on invoice AP Workbench, gives an error (FRM-40735 after query Trigger on level Bill) when we recover the existing data of the invoice is entered.

    For this we have compiled the invalid objects and applied the patch according to metalink id [ID 1209736.1]

    After that we came up with new error FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06508.

    Can someone help us

    Thank you
    SAI

    SAI,

    Thanks for the update and share the solution.

    Hussein

  • Error FRM-40735: trigger ON-ERROR raised unhandled exception ORA-01001

    When I want to create a new project the form send this error message:

    FRM-40735: trigger ON-ERROR raised unhandled exception ORA-01001

    I already compile forms, they ran autoconfig and has no

    Forms is: PAXPREPR

    the module is: projects

    EBS version: 11.5.10.2

    DB: 11.2.0.3.0

    Please see:

    PAXPREPR - creating a project gets error FRM-40735: error Trigger & ORA - 01001 (Doc ID 417218.1)

    PAXPREPR - FRM-40735 when you try to copy the project template after you have entered a fast entry (Doc ID 417537.1)

    Thank you

    Hussein

  • FRM-40735: trigger ON-ERROR raised unhandled exception ORA-06508

    Hello

    We are the migration form 6i to 10g (10.1.2.0.2) with HP_UX. Here are the steps I took

    1. I compiled all the forms/pll/menu locally using Shift + Ctrl + k, and Clt + T and saved in the folder (local_10g).

    2. then all copied from local_10g to the file (unix_10g) in Unix.

    3 compiled it using the command Frmcmp and got all the mmx, plx successfully and most of the fmxs. (some of FMAS throw error).

    4 copied all fmx, plx, mmx to unix (unix_10g) folded in my forms_prod say local.

    5. when I run fmb in my local forms_prod folder, I have error FRM-40735: trigger ON-ERROR raised unhandled exception ORA-06508.

    I added location c:\forms_prod in Forms_path (regedit) and Forsm_Path (default.env). (for locals)
    I added the location of u01\unix_10g in Forms_Path (default.env) on unix.

    Please let me know what and where I am doing wrong? I'd really appreciate your help.

    Thank you
    Sandy

    Hello

    In General, you have to compile the module on each of the target servers, because the executable modules are not portable.

    François

  • FRM-40735: trigger ON-ERROR raised unhandled exception ORA-01001

    Hi Hussein.

    I tried to interview as a summary transaction for AR

    Superuser of receivables > Transactions > summary of the operation > and request date of the operation "5 June 09.
    the process lasted until after a long period, it displays error > FRM-40735: trigger ON-ERROR raised unhandled exception ORA-01001

    But all the other dates are OK for the query. :(


    What is the problem with this operation? My delete tables interfaces affected it? :((


    Thank you very much

    Hello

    I can make this comment: first 445166.1? It's short and easy to follow. Another note is too long and complicated.

    Yes, you can.

    For removing the transaction from the backend, I don't recommend it unless you are prompted to do so by the Support of Oracle.

    Kind regards
    Hussein

  • FRM-40735 when key pressed raised unhandled exception ora-12899

    I am Ranga

    I can't recover this error please help me

    I wrote the code in when pressed release button is

    Start
    insert into jnnurm_user values (':new_block.user_name ',':new_block.password ');
    GO_BLOCK ('NEW_USER_BLOCK');
    end;

    Please help me what should I do

    Hello
    Welcome to the forums,

    Do not use the single quotation mark while referencing the name of the form field. Try as below.

    begin
       insert into jnnurm_user
       values(:new_block.user_name,:new_block.password);
       GO_BLOCK('NEW_USER_BLOCK');
    end;
    

    It is recommended to mention columns to insert statement for which you want to insert data.

    -Clément

  • FRM 40735 when the shutter button has raised an Unhandled Exception ORA-04062

    I just increases the length of a column in some tables (same column) in the database that is the only change I made. This same exception has been given in other forms after this change has been made, so I recompile these forms and then they worked fine, but in some forms when recompiling it worked for some data, but does not wok for others. I want to know what is the reason for this problem. Please help me on this... Urgent!

    Thanks in advance

    Hi Muza,

    The exact scenario as follows, I increases the number of account between Varchar20 and varchar30 field and I have compiled all the modules and when running with some used his works correctly even if not for others.

    It seems to be a problem with the data of some employees. You should check the data and find out what specific data does not work and why?

    So to solve the problem by taking the necessary measures...

    Hope this helps

    Hamid

  • When trying to install a new operating unit gives an error: FRM-40735: trigger of PREFORM raised unhandled exception ORA-06502

    EBS - accounts payable - Version 12.1.3.

    We have a lot of other business units configured and no error occurs.

    This error occurs only if we define a new ORGANIZATIONAL unit.

    All profiles have been configured correctly. (MO: appliance, HR: security profile, etc...)

    The trace shows:

    SELECT PROFILE_OPTION_VALUE

    OF FND_PROFILE_OPTION_VALUES

    WHERE PROFILE_OPTION_ID = 5852

    AND APPLICATION_ID = 178

    AND LEVEL_ID = 10003

    AND LEVEL_VALUE = 124280

    AND LEVEL_VALUE_APPLICATION_ID = 200

    AND PROFILE_OPTION_VALUE IS NOT NULL

    PROFILE_OPTION_ID = 5852 is "ICX:Session Timeout".

    If I put this profile the error does not occur. But it's very strange to have set a level of responsibility.

    Hi all.

    I discovered what the problem was.

    The size of the name of the responsibility has been with many characters.

    Reduces the size and the error continued to occur.

    TKS!

Maybe you are looking for