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
Solved

FRM-11901 Error

Posted on 1997-12-01
2
530 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

792 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