Solved

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

Posted on 2004-09-22
4
6,529 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help on model clause 5 47
Email query results in HTML 6 38
Oracle database T-1 Setup 7 24
Oracle Nested table uses ? 2 44
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…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.

749 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