Annoying FRM-40505 error

I'm getting this annoying FRM-40505 error. I have a PB with a WBP trigger setting the default "where" to this:
BEGIN
go_block('REFNO_00000_CR');
set_block_property('refno_00000_cr', default_where,':refno_00000_cr.i_cage = "0MUW4" and :refno_00000_cr.i_refno = "0020AB"');
execute_query(no_commit);
The shift_F1 doesn't display anything. I've used this process in other forms before with no problem. I've compared all properties(form, data block, data item) with forms that worked and all properties are the same. Our DBA said I have permissions to access this table. I've even been able to access this table using a cursor. HELP!!

You don't need the colons in front of the refno..... bits and you don't need the refno_000000_cr as this is the block name.
Try:
set_block_property('refno_00000_cr', default_where,'i_cage = "0MUW4" and i_refno = "0020AB"');
rgds
Tony.

Similar Messages

  • Urgent : About FRM-40505 Error

    hai,
    i got this error at execute_query statement while running a query with record group in fomrs.
    the error should be unable to execute query with error no frm-40505.
    i verified query itself works in back-end.
    i also got record count also based on record group on the query.
    what i will do...
    waiting.....
    madhava
    e-mail: [email protected]

    If you press Shift+F1 you will see an error.

  • Help: Confusing FRM-40505 error

    I am working a FROM based on stored procedures. This error occur on actual test DB login. However, if I login from my own DB space, the error does not occur.
    Notice: I put exactly same SPEC and BODY of stored procedures in my DB space as well as in test DB.
    Any clues?
    Thank you in advance.
    Jimmy

    From the Forms-Help:
    FRM-40505: ORACLE error: unable to perform query.
    Cause:     Processing error encountered. The table associated with the current block of the form might not exist, or your username might not have authority to perform the specified action on the table.
    Action:     Pressing [Display Error] provides more information, if it is available. You can also try to update or delete this record later. If necessary, contact your DBA.
    Level:     >25
    Type:     Error
    Try to issue the Forms-Builtin DISPLAY_ERROR to display the wrong statement. It could be missing grants or synonyms on your test DB.
    Peter

  • 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.

  • Help: FRM-40505 for a FORM based on stored procedures

    Hi,
    I am working on a FORM based on stored procedures. When it performs a query, it actually returns record, but still comes with the message FRM-40505: ORACLE error: unable to perform query. Any recommendations on the possible coding area to check?
    Thank you in advance.
    Jimmy

    Jimmy,
    To base a block on a stored procedure is not a simple task because it depends on the .....
    .... stored procedure !
    If you do not provide much information (like the famous stored procedure), we could not do anything for you.
    As much information you provide, as much chance we have to understand the problem.
    Francois

  • BLOB causing FRM-40505

    Any clue why a blob field in a datablock would cause an FRM-40505 (query failed).
    This only happens only after I upload to the server (Forms Servlet and 9iDB). Works fine in the developer (client/server mode).
    HELP!

    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 Unable to query (table does not exist)

    Hey,
    I have a form which has two blocks that are master and detail blocks. On the form, there are 3 fields that allow the query. If there is record found in the master then it works fine. If nothing found, it shows "query causes no records" which is also fine. But afterwards, no matter what I type in to query, it always show frm-40505. Oracle error, unable to perform query. I click "display error", it shows:
    SELECT ROWID,LOC,INV_NUMBER,RECNO,FACTOR,C_DESC,ADJ_TYPE,CODE,AMT FROM OE_INVOICE_ADJ
    WHERE (LOC=:1) and (INV_NUMBER=:2) order by recno
    frm - 09402:Table or view does not exist.
    Here oe_invoice_adj is the detail table and it does exist. If I stop the form and run it again then it's fine. It only happens after "query causes no records".
    Any ideas? thanks a lot in advance.

    Jay, Have you created public synonym for the tables so that the users don't have to refer the tables with the schema scott.xtable...
    and have the users been given the SELECT privilege to those tables....
    mb
    I actually created the tables and views for my application by logging in as scott/tiger.Now the users I have created with due privileges are just able to log in but unable to perform any query or DML.The error message is FRM 40505'UNABLE TO PERFORM QUERY' which says table or view does not exist.How do I fix this problem?
    Please get me a solution
    Thanks
    Jay

  • Getting FRM-40010 Error While opening new form  .fmx

    Hi,
    Oracle apps : 11.5.10.2
    Forms : Forms 6.0
    I'm creating a custom form by using one oracle apps table.I created a basic form by using template.fmb and then saved it to directory "/dir1" and run this form by connecting to oracle apps database.
    When I try to open .fmx from this directory ('/dir1') I'm getting FRM-40010 error.When I checked FORM60_PATH = It's showing /u01...../au/11.5.0/resource.I don't see "/dir1" in that path?
    Do I need to modify forms60_path ?
    Do I need to register this form before running as it's using table from Oracle apps schema?
    Thanks,
    Kiran

    When I try to open .fmx from this directory ('/dir1') I'm getting FRM-40010 error.When I checked FORM60_PATH = It's showing /u01...../au/11.5.0/resource.I don't see "/dir1" in that path?You need to set FORMS60_PATH and include /dir1 in this path.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=FRM-40010+&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Do I need to modify forms60_path ?Yes.
    $ export FORMS60_PATH=$FORMS60_PATH:/dir1
    Do I need to register this form before running as it's using table from Oracle apps schema?Yes.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Register+AND+Custom+AND+Form&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Custom+AND+Form&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • FRM-18108 Error when opening a form with subclassed objects

    Dear Group,
    I have 2 forms in Oracle Forms 6i. One of the forms contains an object group. The other form contains the object that I subclassed it to.
    When I open the form that contains the subclassed object group, I get the FRM-18108 error.
    If I open the form with the original object group, then open the subclassed form, there is no error.
    Does this mean I must always open the original form in order to work on the one with the subclassed object group?
    I hope there is an simple solution to what is something I am missing in my Oracle Forms setup.
    Thank you in advance.
    Emad

    Hi Duncan.
    Your suggestion worked.
    Thank you for the fast response!
    Truly,
    Emad

  • FRM-40737 Error, While using COMMIT_FORM

    Hi,
    Please guide for the following:
    In a form, I have two data blocks,namely master and detail.
    In PRE-INSERT trigger of master block, I am using GO_BLOCK('detail').
    The form has a SAVE_BTN also, in save_btn i am using COMMIT_FORM.
    When user clicks save-btn , FRM-40737 error is generating.
    Please help.
    Regards,

    You can't use go_block in a pre-insert trigger - it is a restricted built-in.
    When you commit, the Form will save all the changes regardless of which block they are in.
    Steve

  • FRM-92101 error while opening forms & OC4J

    Hi all,
    I have a customer having problem after certain number of users connecting to the application.
    These are the following setup in the environment:
    1. OAS 10.1.2.1
    2. Windows 2003 Standard Edition SP1 32 Bit
    3. Memory 2GB
    They are running the application using the Oracle Form, connecting through the application using Internet Explorer.
    Number of users might connect to the application are around 42 users in application server #1 and 10 users in application server #2.
    Recently they reported that they experiencing the FRM-92101 in random fashion in all clients computer.
    I did a check on the windows task manager and I can see that frmweb.exe process will consume around 17MB - 68MB.
    This is random, not all process consuming up to 68MB, some of it will be in the avarage of 30MB to 50MB.
    I checked the registry for the desktop heap setting which is in HKEY_LOCAL_MACHINE -> System -> Current Control Set -> Control -> Session Manager -> SubSystems. There is a key named Windows and inside here there is a variable called SharedSection. Currently the value is set to 2048, 3072, 2048
    From what I know this setting should be enough for around 40 users.
    I noticed when 42 users were connecting to app server #1, the physical memory available is only around 140MB.
    This FRM-92101 error is not only happening to app server #1 but also #2 which only handles 10 users maximum.
    From the information above, I have some questions:
    1. What other areas that I need to check for this?
    2. What other configuration I can increase so this error is not happening anymore?
    3. If I check on opmnctl status, I can only see 1 OC4J home and OC4J_BI_FORMS. Does increasing the number of OC4J can suppress this error?
    Please give me the enlightment.
    Thank you so much,
    Adhika

    Hi sandeep;
    I have installed vision database r12(12.0.4) on hp ux (11.31).
    I am able to open the login page but when trying to access any form it gives below mention error.
    FRM-92101: There was a failure in the Forms Server during startup. This could happen due to invalid configuration.
    I have checked below mention log file.
    /devbackup/applvis/inst/apps/VIS_reeldev/logs/ora/10.1.3/opmn/forms_default_group_1/formsstd.out
    Error:
    Forms session <1> aborted: runtime process failed during startup with errors /usr/lib/hpux32/dld.so: Unsatisfied code symbol 'nnftboot' in load module '/devbackup/applvis/apps/tech_st/10.1.2/lib32/libclntsh.so.10.1'.Please check below and see its helpful:
    Error Dld.So: Unsatisfied Code Symbol 'Nnftboot' Signal 9 When Running Reports Concurrent Requests [ID 560287.1]
    All Concurrent Requests End With Signal 9 Termination Error [ID 452714.1]
    Also check Apache log files for more details
    What is post installation task after installing r12?You can follow Recomended R12 patches On Metalink
    Not able to execute .env file with owner and privileges, why?How you are trying to execute?
    How to get r12 original media from oracle? You can log Sr for media or you can contact wiht your oracle local office
    Regard
    Helios

  • FRM-92101 error while running report from form

    HI All,
    I am getting the form error FRM-92101 while running report from form menu.My code is given below:
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('REPORT47');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    WEB.SHOW_DOCUMENT('http://192.168.0.21:8889/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    ELSE
    message('Error when running report');
    END IF;
    Clear_message;
    END;
    Clear_message;
    --Arif                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    hi Arif
    Please see this note on MOS/Metalink for some common causes of this error:
    Known Causes of FRM-92101 Error In Forms [ID 604633.1]
    thanks,
    AMN

  • FRM-41830 error when opening zoom form

    Hi All,
    I am facing a strange issue.
    We are using ZOOM functionality. Now I need to make some changes to the existing CUSTOM.pll file. The CUSTOM.pll is in our $CUSTOM_TOP/resource. The CUSTOM.plx file is placed in $AU_TOP/resource. I have taken backup of the CUSTOM.pll and plx file. I have made the changes and compiled in Middle tier from $AU_TOP/resource path.
    Once I open the application and click on ZOOM button, I am receving FRM-41830 error. Once I click ok, the ZOOM form is opened and could see the LOV details and the subsequent process is working fine.
    To test, I have replaced the backup CUSTOM.plx file and the issue is not reinstated.
    There is CUSTOM.pll file in $AU_TOP/resource, but it is a seeded copy and do not contain any of our custom logic.
    I am confident that the .pll file in $CUSTOM_TOP is the source.
    As another test, I have renamed the CUSTOM.pll in $AU_TOP/resource and tried compiling. I received the below error :*PDE-PLI018 Could not find library CUSTOM*. Once I undo the renaming, the compilation was successfull. Does it mean that Custom.pll in $AU_TOP/resource is being mapped?
    Command used is:
    f60gen Module=$CUSTOM_TOP/resource/CUSTOM.pll Userid=APPS/xxxx Output_File=$AU_TOP/resource/CUSTOM.plx Module_Type=LIBRARY compile_all=special
    Can anyone help me in resolving the issue.
    Thank You
    Sateesh
    Edited by: user11083692 on Aug 5, 2009 12:40 AM

    FRM-41830 error is "List of values contains no entries" - what changes have been made to CUSTOM.pll ?
    HTH
    Srini

  • FRM - 40735 Error

    Hi,
    In Oracle EBS 11i ->HRMS module , when opening any form showing error message like FRM -40735 and ora 6508.
    And the error is only in this module. In other modules the forms are working. it has no error.
    What is the reason for this? Can any solution for this?
    Please reply.
    Regards
    Naseer

    What is the exact application release? Database version? OS?
    Please post the complete error message.
    Was this working before? If yes, any changes have been done recently?
    Do you have any custom code on this module? --FRM-40735: PRE-UPDATE trigger raised unhandled exception ORA-06508 - ORA-1403: no data found [ID 783098.1]
    Do you have any invalid objects? Any errors in the database?
    Known errors generated on the People form (PERWSHRG) [ID 206584.1]
    ORA-04063 and FRM-40735 Errors When Creating Employees Using Human Resources [ID 149672.1]
    If none of the above helps, please obtain the FRD file and see if you get more details about the issue in the logs.
    How To Perform Forms Runtime Diagnostics (FRD) Tracing in Applications 11i [ID 167635.1]
    Obtaining Forms Runtime Diagnostics (FRD) In Oracle Applications 11i [ID 150168.1]
    Quick Ref: How To Perform Forms Runtime Diagnostic Trace (FRD) in Applications 11i [ID 149201.1]
    Unable to Create Forms Runtime Diagnostics (FRD) Trace on Ebusiness Suite 11i? [ID 749363.1]
    Thanks,
    Hussein

Maybe you are looking for

  • Problems with Acrobat 9 Pro

    I have Acrobat 9 Pro. All of a sudden, it no longer creates PDFs. Is Adobe no longer supporting this? I uninstalled and reinstalled the program. No luck. (It still reads PDFs though). If I upgrade to Acrobat XI, will that enable me to create PDFs? I

  • Missing playlist music

    Last night I opened iTunes to listen to music. I clicked on a playlist to discover that all my ordinary playlists are empty (the smart playlists are fine). The music shows up in the main "music" section, however, it will takes hours (if not days) of

  • Photo app that can display large EXIF caption field?

    A while ago I went in search of a photo app that could display captions along with my photos.  I didn't really need to do any serious editing of the photo.  I settled on Photo Manager Pro and I'm pretty happy with it except it can only display one li

  • FCP paste to target track in V5.1.2

    Hello, We have been wondering for some time how to paste into a specific video channel. The tabs on the left of the timeline tracks don't seem to affect it. Right now, if I copy something on say, track 4... it will paste to track 4. How can I train i

  • Collapsed core network design

    I am a consultant, currently a CCNA studying for the CCNP, and I have been mandated to design the network infrastructure for the corporate head office of a mid sized company. My design is based on a collapsed core network, with 2 x 4900M Switches as