Solved

FRM-11901 Error

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
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…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
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.

910 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

16 Experts available now in Live!

Get 1:1 Help Now