Solved

FRM-11901 Error

Posted on 1997-12-01
2
535 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Via a live example, show how to take different types of Oracle backups using RMAN.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

691 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