Solved

FRM-11901 Error

Posted on 1997-12-01
2
516 Views
Last Modified: 2010-05-18
Hi,
Does anybody what is "FRM-11901: Error occurred while trying to create a
the LOV" about?  Because I was having a trouble to create a LOV.

Solutions provided will be greatly appreciated!  Thank you!
0
Comment
Question by:htay
2 Comments
 
LVL 3

Accepted Solution

by:
poncejua earned 10 total points
ID: 1081007
Hi,

Here you have the solution description:

Problem Description:
====================
 
When you create a LOV, the following error occurs:
 
FRM-11901:  Error occurred while trying to create the LOV.


Solution Description:  
=====================  
 
Make sure of the following:
 o  SELECT INTO statement is in the correct syntax.
 o  Block names and item names specified in the statement are valid.  
 
 
Solution Explanation:  
=====================  
 
Use the following syntax for the SELECT INTO statement:  
    SELECT <column names> INTO <item names>
    FROM table
 
For example:  
    SELECT column1, column2 INTO :block1.item1, :block1.item2
    FROM table1  
 
Refer to SELECT INTO Statement in chapter 9, "Language Elements", of the PL/SQL User's Guide and Reference, Version 2.0.    

Solution Description (other possible solution):  
===================================  
 
If the LOV involves selecting a RAW column,
put RAWTOHEX around the column in the SELECT statement.  


Solution Description (other possible solution):
====================================
 
Make sure to grant users and roles privileges to the table.
 
Refer to GRANT(Object Privileges) in chapter 4, "Commands",
of the Oracle7 Server SQL Language Reference Manual.  


Solution Description (other possible solution):
===================================
 
You are getting FRM-11901 creating an LOV  
which is the result of the union of two select statements
 
The following is an example of the syntax:  
 
This select statement works in SQL*PLUS  
  Select dname, loc from dept  
  union  
  select 'Support', 'Belmont' from dual;  
 
When you use the above select statement to create an LOV in  
Oracle Forms, the FRM-11901 error is encountered.  
 
To create an LOV in Oracle Forms using UNION, the syntax of the select  
statement should be:  
  Select dname, loc from dept  
  union  
  select 'Support' dname, 'Belmont' loc from dual;  


I hope this helps you.

Regards,

Juan Manuel Ponce Martinez
DBA - Bridas S.A.P.I.C.
Buenos Aires - Argentina
0
 

Author Comment

by:htay
ID: 1081008
Thanks

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

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to recover a database from a user managed backup

705 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

11 Experts available now in Live!

Get 1:1 Help Now