LOV's:Show Lov of Item with pushbutton

Posted on 1998-12-31
Last Modified: 2012-06-22
I want to show lov of current item with pushbutton on toolbar. Or be able to execute the F9 key to show lov of current item from pushbutton.
Question by:gmoore
  • 2

Author Comment

ID: 1083519
Obvousily the code will be in the when-validate-trigger of the pushbutton

Accepted Solution

petwg earned 0 total points
ID: 1083520 what a nice 3 points......
what the heck....
I think I did do it once.... by using the when button push... and use go_item('item_with_lov')

make the LOV display automatically on click.... or you can set it to check for LOV and put like ....
:blockname.item_with_lov := 'some stupid value';
then it will pop out the LOV... :)



Expert Comment

ID: 1083521
In clear stages....

Set the mouse navigate property of the button on the toolbar to false (to stop focus moving to the button when you click it).
Create a WHEN-BUTTON-PRESSED trigger on the button, in the trigger put DO_KEY('LIST_VALUES'); - this will display whatever LOV is associated with the item focus was in when the button was pressed.


Author Comment

ID: 1083522
I used Vlad answer, it was cleaner and easier for me. Although Petwg answer works too.

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

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
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 setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

810 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