Solved

FRM-30064 / FRM-30085 + ORA-00942 Errors

Posted on 2004-09-22
4
6,432 Views
Last Modified: 2012-06-22
Hello,

Here is the error message that I get after compiling one of my forms:
---
FRM-30064: Unable to parse statement select am.customer, am.name1, am.phone from armaster am where 0 < (select sum(nvl(balance,0)) from arsumbal as2 where as2.customer = am.customer) order by name1.
ORA-00942: table or view does not exist
Record Group REC_CUST_GROUP
Form: ACC_REC
 
FRM-30085: Unable to adjust form for output.
 
 
Form not created
----

1) How can I resolve this issue ?

PT
0
Comment
Question by:ptreves
  • 2
4 Comments
 
LVL 22

Expert Comment

by:Helena Marková
ID: 12130531
FRM-30064:  Unable to parse statement %s.

Cause:      A syntax error occurred in the SELECT statement within an LOV or record group.

Action:      Check the statement, and add the FROM clause.

You can try to change the record group query to this:

select am.customer, am.name1, am.phone from armaster am where 0 < (select sum(nvl(as2.balance,0)) from arsumbal as2 where as2.customer=am.customer) order by am.name1.
0
 
LVL 13

Expert Comment

by:anand_2000v
ID: 12131241
Simple check whether the tables "armaster" and "arsumbal" exist in your schema....One or both might be missing or the name might have been given wrong.
0
 

Author Comment

by:ptreves
ID: 12134096
Hello,

Yes, I checked and the tables armaster and arsumbal do exist in the ORacle 9i database.

1) Your toughts ...

PT
0
 
LVL 13

Accepted Solution

by:
anand_2000v earned 500 total points
ID: 12140035
What about the login that you are using? are these tables or are they synonyms? do the actual tables belong to some other user? have these been granted to you via a role or directly. If via a role then you might face this problem. grant the tables directly.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question