"FRM-40501: Oracle error: Unable to Reserve Record For Update or Delete"

"FRM-40501: Oracle error: Unable to Reserve Record For Update or Delete"
as I can unblock a session in the graphical surroundings of administration of the BD 10g of Oracle

From experience with this problem since the blocked customer form has been coded not to wait for the updating session to complete then there is likely no waiter on the system now so you cannot find the blocking session.
What you need to do is determine what row the Form was going after then using SQLPlus issue an update on the row. If the blocking session has not yet committed then this update will wait. Now if you look for blocking sessions you will be able to find it and make a determination if the session should be killed or if someone needs to call the user and ask he or she to flip through their screens and get out of the blocking screen.
Applications screens written not to wait on currently being updated data need to also be written to expose the information necessary to identify the row(s) in question.
HTH -- Mark D Powell --

Similar Messages

  • FRM-40501 ORACLE error: unable to reserve record for update or delete when

    Hello.
    I have two tab pages and one item on each page. Second tab page item, is mirror item of the first one. I use synchronize property on the mirrored one.
    When i try to update mirrored one i get that error: FRM-40501 ORACLE error: unable to reserve record for update or delete when.
    How can i solve that?
    Thanks

    hi dejan,
    the error u r getting means that the record cannot be locked. This is ussually caused if u had locked the record from somewhere else (u or another user) or when forms cannot find corresponding column to the base table to lock the record.. U probably r facing the second situation. I'm not sure that forms can commit a change to an item that is synchronized cause synchronized items ignore their base table attribute and just copy their value from the other item.
    Why don't u try Copy Value from Item property using <block_name>.<item_name> syntax and your item will have a value copied from the other item but u will have no problem with the db transactions. I suppose..
    hope this helps,
    teo

  • [SOLVED] FRM-40508:ORACLE error: unable to INSERT record

    Hi all,
    I have migrated this form from 4.5 to 10g (Version 10.1.2.0.2 ). This form inserts a record into the database table when all the fields in the form are filled and a button Save is presed.
    At the time when I press the Save button, I get this error. FRM-40508:ORACLE error: unable to INSERT record
    So I went on to see the "Display Error" from help and found to be the database error, inserting into a table.
    The error message is ORA-00932: inconsistent datatypes: expected DATE got NUMBER
    The form where I press Save button has 3 date fields and I checked the properties of them and they are Date only.
    I also generated to object list report and tried to find some answer, but no use.
    Please help me in debugging this form.
    Edited by: Charan on Aug 18, 2011 4:05 PM

    I think you need to get a description of the table and compare all the "database" columns in the form with the ones in the database table to see that the types match. Somewhere there's a mismatch. Also check the block(s) "query data source columns" and see if there's any
    columns in there that the type does not match the table. (check the sizes of things too while you're at it.)

  • FRM-40509: ORACLE error: unable to UPDATE record.

    FRM-40509: ORACLE error: unable to UPDATE record.
    what can i do?

    There will always be another error which tells you what the actual problem on the database is. Use the Display message key, or message out DBMS_ERROR_TEXT

  • FRM-40506: Oracle error: unable to check for record uniqueness

    Hello everyone
    I have an emergency problom. the context is:
    I have a master -detail structure in a form. first, my detail is a tabulation view, so it has severals records. Then, when i try to commit the form ii received the message <<<FRM-40506: Oracle error: unable to check for record uniqueness>>.
    i made a test by changing the detail block presentation to Form. and i could save because my detail has one record.
    Could someone has any idea how can I save my master-detail form with severals records in my detail.
    Master
    [code_p] [non_P]
    Detail
    [code_p] [product1]
    [code_p] [product2]
    [code_p] product3]
    [code_p] [productn]
    thanks!

    Error Cause:
    Processing error encountered while checking a record's primary key items for uniqueness. The table associated with the current block of the form does not exist, or you do not have authority to access the table.
    You can review the error documentation:
    http://www.errorpro.com/oracleerrors/oraerror.php?level1=Oracle&send=Send&ecode=FRM-40506&Submit=Search

  • FRM-40509: ORACLE error : Unable to update the record.

    Hi,
    I am having the following code in delete button.
    declare
         v_button  NUMBER;
    begin
      IF :CHNG_CNTRL_JOB_DTLS.SENT_DATE IS NULL THEN
                   v_button := fn_display_warning_alert( 'Do you want to delete the version ?');
                   IF ( v_button = alert_button1 )
                        THEN
                          message('before insert');
                          insert into chng_cntrl_job_dtls_log
                          select * from chng_cntrl_job_dtls
                          where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
                          and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
                          and sent_date is null;
                          message('before delete');
                          delete from CHNG_CNTRL_JOB_DTLS
                          where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
                          and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
                          and sent_date is null;
                          message('before commit');
                          silent_commit;
                          go_item('CHNG_CNTRL_JOB_DTLS.JOB_NAME');
                          P_DELETE_SET_PROPERTY;
                          clear_form;
                   ELSIF ( v_button = alert_button2 )
                        THEN
                          null;
                END IF;
         ELSE
                p_display_alert('Version '||:CHNG_CNTRL_JOB_DTLS.JOB_VERSION_NO||' for the job name '||:CHNG_CNTRL_JOB_DTLS.JOB_NAME||' cannot be deleted.','I');
      END IF;
         exception
              when others then
              message ('Exception in delete version button');
              end;when i am trying to save it says " *FRM-40509: ORACLE error : Unable to update the record*." .
    i am getting message till before commit.
    i am not able to check the error message in help as it is diabled in our form builder.
    I have checked the privileges also. they are fine.
    Please advice.
    Edited by: Sudhir on Dec 7, 2010 12:26 PM

    This error does not come from your procedure code, but from Forms itself. If you are in a database block, change something, and do a commit (either via a Forms key or in your own procedure), Forms commits the changes. For some reason this is not possible. You can see the database error via the Display Error key (often Shift-F1).
    I see in the OP that this key is disabled. Change the on-error code then:
    begin
       message(dbms_error_code||'-'||dbms_error_text);
       raise form_trigger_failure;     
    end;     Edited by: InoL on Dec 7, 2010 8:50 AM

  • Frm-40502: oracle error: unable to read list of values

    Hi All,
    I am personalizing the assignment form, where we need to restrict the JOB LOV based on Organization value.
    In Forms Personalization we are creating the record group from query and attaching to Job field.
    The query is,
    SELECT DISTINCT j.NAME, DECODE (1, 2, 1, NULL) c_valid_job_flag,
    j.job_id job_id
    FROM per_jobs_v j
    WHERE j.business_group_id + 0 = :CTL_GLOBALS.BUSINESS_GROUP_ID
    AND j.date_from <= :CTL_GLOBALS.SESSION_DATE
    AND ( (j.date_to IS NULL)
    OR (j.date_to >= :CTL_GLOBALS.SESSION_DATE)
    ORDER BY j.NAME
    When we use this query, we are getting the error "frm-40502: oracle error: unable to read list of values"
    If i replace the bind variable with values we are not getting the error and its working fine.
    Replace query:
    SELECT DISTINCT j.NAME, DECODE (1, 2, 1, NULL) c_valid_job_flag,
    j.job_id job_id
    FROM per_jobs_v j
    WHERE j.business_group_id + 0 = 202
    AND j.date_from <= TRUNC(SYSDATE)
    AND ( (j.date_to IS NULL)
    OR (j.date_to >= TRUNC(SYSDATE))
    ORDER BY j.NAME
    how to use bind variables (Block.field) here? We are getting this error only when using the bind variable in the query.
    Please share your ideas.
    Thanks.

    Hi;
    What is your EBS version? There are 96 docs avaliable about similar error message. I suggest use metalink for your issue
    You can also check:
    FRM-40502: Oracle Error: Unable To Read List Of Values [ID 1161404.1]
    Frm-40502: Oracle Error: Unable To Read List Of Values. [ID 351931.1]
    FRM 40502: Oracle Error:Unable to Read List of Values [ID 179162.1]
    Regard
    Helios

  • Forms Personalization - FRM-40502: ORACLE error: unable to read list of val

    Hi,
    I am using Forms Personalization to create an LOV using builtin. In the Builtin, I have put the sql query under create record group from query. In the query, when I hardcode a value, in a where condition, the LOV works fine but when I replace the hardcoded value with :block.field value, it gives the error, FRM-40502: ORACLE error: unable to read list of values. Below is the part of the sql query where I am facing this issue.
    "WHERE related_customer_id = :ORDER.INVOICE_TO_CUSTOMER_ID"
    Please get back to me if anyone has faced similar problem.
    Thanks all in advance,
    Regards,
    AN

    Please post a new thread for each issue. Tacking onto a 2 year old post is generally a bad idea.
    Forms personalization is a feature in Oracle E+Biz Suite and as such you should post your question in this forum:
    OA Framework

  • About the FRM-40508 ORACLE ERROR, Unable to insert'

    Dear Friends:
    I use the Toolbar button to insert one record -- do_key('CREATE_RECORD') in the Toolbar_actions procedure, and then, input the value for this record, and then, click the "Save" button -- commit_form; in the when_button_pressed trigger. There will be the problem FRM-40508 ORACLE ERROR, Unable to insert' .
    Please kindly help to fix it...........

    Hi,
    See...just for a test, please give whatever u input in the form, give the same in the sql query
    like
    insert into tablename etc in sql builder and see what happens,
    This error will come,
    if input value does not meet the datatype in the table or
    if u fail to input value for not null column or
    access rights pbm(check whether you have rights to insert in to the table)
    Regards
    Priya

  • FRM-40512 ORACLE ERROR UNABLE TO ISSUE SAVE POINT COMAND

    Dear Friends
    I am getting this FRM-99999 ERRORE 408 OCCURRED FRM-40655 SQL ERROR FORCED ROLLBACK CLEAR FROM AND RE-ENTER TRANACTION.
    FRM-40512 ORACLE ERROR UNABLE TO ISSUE SAVE POINT COMAND.
    I am calling the form using the following script :
    :global.command_line := 'C:\SALES\NEW_ITEMS.FMX' ;
    CALL_FORM(:global.command_line);
    go_block('COP_ORDER_DETAILS');
    go_record(:global.l_n_curr_rec2);
    :COP_ORDER_DETAILS.ITEM_CODE :=:GLOBAL.ITEM_CODE_VAR;
    :COP_ORDER_DETAILS.COLOR := :GLOBAL.COLOR_CODE ;
    :COP_ORDER_DETAILS.SHAPE_CODE := :GLOBAL.SHAPE_CODE ;
    :COP_ORDER_DETAILS.DELIVERY_QUANTITY := :GLOBAL.QTY ;
    :COP_ORDER_DETAILS.VOLUME := :GLOBAL.VOLUME;
    It works fine for one record, when I try to create another record by calling the called form it gives the above messages.
    Waiting for your valuable replay.
    Best regards
    Jamil

    Hi!
    May you try to open your form, compile all pl/sql (shift-ctrl-k) and compile the form (ctrl-t).
    Take a look at triggers like pre-insert, on-insert, post-insert and key-commit.
    What's happen there?
    I don't know, if the default username feature in 10g is still supported.
    So may the logon ( '/' ...) fails and for this the login screen os shown.
    Regards

  • Frm-40505:ORACLE error: unable to perform query in oracle forms 10g

    Hi,
    I get error frm-40505:ORACLE error: unable to perform query on oracle form in 10g environment, but the same form works properly in 6i.
    Please let me know what do i need to do to correct this problem.
    Regards,
    Priya

    Hi everyone,
    I have block created on view V_LE_USID_1L (which gives the error frm-40505) . We don't need any updation on this block, so the property 'updateallowed' is set to 'NO'.
    To fix this error I modified 'Keymode' property, set it to 'updatable' from 'automatic'. This change solved the problem with frm-40505 but it leads one more problem.
    The datablock v_le_usid_1l allows user to enter the text (i.e. updated the field), when the data is saved, no message is shown. When the data is refreshed on the screen, the change done previously on the block will not be seen (this is because the block updateallowed is set to NO), how do we stop the fields of the block being editable?
    We don't want to go ahead with this solution as, we might find several similar screens nad its diff to modify each one of them individually. When they work properly in 6i, what it doesn't in 10g? does it require any registry setting?
    Regards,
    Priya

  • FRM-40505  Oracle Error: Unable to perform query(URGENT)

    Hi I developed a form with a control_block and table_block(based on table)
    in same Canvas.
    Based on values on control_block and pressing Find button detail block will be queried.
    Control_block ->
    textitem name "payment_type" char type
    text item name "class_code " char type
    push button "find"
    base table: --> payment_terms(termid,payment_type,class_code,other colums)
    table_block is based on above table
    Now I have written when-button-pressed trigger on find button..
    declare
    l_search varchar2(100);     
    BEGIN
    l_search := 'payment_type='|| :control_block .payment_type||' AND class_code='||:control_block .class_code ;
    SET_BLOCK_PROPERTY('table_block',DEFAULT_WHERE,l_search);
    go_block('table_block');
    EXECUTE_QUERY;
    EXCEPTION
         when others then
         null;
    END;
    I am getting
    FRM-40505 Oracle Error: Unable to perform query
    please help..

    You don't need to build the default_where at run time. Just hard-code the WHERE Clause property as:
        column_x = :PARAMETER.X
    But, if for some compelling reason, you MUST do it at run time this should work:
        Set_block_property('MYBLOCK',Default_where,
            'COLUMN_X=:PARAMETER.X');
    Note that there are NO quotes except for first and last. If you get some sort of error when you query, you should actually see :Parameter.X replaced with :1 when you do Help, Display Error.

  • FRM-40512 ORACLE error: unable to issue SAVEPOINT command

    Anybody, know , how can i to increse the savepoints value in init.ora in 9i ?
    regards.
    MDF

    thanks, sir,
    u have got the point. problem is that the oacle system doesnt kill that session; instead it hold the session. where i could do nothing. and moreover, if i was performing any dml operation then it(oracle system) locks the very records.
    if i log-on next time & want to retrieve & perform the same dml operation again then
    it gives me the message:
    "Resource busy & acquire no wait ........."
    then i have to kill the previous session manually.
    now, please give me a solution where i want to reconnect holding the current session & perform the desire tasks assuming that nothing has happened.
    please give me some examples.
    saiful

  • FRM-40505 ORACLE error: unable to perform query

    I have a block based on a table but when I issue an execute_query in "WHEN_NEW_BLOCK_INSTANCE" I get the above error.
    I know can access this table because immediately after this I select some fields from the table into variables and display them. However when I try and assign them to the fields in the block I get "FRM:41051 You cannot create records here."
    Can you please help.

    If I set "Insert Allowed" and Update Allowed" to yes I can assign values I've selected form the table to the fields but the execute_query still fails.
    By the way, I have a where clause in the property block to limit the number of rows brought back to 1

  • Error: Unable to find class for bean

    Dear all,
    please help help with the problem
    i've a jsp as follows:
    <@page import="java.util.*, com.abc.*" %>
    <jsp:useBean id="mybean" class="MyClass" />
    <% out.println("Testing bean"); %>
    where MyClass.class is located WEB-INF/classes/com/abc/MyClass.class
    it works fine in Oracle iAS with oc4j 1.0.2.1.1 (not 9iAS R2)
    when i upgrade to 9iAS R2 with oc4j 9.0.3
    it's complaining the error of
    OracleJSP: oracle.jsp.parse.JspParseException: Line # 8, <jsp:useBean id="mybean" class="MyClass" />
    Error: Unable to find class for bean: mybean defined by tag with class: MyClass
    then i changed the line <jsp:useBean....> to
    <jsp:useBean id="mybean" class="com.abc.MyClass" />
    it didn't complain the error
    anyone know that the syntax of specifying class must be coded as package.xxx.xxx etc?
    Thank you very much

    You should specify the fully qualified class name (i.e. with package structure) in the class attribute of useBean tag.
    Read the syntax of useBean tag here
    http://java.sun.com/products/jsp/syntax/1.1/syntaxref1115.html
    Chandar

Maybe you are looking for

  • How to configure a new status report in cProjects?

    First of all, the standard status report PDF is not rendering at all when we generate the status report - we CAN send it with the appropriate data, though, so we know that the program is gathering the data. All of our other custom interactive PDFs ar

  • Webdynpro abap from outside

    Hi Folks, I have created a webdynpro abap and it works very well, when I call ist from the application server or inside the network. Now I want to call it from outside and I get error " can not display the page". The url from inside  is http://server

  • Node functions in Message Mapping

    Hi, Could someone help me with some good exercises for node functions such as splitbyvalue, collapsecontents, removecontexts. I am a newbie to these functions and have absolutely no idea on how to use them. Would appreciate if someone could give very

  • How to alter database character set from AL32UTF8 to EE8MSWIN1250

    Hi folks, I'm using an Oracle 10g, XE database, which has a database character set set to AL32UTF8, what causes that some characters like "č ť ř ..." are not displayed. To fix this issue, I would like to change it to EE8MSWIN1250 character set as it'

  • Arranging iphoto albums

    How do I arrange the albums in chronological order instead of alphabetical. I accidentally changed it to alphabetical and can't figure out how to change it back!!! thanks