Switch poplist display of the list item selected for its value of list item

Is it possible to change the display in a poplist of the list item to its corresponding list item value?

For example, I have a list item is filled with a group of records. Name of the country (e.g., Canada) is the list item, and the country code (e.g. CA) is the value of a list item.

I want users to be able to see the names of countries, when the list is expanded. However, once users choose and click on a country, the country code must be included in the display.

I suppose that if it is possible to do at all, he would be using a trigger a times-news-point-instance, but I do not know where to go to from there. Please let me know if you need clarification or more information from me. I'd appreciate any help you can give me.

With the help of Oracle Developer Suite 10 G
Version of Forms - 9.0.4.3.0

Hello
Welcome to the forum,

Just an idea. Why you do not keep the country with the description at the time code. I mean, it's like you say you query group will be like this...

SELECT code, description
FROM table_name;

So, I mean just change this query to concatenate the code with description. for ex.

SELECT code, code||' - '||description as description
FROM table_name;

It will show you the code and the name in the list. So, it will not trigger etc.

-Clément

Tags: Oracle Development

Similar Questions

  • How to select metadata fields to display in the list of the metadata Panel?

    Is the any way to select the metadata fields that are displayed in the list in the metadata pane to the right in the library module and the card module?

    You can use The Preset editor of metadata-Viewer plugin to set up your own Viewer presets.  If you are technical interested, you can download the free Lightroom SDK and configure new presets manually using a text editor - it is quite well researched but tedious.

  • Change the initial row displayed in the list box

    Hello

    This is in AS2 and should really be quite simple.

    I have a box control populated list that may or may not have a selected item.  When the user enters data in one of the data fields on the screen and then moves to another domain, database access is performed which returns data that are used to fill in the other fields on the screen.

    In this context the item in the list box is selected, based on a code returned by the database.  All so well and good.

    However, I can't get the list box if there "showcase" at the position of the selected item.  That is to say, I want the selected item to the first item displayed in the list box.  (Note: NOT the first item in the ListBox...)

    What is the property or method I should use to do this?

    Thank you!

    Concerning

    Rich

    the vPosition of your list component property to assign the index of the item to display in the upper part.

  • Startup Repair:-using Skype, can I use the method of selection for me starts better what should I suggest? Thank you pp

    Startup Repair:-using Skype, can I use the method of selection for me starts better what should I suggest? Thank you pp

    Hello

    Welcome to Microsoft Vista Forum community!

    Please answer the following questions to help you better about it
    ·         What is the edition of Vista installed on the computer?
    ·         You try to make the Windows Vista startup repair?
    ·         How long have you used Skype for?
    ·         Are you facing problems starting with windows after downloading Skype?

    If you encounter problems with Windows startup after downloading Skype, then you can try to disable the startup of Skype at Windows startup. (For example, in MSN, go to tools > Options > General > do not start when Windows starts.)

    For more information, you can consult the help of Skype: https://support.skype.com/

    Hope this information is useful.
    Let me know if it worked.
    All the best!

    Concerning

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Two part question... Several fields of text through 1 scroll bar scroll. Deletion of commas is displayed in the list of tables.

    I've been scripting this profile flash card that pulls data from multiple XML files. The problem I have is when it comes down to pull this 1 set of information that accesses attributes of an array of XML specific nodes to display a comma after the first input element before each item.

    My code:

    -------------------------------------------------------------------------

    xmlData = new XML ();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load ("'... / xml profiles / test.xml");

    --------------------------------------------------------------------------

    function loadXML (load)
    {
    If (loaded)
    {
    xmlNode = this.firstChild;

    image = [];

    id_array = [];
    Total = xmlNode.childNodes.length;
    for (i = 0; i < total; i ++)
    {

    image [i] = "... / people/photos /" + xmlNode.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [1].firstChild.nodeValue + ".jpg";

    id_array [i] = xmlNode.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [10] Sublst.ChildNodes(1).ChildNodes(0);
    }
    firstImage ();
    }
    on the other
    {
    Content = "file not loaded! ';
    }

    -------------------------------------------------------------------------
    }

    firstImage () function
    {
    If (load == filesize)
    {
    Picture._alpha = 0;
    picture.loadMovie (image [0], 1);
    associate_array = id_array [0];
    populateLists (associate_array);
    picture_num ();
    }
    }

    ---------------------------------------------------------------------

    function populateLists (xml_array)
    {
    ID = [];
    associatelist = [];
    locationList = [];
    for (n = 0; n < xml_array.length; n ++)
    {
    var identnumber is xml_array [n] .attributes;.
    ID [n] = identnumber.occurence + "\n";
    associatelist [n] = identnumber.associate + "\n";
    locationList [n] is identnumber. Location + "\n";
    occurence_txt. Text = ID;
    associate_txt. Text = associatelist;
    location_txt. Text = locationlist;
    }
    }

    Code red is the data displayed by commas after the first item. I couldn't find a solution anywhere... but saw dicussion: nested tables, often with commas.

    example.jpg

    It's just a preliminary version of the layout that I used to pull up false data... to show the commas.

    If anyone knows how to remove the commas that would be great.

    Finally, I wonder if it is possible to control the 3 text fields with 1 scroll bar or I'd better learn how to create columns in 1 text field to view these lists.

    Thanks in advance!

    .. few days I need to learn AS3

    I have not the slightest idea of XML (I'm still at the stage of the embryo on that one half-a tutorial) BUT,.

    to connect without a comma, you can do something like that. My table was called aHiragana (Japanese letters)

    var sHiragana:String = aHiragana.join(""); Kill the comma
    Words.Text = sHiragana.toString (); work, note "s" not 'a' in front of Hiragana.

    no idea if this is compatible with XML.

  • jQuery Mobile BB10 theme: arrow on the display of the list

    In the jQuery Mobile BB10 theme, I'm having a time difficult trying to implement what should be a simple visual style on a listview that contains a href.

    My application has two types of lists. Normal list (without links) is ok.

    The list that contains a href is where my problem is. The two lists are the same and I have no way for the user to distinguish easily a link and a non.

    I tried several variants of setting [Data-icon = 'arrow-r'] and [Data-icon = "interface user-icon-arrow-r"] at the same time the

      and
    • levels.

      I might add and manipulate [class = "UI-li-aside"] or [class = 'interface User-li-count'] fields to insert an image of the arrow?

      I know that there is an easy solution that I'm on.

      Thanks for your help.

      Jason Scott on GitHub https://github.com/blackberry/jQueryMobile-BB10-Theme/pull/12

      provided me with the fix for jQuery Mobile BB10 theme code.

      Corrections: #9
      List items are by default to no icon, but can be overwritten using
      data-icon=arrow-ron the

        ,
      • or using
        $.mobile.listview.prototype.options.icon = "arrow-r";

        This resulted in an update to the GitHub repository. Please download the new files if you do not use a cloned branch that updates automatically. https://github.com/BlackBerry/jQueryMobile-BB10-theme

    • Office 2010 does not display in the list of programs that can be set as the default value in Windows 7

      I have Office 2010 Home and Student installed on my Pavilion p6367 c - b, which is under W7 Home Premium.

      If I open Word or Excel and then use the open function to open a file, the file opens without any problem.  However, when I try to open a document or a spreadsheet by clicking on it directly (for example, in windows Explorer or a shortcut to this file), I get a message that says: there is no program associated with this file type and "create an association in the default program control panel.

      Unfortunately, when I go on this Panel, Office is not shown as one of the programs that I choose and I see nothing to add.  I know I must be missing something but...

      I hope someone can help me!

      Thank you.

      Hi, once again, Rick:

      I played a bit with change the types of files on a Vista computer, I was working on that. I thought I had to use WinZip to open a file that had no association.

      When I went to the list of available programs that is given to me, WinZip was not an option to choose. If it sounds the same problem you are having. You access the list to select an Office application to open a file and it is not among the list of available programs.

      I thought it was weird, so I played a little bit more. If you go on the left side of the box, you should have options to look for other places, so I went to computer > CProgam files and then I scrolled down and found in WinZip. Then, I open the WinZip program menu and select the executable file to open the file.  It worked (well, he gave me WinZip as default program to open the file, but the file does not open. It must have been corrupted or something).

      Then, give that a try. I am now back on the XP computer and do not have access to the specifics. But the procedure for file association for Vista is the same as W7. I write from memory of what I did last night.

      Paul

    • Contacts search does not display in the list of contacts after the future use

      Hello

      I have a small problem with the contacts app after updating to Android 5.0 lollipop on Xperia Z3 Compact. I have a database/list of contacts (local) big (about 800 entries). The problem list when I'm trying to find the contact using Research future - it shows me not all contacts who possesses the same attributes is entered in the search field. For excample: I have 13 inputs which family names starts by " ZA" sentence, but future research shows me only 8 entries from this sentence, but I don't know I have 13 entries with her. The funniest in this is that future research works ONLY WITH CONTACTS used from contacts contacts Unsused approx. will appear after research. I tried to erase the contacts app data parameters - is not worked.

      OK, I have a solution:

      First export all the contacts in a *.vcf file then delete all entries. Then import a backup *.vcf file and voila! Search future work:-)

      Thanks for your attention

    • 6700 not displayed in the list of printers windows

      Months ago, I installed and have been using an all-in-one Officejet 6700 Premium.  When I try to print, it wants to print to the fax.  I looked at list of Windows 7 available printers and it only shows the fax, and of course, this is the default value.  How 'install' the printer and value whether default Windows?

      I tried to add a printer, and the list does not offer the HP 6700 despite verification of Windows Update.  Help, please?

      I'm you a link to a video about uninstalling the printer software.  Once you all try it to uninstall reinstall it with the download above driver.

    • Space forum reports moved to development tools, but not displayed in the list area

      It's a good idea to move the area report in the category of development tools, but it is not among the list of namespaces

      Development tools

      You must choose the sub-areas to see

      Development tools

      Shoudn't I see it at the same level as the forms?

      Concerning

      Marcus

      Thanks for the heads up! I added registration space.

    • Get the name of the file to display in the list of metadata.

      I always convert to dng first thing. Then rename the files with the names of customers. I know that the name of the original file is always in the metadata, but how do I get it to appear on the list of metadata in LR?

      In the metadata Panel, choose Exif and IPTC instead of Default.

      Original name is the second entry (albeit under the name of file)

    • Satellite X 200 PSPB9E - no display, start the power on sequence for 1-2 seconds

      Satellite X 200 PSPB9E - no display, starts to power on sequence for 1-2 seconds. This machine was bought as a defective donor known machine to fix the 'No power, no lights, Dead' problem with my PSPBUA.

      This problem was solved by replacing the NIVIDIA 8700 M GT K000052130 part number

      Thanks for the comments.

    • How to give the right to select for all objects of schema?

      Hello

      We have a lot of users and schemas.
      A user wants to execute 'select' for all tables in the other schema.

      For example: TEST user wishes to select the objects to TEST2. Test2 have hundreds of tables, TEST user cannot select other schema objects, so I don't want to give SELECT ANY TABLE privileges.

      How can do this at once? is it possible to give all the objects schema once subsidies?
      DB versin. 9.2.0.8

      greetings and thanks

      No, there are no subsidies. You must use hundreds of statements of grant.

      However, you can use dynamic SQL to do this automatically, i.e.

      CREATE ROLE test2_select;
      
      BEGIN
        FOR x IN (SELECT * FROM dba_tables WHERE owner='TEST2')
        LOOP
          EXECUTE IMMEDIATE 'GRANT SELECT ON test2.' || x.table_name || ' TO test2_select';
        END LOOP;
      END:
      /
      
      GRANT test2_select TO test;
      

      Justin

    • How default of a multiple selection for all values setting?

      I have a setting that allows the user to select multiple values.  I want the default to use all values (which means basically just ignore this parameter in the generated SQL code).  However, I can't create named on this calculation since it accepts multiple values, and the calculation supports only the first value.  Is there a way to do what I need, without selecting all the values in the list (the LOV contains hundreds and hundreds of values so it's not a viable option).  I'm not very experienced with the discoverer and don't know all the tips/solutions workaround, if you are looking for expert advice.

      Thank you

      Hello

      You must code the parameter and the condition that he accepts the word ALL.

      For example, suppose you are working with ITEM_NUMBER and you have thousands of articles. You want the user to be able to one or more key or access all THE items.

      You must create a Boolean condition like this:

      ITEM_NUMBER IN: ITEM_PARAMETER

      OR

      UPPER(:ITEM_PARAMETER) = "ALL".

      So if the user key word ALL all all or or any variation of the word to be determined as true by the condition and all items will be selected. If the user does no key ALL, and then the other half of the condition will be applied and the element must be a valid element as contained in the list of all the elements. You can even create your parameter with a default value of all THE

      Best wishes

      Michael

    • the tabs displayed when the icon is selected

      When I select an icon on the desktop, it displays a second tab (google) as well as the tab selected how eliminate the unwanted google tab?

      Hi Robert,.

      Thanks for posting your query in Microsoft Community.

      • Icon associated with a type specific files or folders even are you referring?

      This could be due to any dispute of third party software or virus on the computer. Try these steps and check.

      Method 1: Start the computer Safe Mode and check if the problem persists. If the problem does not persist in safemode, turn on your computer in a clean boot state and check.

      Step 1: Start the computer in Mode safe

      Safe mode is an option of troubleshooting for Windows that starts your computer in a limited State. Only basic files and drivers needed to run Windows are started. The words Safe Mode appear in the corners of your monitor to identify which Windows mode you are using.

      a. when you press the power button, hold down the SHIFT key when you click the restart button.

      b. the next screen will present you with three options. Click on Troubleshooting.

      c. then hit Start Windows the following screen parameters followed Advanced options.

      d. your PC will now be restarted to activate the advanced settings, which include Safe Mode as well.

      Step 2: Put the computer in a clean boot state in order to avoid any conflict of third party software.

      To help resolve the error and other messages, you can start Windows by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

      Place your system in the clean boot state helps determine if third-party applications or startup items are causing the problem. You must follow the steps in the article mentioned below to perform a clean boot.

      How to perform a clean boot in Windows

      Note: see 'How do I reset the computer to start normally after a boot minimum troubleshooting' to reset the computer starts normally after troubleshooting.

      Method 2: Run Microsoft Safety Scanner

      The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

      Microsoft safety scanner

      Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

      Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

      Hope this information is useful. Please feel free to answer in the case where you are facing in the future other problems with Windows.

Maybe you are looking for