?
Solved

How to code in LOV in oracle forms 9i

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
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…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
Suggested Courses

777 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