Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to code in LOV in oracle forms 9i

Posted on 2009-07-16
1
Medium Priority
?
1,650 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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

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…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
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.
Via a live example, show how to take different types of Oracle backups using RMAN.

610 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