• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2146
  • Last Modified:

Problem with LOV in Oracle forms 6i

     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.
  • 4
  • 2
1 Solution
Do you have a button that calls the LOV?

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

       END IF;
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?
one more thought:

Does your LOV have the Column Mapping Properties set to the item you are wanting to update?
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

babunagendraAuthor Commented:
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.

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.
babunagendraAuthor Commented:
Hi ,u are right and i got it working.

Thank you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now