Solved

FRM-11901 Error

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
clob to char in oracle 3 88
ORA-04071: missing BEFORE, AFTER or INSTEAD OF keyword 2 93
Help on model clause 5 47
Creation date for a PDB 5 60
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…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
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…

679 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