Solved

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

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

Join & Write a Comment

Suggested Solutions

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

747 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now