Solved

Problem with LOV in Oracle forms 6i

Posted on 2004-09-10
6
1,595 Views
Last Modified: 2012-05-05
Hi,
     I attached a LOV to the item in a datablock.I could see the LOV list based on the query in the record group i created.

This is what is happening,for a particular contact i get a particular record.But they want to assign a different contact type
from the LOV list to one of the item in the record.When i select from the LOV list,i am unable to assign the selected item in the list to that item.It still displays the item which was assigned at the first place.

Do i have to write any triggers in the form to enable the LOV item picked assigned to the field?

If u could reply as soon as possible ,i will appreciate it? Got to deliver urgently?

Help me out.Thanks.
0
Comment
Question by:babunagendra
  • 4
  • 2
6 Comments
 
LVL 3

Expert Comment

by:dnarramore
ID: 12028222
Do you have a button that calls the LOV?

Does the button have a WHEN_BUTTON_PRESSED trigger that looks something like this?

BEGIN
       Go_Item('BLOCK.ITEM');
       IF FORM_SUCCESS
       THEN      
          Do_Key('List_Values');
       END IF;
END;      
0
 
LVL 3

Expert Comment

by:dnarramore
ID: 12028248
Also, in your item that you are wanting to update, do you have the List of Values Property set to the LOV you are wanting to use to update the item?
0
 
LVL 3

Accepted Solution

by:
dnarramore earned 500 total points
ID: 12028295
one more thought:

Does your LOV have the Column Mapping Properties set to the item you are wanting to update?
0
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.

 

Author Comment

by:babunagendra
ID: 12029214
Yes,the column mapping is set to the item .And in the property palette,attached the LOV to the item.

There is no button defined that calls LOV's .Just attached the LOV to the item for which i wish to display the values.

Only thing i am unable to do is,if i select the LOV value from the list,that is not being reflected in that field.


Without choosing from the LOV,if i enter it manually the other LOV value for the particular field,i see the change.
I could enter that way.


0
 
LVL 3

Expert Comment

by:dnarramore
ID: 12029322
How do you get the LOV List to display if you do not press a button?  Is it in some other trigger?

If your LOV is something like:
ID    Description
1     ABC
2     DEF

You might want to check your column mapping and make sure it is mapped to the ID item and not the Description Item.  I've made that mistake before.
0
 

Author Comment

by:babunagendra
ID: 12029398
Hi ,u are right and i got it working.

Thank you.
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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sql for Oracle views 8 46
Oracle RAC 12c 8 56
Get FileTypes from a list of FileNames  in a Table field 18 43
Wrong number of values in the INTO list of a FETCH statement 16 43
Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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.

911 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

20 Experts available now in Live!

Get 1:1 Help Now