Frm-40505 Oracle Error Unable To Perform Query
Contents |
to perform query error [message #85200] Wed, 09 June 2004 02:00 amit sharma Messages: 9Registered: October 2002 Junior Member Hi, I am using Oracle forms 6i (But it is not
Ora 40505 Unable To Perform Query
deployed on web) I am having a database block which has database items frm-40505 unable to perform query 10g and also certain non-database items. The block name is -BLK_CLA_COLUMBO_WORKBUFFER I am populating that block dynamically by setting its frm 40505 execute query WHERE clause at the Block level by using following code in PRE-QUERY trigger of the block BLK_CLA_COLUMBO_WORKBUFFER - ----------------------- DECLARE l_query varchar2(200); BEGIN l_query := 'ctry_cd = '||''''||RTrim(form_global.ctry_cd)||''''; l_query := l_query||' AND
Frm-40505 Unable To Perform Query 11g
part_nr = '||''''||rtrim(form_global.part_nr)||''''; set_block_property('BLK_CLA_COLUMBO_WORKBUFFER', DEFAULT_WHERE, l_query); EXCEPTION WHEN OTHERS THEN show_error('Cannot query the Columbo WB:- PROC_GET_COLUMBO_WB'); END; ------------------------ The PROBLEM i am facing is - sometimes we get a RANDOM error 'FRM-40505- Unable to perform query' while querying this block The code that gets fired for querying data from this database block (i.e querying the source Table) ------------------ go_block('BLK_CLA_COLUMBO_WORKBUFFER'); execute_query; ----------------- I looked
Ora-01722: Invalid Number Frm-40505: Oracle Error: Unable To Perform Query.
for the description in form builder help, it says - The 'FRM-40505: ORACLE error: unable to perform query' error has following description - "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." But if I query for the SAME DATA AGAIN in the same session on this block then same code is fired again i.e ------------------ go_block('BLK_CLA_COLUMBO_WORKBUFFER'); execute_query; ----------------- But this TIME it QUERIES the table successfully and populates the data block properly. There is no access priveleges issue with this table. Kindly let me know why this is happening ??? Is it a known problem in Oracle forms 6i which can be solved by use of any patch ? Kindly respond at the earliest. Thanks, Amit Sharma Report message to a moderator Re: URGENT: 'FRM-40505: unable to perform query error [message #85205 is a reply to message #85200] Wed, 09 June 2004 03:56 Himanshu Messages: 457Registered: December 2001 Senior Member Hi, From where your variable form_global.part_nr & form_global.ctry_cd. It seems that at f
Technology and Trends Enterprise Architecture and EAI ERP Hardware IT Management and Strategy Java Knowledge Management Linux Networking Oracle PeopleSoft Project and Portfolio Management SAP SCM Security Siebel frm-40505+from clause query Storage UNIX Visual Basic Web Design and Development Windows < Back CHOOSE A
Frm-40508
DISCUSSION GROUP Research Directory TOPICS Database Hardware Networking SAP Security Web Design MEMBERS Paul_Pedant DACREE MarkDeVries MacProTX Inside-ERP VoIP_News Inside-CRM frm 40735 I_am_the_dragon maxwellarnold Michael Meyers-Jouan TerryCurran Chris_Day Andrew.S.Baker Ramnath.Awate JoeTorre Locutus Dennis Stevenson bracke Craig Borysowich DukeGanote Richard PCMag mircea_luca Nikki Klein iudithm AbhaiTripathi knowscognosdoi Clinton Jones Iqbalyk bluesguyAZ59 COMPANIES Service Max Fiberlink http://www.orafaq.com/forum/t/31910/ Communications Hewlett Packard Epicor Software ... View All Topics View All Members View All Companies Toolbox for IT Topics Oracle Groups Ask a New Question Oracle Forms A forum where peers share technical expertise, solve problems, and discuss issues related to the use of Oracle Forms, including migration, configuration, performance testing, inserting files and records, and displaying reports. Home | Invite Peers | More http://oracle.ittoolbox.com/groups/technical-functional/oracle-forms-l/frm40505oracle-errorunable-to-perform-query-3761062 Oracle Groups Your account is ready. You're now being signed in. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers Newsletter Jobs By clicking "Join Now", you agree to Toolbox for Technology terms of use, and have read and understand our privacy policy. FRM-40505:oracle error:unable to perform query stephen_saisi asked Sep 16, 2010 | Replies (4) Am new to oracle forms 10g. Am calling a form from a menu but the when the form loads it returns the error unable to perform query. However when i run the form on its own its able to execute the query. i had put execute_query; in the trigger when_new_block_instance. Anyone with help. Join this group Popular White Paper On This Topic 10 Critical Questions to ask a Manufacturing ERP Vendor 4Replies Best Answer 0 Mark this reply as the best answer?(Choose carefully, this
United States Australia United Kingdom Japan Newsletters Forums Resource Library Tech Pro Free Trial Membership Membership My Profile People Subscriptions My stuff Preferences Send a message Log Out TechRepublic Search GO Topics: CXO Cloud Big Data http://www.techrepublic.com/forums/discussions/how-do-i-find-an-oracle-error-when-i-get-frm-40505-in-an-oracle-form/ Security Innovation Software Data Centers Networking Startups Tech & Work All Topics Sections: http://dbaforums.org/oracle/index.php?showtopic=16964 Photos Videos All Writers Newsletters Forums Resource Library Tech Pro Free Trial Editions: US United States Australia United Kingdom Japan Membership Membership My Profile People Subscriptions My stuff Preferences Send a message Log Out TechRepublic | Forums | Web Development Web Development Register Now or Log In to post Welcome back, My Profile Log Out Recent unable to Activity FAQs Guidelines Question 0 Votes Locked How do I find an Oracle error when I get FRM-40505 in an Oracle Form? By john.a.wills · 6 years ago I am getting FRM-40505 unable to execute query in running an Oracle Form. I know which query is inducing the error message, but I see nothing wrong with it, and have successfully run it in SQLPlus. I would like to see the unable to perform ORA error number and message, but when i install an On-Error trigger routine for this purpose I get ORA-00000 operation successful, which cannot be right. I would also like to look at the query as the Form has constructed it. What kind of trigger or other trace can I use? Share Flag This conversation is currently closed to new comments. 4 total posts (Page 1 of 1) + Follow this Discussion · | Thread display: Collapse - | Expand + All Answers Collapse - More info to your question here.... by Peconet Tietokoneet · 6 years ago In reply to How do I find an Oracle e ... http://forums.oracle.com/forums/thread.jspa?threadID=616908Or go here:http://blogs.oracle.com/shay/2007/03/02/ 0Votes Share Flag Collapse - Reponse To Answer by john.a.wills · 6 years ago In reply to More info to your questio ... Niether of those references leads anywhere useful. 0Votes Share Flag Collapse - Help/Display Error in Sungard's Banner INB, by john.a.wills · 6 years ago In reply to How do I find an Oracle e ... and possibly in other Oracle Forms environments, shows the query as constructed and the ORA error message. This solves the problem I set, although after some investigation I may be back with a deeper question. 0Votes Sh
Member No.: 39,007 Can someone please tell me what's wrong with the following? Everytime I try to execute, I get "FRM-40505 Oracle Error: unable to perform query". Thanks so much in advance for your help!SELECT DISTINCT (RCRAPP1_PIDM)FROM RCRAPP1WHERE RCRAPP1_INFC_CODE IN ('ISIR','EDE')AND RCRAPP1_CURR_REC_IND = 'Y'AND (EXISTS (SELECT 'X' FROM RORSTAT WHERE RORSTAT_PIDM = RCRAPP1_PIDM AND RORSTAT_AIDY_CODE = RCRAPP1_AIDY_CODE AND RORSTAT_PCKG_COMP_DATE IS NULL AND RORSTAT_PCKG_REQ_COMP_DATE IS NOT NULL)AND (EXISTS (SELECT 'X' FROM ROVAY09 WHERE ROVAY09_PIDM = RCRAPP1_PIDM AND ROVAY09_AIDY_CODE = RCRAPP1_AIDY_CODE AND RCRAPP1_AIDY_CODE = RORSTAT_AIDY_CODE AND ROVAY09_APDC_CODE = '52' AND ROVAY09_LEVL_CODE = 'GR')AND (EXISTS (SELECT 'X' FROM ROVAD09 WHERE ROVAD09_PIDM = RCRAPP1_PIDM AND ROVAD09_AIDY_CODE = RCRAPP1_AIDY_CODE AND RCRAPP1_AIDY_CODE = RORSTAT_AIDY_CODE AND ROVAD09_LEVL_CODE = 'GR') OR EXISTS (SELECT 'X' FROM ROVST09 WHERE ROVST09_PIDM = RCRAPP1_PIDM AND ROVST09_AIDY_CODE = RCRAPP1_AIDY_CODE AND RCRAPP1_AIDY_CODE = RORSTAT_AIDY_CODE AND ROVST09_LEVL_CODE = 'GR')))) AND RCRAPP1_AIDY_CODE = :AIDY AND RCRAPP1_PIDM =:PIDM burleson View Member Profile Dec 1 2008, 01:12 PM Post #2 Advanced Member Group: Members Posts: 13,227 Joined: 26-January 04 Member No.: 13 Hi,>> Can someone please tell me what's wrong with the following? You noticed that this is a DBA forum, right? Maybe a developer can help you . . . Start by running this query outside of Forms, in SQL*Plus!Did you do a "show errors" to see your error?QUOTE 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. -------------------- Hope this helps. . . Donald K. BurlesonOracle Press authorAuthor of Oracle Tuning: The Definitive Reference kevinsky View Member Profile Dec 2 2008, 09:35 AM Post #3 Advanced Member Group: Members Posts: 37 Joined: 22-October 04 From: Canada Member No.: 881 FRM-40505: ORACLE error: unable to perform query.Cause: Processing error encountered. The table associated with the