Solved

How to code in LOV in oracle forms 9i

Posted on 2009-07-16
1
1,632 Views
Last Modified: 2013-12-19
I have a form as shown in the figure below. I want to attach an lov for the SHIP_TO_ZIP item.
As I am new to Oracle forms, could you please let me know the step-by-step process.
when I press a button, then an LOV should pop-up containing zipcodes, city name etc.

The record group query is as below:
select unique zip_code, city_nm, state_id, fips_code
from geo_data
order by 1

Please tell me how to develop this part.
Any kind of help would be appreciated.

Thanks,
 Vishal
form7a.JPG
0
Comment
Question by:vishal_singh
[X]
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
1 Comment
 
LVL 35

Accepted Solution

by:
Mark Geerlings earned 500 total points
ID: 24878414
The first step is to create a record group (which you have apparently done already).  The next step is to create an LOV that uses this record group and indicates which values (columns) from the record group should be assgined to which screen fields.  (If you use the LOV wizard in Oracle Forms, that will lead you through both of these steps, but you may also do them separately.)  The third step is to write a when-button-pressed trigger (if you want the users to have to click a button to display the LOV) or a when-new-item-instance trigger (if you want the LOV to be automatically displayed).  Either of those triggers then need to include a call to the built-in: "show_LOV" to display the LOV.

Or, you can just train the users to bring up the LOV manually, since Oracle Forms includes the ability to do this either via the menu, the toolbar or a hotkey.  Personally, I find it annoying in Forms if the Form alsways throws an LOV up in my face when I navigate to a field, so I prefer to allow the users to bring up the LOV manually when they want it.  But, if you want Forms to display it automatically, Forms supports that.
0

Featured Post

Industry Leaders: 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
SQL Workhours Count beetween Workhours 3 49
Fill Null values 5 54
pl/sql parameter is null sometimes 2 38
Dbms_job.change procedure 16 34
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
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…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

732 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