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.

Similar Messages

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

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

  • Urgent: Getting FRM-41211 when calling reports from forms for first time.

    Hi,
    We are running into the FRM-41211 error, when the users try to call a report from a form. The report is called from a form in SYNCHRONOUS mode. This is the only report that is being called. No other report is
    running at that time when the users get this error. This is happening only the first time when they try to call the report from the form. After getting this error, when they click on OK, and when they try to call this
    report again, the report works fine.
    Any ideas?? It's urgent...
    Thanks
    Vamshi.
    null

    Maybe try to use "run_report_product"?

  • 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

  • Frm-41380 error - cannot set the blocks query data source

    Fairly new forms so bare with me. I am creating a form based on one table. This table has one column that is a nested table.
    table name: szrtime
    table columns: szrtime_code, szrtime_styp_list
    szrtime_styp_list is a table of varchar2(1).
    main block is szvtime_block
    the block that contains the nested table is szvtime_styp_block
    I read that I could use a WHEN_NEW_RECORD_INSTANCE trigger on the main block to display the related nested table. I have tried the folllowing:
    Declare
    select_stmt Varchar2(512) ;
    Begin
    If :szvtime_block.szvtime_code Is not null Then
         select_stmt := '(SELECT column_value FROM TABLE ( SELECT szrtime_styp_list FROM szrtime WHERE szrtime_code = ''' || :SZVTIME_BLOCK.SZVTIME_CODE || '''))';
         Go_Block('SZVTIME_STYP_BLOCK' );
         Clear_Block ;
         message('select_stmt = '||select_stmt);
    Set_Block_Property( 'SZVTIME_STYP_BLOCK', QUERY_DATA_SOURCE_NAME, select_stmt ) ;
    Execute_Query ;
    Go_Block('SZVTIME_BLOCK') ;
    Else
    Go_Block('SZVTIME_STYP_BLOCK' );
    Clear_Block ;
    Go_Block('SZVTIME_BLOCK') ;
    End if ;
    End ;
    The result is the frm-41380 error.
    I have tried change the query data source type on the nested table block to Table or From-clause but did not help. The select statement that is valid and returns the correct result in Toad.
    Any suggestions on what to look for? Thank you.
    Todd

    > But what is giving me pause is that the user will be updating, deleting, and inserting
    into this table and, of course, the nested table column.
    It would give me pause, too. I've never used nested tables, so I poked around in Forms on-line help. In Forms 6i, it specifically states that Forms does not support the Nested Table structure.
    In Forms 10g help, it describes Nested Table structures, but says NOTHING about how a form would handle it. And that implies to me that it is still not supported. So good luck.
    In addition to creating the view, you may need to provide your own nested table updating procedures via a package on the server which your form can call. I know Forms supports passing pl/sql tables ("indexed by binary_integer"), so you could pass your nested table back and forth between the package and the form in that format.

  • FRM-92102 Error which accessing forms in EBS 12.0.6

    Hi,
    I am getting the FRM-92102 error, but not able to identify why this error is coming.
    My configuration is as below,
    Appl Tier: AP1, AP2
    CM Tier: CM1, CM2
    DB Tier: DB1, DB2 (RAC)
    I have setup the hardware load balancer.
    Now when application is running on all nodes and i try to access the forms, it gives me FRM 92102 error.
    If i shutdown application on either AP1 or AP2 and try to access the forms everything works fine.
    I would like to know why, when application is running on both nodes do i get this error.
    Thanks,
    Prasad

    Hi,
    Can you find more details in $LOG_HOME/ora/10.1.3/j2ee/forms/forms_<default_group_1>/application.log?
    Also, generate the FRD file and see if it collects more details about the error.
    Note: 438652.1 - R12: Forms Runtime Diagnostics (FRD), Tracing And Logging For Forms In Oracle Applications
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=438652.1
    Note: 445166.1 - How to create a FRD (Forms Runtime Diagnostic) Log in EBusiness Suite R12 using Forms 10g
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=445166.1
    Regards,
    Hussein

  • FRM-47023: No such parameter named G_QUERY_FIND Exists and frm-40105 error

    I have a problem in forms FRM-47023: No such parameter named G_QUERY_FIND Exists and frm-40105 error please can any one tel me the reason for this ....G_QUERY_FIND parameter is present in my form.fmb
    it is very urgent

    I have to call the page
    fnd_message.set_string('SRNO'||:xxecms_Related_Objects.SR_NUMBER);
                             fnd_message.show;
                   --          IF m is NULL THEN
         fnd_function.execute(FUNCTION_NAME=>'CSXSRISV',
    OPEN_FLAG=>'Y',
    SESSION_FLAG=>'Y',
    OTHER_PARAMS=>'SR_NO="'||:xxecms_Related_Objects.SR_NUMBER||'"');
    I have to go to the page to view where this sr is created.

  • FRM-92050 error

    Hi Experts,
    I am facing FRM-92050 error when opening any forms in oracle 11i(11.5.10.2 db-10.2.0.3OS-Solaris 10 SPARC) using adstrtall.sh. When i click on details, i get java.io.EOFexception error.. Now the strange thing is this error vanishes if i stop and start the forms server using adfrmctl.sh. But if i run adstpall.sh followed by adstrall.sh, then i face the same error and i have to bounce the forms server using adfrmctl.sh to get rid of the error. No errors are being logged in either of the log files(Apache,jvm). No changes have been done to the system recently. Hope u guys can help me out with this problem
    THanks..
    Have a great day

    Hi,
    What is the complete error message?
    As no errors can be found in the log file, did you try AutoConfig and see if it helps?
    If AutoConfig does not help, obtain the FRD file and see if it collects more details about the error.
    Note: 150168.1 - Obtaining Forms Runtime Diagnostics (FRD) In Oracle Applications 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=150168.1
    Regards,
    Hussein

  • 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

  • FRM-9999 Error

    I get this error when I try to run a report from a form on the web. The tricky part is that it doesn't happen always. I have noticed it happens only if the forms server is left idle for some time. The system specifications are Server O/s and version : Oracle 8.1.5, Developer 2000 (Forms Rel 6.0.5.0.2 with no patches Reports 3.0.5.8.0 no patches), Client OS NT 4.0, JInitiator 1.1.7, Browser version Internet explorer 5.0, Calling using RUN_PRODUCT. Thanks

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Mustafa Lakdawala ([email protected]):
    <HR></BLOCKQUOTE>
    Sorry about the previous blank mail. It was an accidental click. Any way here are the details of the FRM-99999 error I get.
    FRM-99999. A network error occured, the client will not be able to continue.
    Details...
    Java Exception
    java.io.Exception (As Jason correctly pointed out)
    at java.lang.Throwable <init>(Compiled Code)
    at java.lang.Exception <init>(Compiled Code)
    at java.io.Exception <init>(IOException java:34)
    at java.io.EOFException <init>(EOFException.java40)
    at java.io.DataInputStream.readUnsignedByte(Compiled Code)
    One more thing these FRM-99999 errors do not come up each time I restart the web and forms server and start coming up again if the browser is left inactive for some time.
    Can anyone tell me a work around.
    Thanks!!!
    Can
    null

  • 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

  • Documentation about FRM-41213

    Hi all,
    I am in face of a problem for witch i haven't more information to resolve.It's the error:FRM-41213:Unable to connect to a report Server.
    When we Used a standalone report server in IDS/Windows we hadn't this problem.Now we migrate on IAS/LINUX, we create a report server(sigfiprserv) on LINUX using rwserver.sh command.This reports server works fine when we call a report enter full adress in the browser(http://host:port/reports/rwservlet?server=sigfiprserv&report=myrep.rep...).But calling report from forms, using the same code which works fine on IDS, produces FRM-41213 Error.In form builder there isn't more details. I also activate reports trace but traces files don't give more information on this error.I'm looking for a document which can give me all the causes of this error.
    PLZ help, it's important

    THere are so many possibilities I would speak to Oracle Support about this. However the key things are:
    1) Ensure you are testing in a simple case - i.e. a simple one button form calling a simple report.
    Things like problems with paramaters containing spaces can cause this error and so a simple case should be tested to make sure this is not the issue.
    REgards
    Grant Ronald
    Forms Product Management

Maybe you are looking for

  • PI 7.0 JMS Rcv Adapter: Object not found in lookup of XIJMSService

    Hi all, When sending messages to an JMS queue, JNDI setup, in the Message Monitoring we get  the error: "MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Object not found in lookup of XIJMSService.: com.sap.engine.servic

  • Horizontal Scrollbar in a JTextPane

    How can I specify whether or not there is a horizontal scrollbar for a JTextPane? The JTextPane is held within a JScrollPane, but if I try and do: scrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS); I just end up

  • Gnome 3.12 cannot launch gnome-terminal with sudo

    I am suffering from a problem that seems similar to the thread https://bbs.archlinux.org/viewtopic.php?id=180103 and https://bbs.archlinux.org/viewtopic.php?pid=1402702 but since they are marked solved I am opening my own. My real problem is I use th

  • MessageSplit with XSLT and without BPM

    Dear all, I'm on PI 7.0 SP 16 and I've the following scenario: JDBC-Sender-Adapter delivers a resultset of multiple rows, for example <?xml version="1.0" encoding="utf-8"?> <resultset>      <row>           <PIDENT>T400000TEST6A1MA</PIDENT>           

  • How to bring status selection ID in RE Query ?

    Hello I have created a query on RE table and want to bring in the status selection ID in the selection screen. I used table join but do not know how to attach this status selection structure to my join. My current stautus of query is that the status