DA to select list does not work

Hi friends,

I have a two of my form fields.

person ID < li >
< li > manager name (selection list)

I gave a value for the id of the person as '270' by default. So I need to write a dynamic action so that he'll be looking for the name of Manager according to the id of the person '270'.

As my manager name is a type of list, select, I gave the following query in the definition of LOV from this point of
select papf.full_name d, papf.person_id r
from per_all_people_f papf,
     per_all_assignments_f paaf,
     per_all_people_f supf, hr_all_positions_f hapf, hr_all_organization_units haou
where papf.business_group_id = 216  
and papf.person_id = paaf.person_id and hapf.position_id=paaf.position_id and haou.organization_id=paaf.organization_id
and  NVL(paaf.supervisor_id, papf.person_id) = supf.person_id
and sysdate between papf.effective_start_date and papf.effective_end_date
and sysdate between paaf.effective_start_date and paaf.effective_end_date
and sysdate between supf.effective_start_date and supf.effective_end_date
and sysdate between hapf.effective_start_date and hapf.effective_end_date
and papf.person_type_id = 5145 
order by 1   
It comes from the DA, I wrote for the column id of person.

For the real action, I gave as "Set value" and gave the following query
select supf.full_name
from per_all_people_f papf,
     per_all_assignments_f paaf,
     per_all_people_f supf, hr_all_positions_f hapf, hr_all_organization_units haou
where papf.business_group_id = 216  
and papf.person_id = paaf.person_id and hapf.position_id=paaf.position_id and haou.organization_id=paaf.organization_id
and  NVL(paaf.supervisor_id, papf.person_id) = supf.person_id
and sysdate between papf.effective_start_date and papf.effective_end_date
and sysdate between paaf.effective_start_date and paaf.effective_end_date
and sysdate between supf.effective_start_date and supf.effective_end_date
and sysdate between hapf.effective_start_date and hapf.effective_end_date
and papf.person_type_id = 5145 and papf.person_id = :P6_PERSON_ID
Article submit page: P6_PERSON_ID

Affected item: P6_MANAGER_NAME.

Shortly after the loading of the page, the field of the crib should display the name of the Manager for the LOV '270' value that is in the element id of person. But it does not show the name in the selection list item.


Suppose that, if the Manager's name is in "view only" means that it works, but if the manager name field is in LOV means, it does not fetch the value and it displays only the display null value in this area.

I don't know why him DA does not work if the field is in LOV.

Brgds,
Mini

Hey Mini,

a page of type element "select list" always stores the return value (second column of your LOV) in the page element. So in your case, you actually rename the element of your page to P6_MANAGER_ID (to take into account that this is an ID) and change your 'Set Value' query for the papf.person_id

Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Tags: Database

Similar Questions

  • arrow of the selection list does not work

    Run version 4.2 against database 11g.

    On one of my pages none of my page selection point lists are working properly.  When clicking on the arrow at the end of the selection in the list list does not open, but if you click within the field where the text is displayed, it will open.  I tried IE and Firefox and the result is the same on both browsers.  If anyone has seen this behavior before?

    After putting a few more space between list boxes, the problem solved.  I guess even if visually there is space between them, it was somehow a kind of overlap.

  • Quick selection tool does not work after last update Photoshop CC

    I've updated to the latest version of Photoshop CC, and the Quick Selection tool does not work. I am able to make a choice, and then when I try to make multiple selections, I receive the ball well filled, and then nothing is selected.

    I have preferences in the performance, the value Panel "Big & Flat" in the historical and 'Basic' Cache in the settings of the graphics processor. Thus, the operating system is up-to-date.

    I restarted my computer, and now it works. Don't know what it is, but it works fine now.

    Thank you!

  • selection tool does not work in illustrator cc 2014

    selection tool does not work in illustrator cc 2014.Screen Shot 2014-10-09 at 15.05.02.pngScreen Shot 2014-10-09 at 15.08.14.png

    Hi officeisbig,

    While we are working on a solution, if you can update os to 10.9, the issue should get fixed.

    Sanjay.

  • Selection lists does not not on Android FF but work on default browser

    Hi, hoping for help

    Building an online game site that I'd like to work on the mobile and the PC without different versions.

    I find that the selection lists do not open on FF Android or iOS FF-mobile, even if they work fine in the default browser Android and chrome. Could someone help me debug this, or is this a problem in FF?

    Page URL: http://www.HoldingTheBall.com/clubroom.php?logon=1
    To test: load the URL, click on the image of the Guernsey on the middle right, and then try to use one of the selection lists.
    Features of the page: HTML4, CSS, JS, Jquery, Jquery ui, Jquery-touch-punch (by drag and drop on mobile)

    Any suggestions would be greatly appreciated!

    There is no such thing as Firefox iOS. There is Firefox at home, who would have bookmarks Firefox Sync and the history of your iOS device. All the browsers on iOS are based on the iOS stock Safari Webkit.

    That being said on Firefox for Android that I see the behavior you mention. Is it still a question if you disable the div dragging?

  • Server behavior select list does not

    I was finally able to find my CC Dreamweaver server behaviors after losing nearly 2 weeks of productivity. Adobe really dropped the ball on the removal of this widely used feature. In any case, now that I have this feature back all my work server behavior EXCEPT my behavior select dynamic list that has worked very well in Dreamweaver CS5.5. Everything I do is a client code of reading a table customers in a MySQL database and using this code to a code from the customer table to display all the codes/descriptions, highlighting what is the code for the current customer. On this update form the user can then select a new code that will update the customer record in the customer table. It's pretty simple and I know how do it. However, it does not work in Dreamweaver CC. The only difference in my CS5.5 version and the new version of CC, it is that I do my sensitive site, <! doctype html >, bootstrap.css and www.w3schools.com/lib/w3.css. That none should make a difference. All my other server (text, radio button) behavior work fine in Dreamweaver CC. HELP!

    The server behaviors have been removed for a good reason. Does not work the code they generate in PHP 7, which is scheduled to be released next week. Or it will work in many sites running PHP 5.5 or 5.6 because some hosts have disabled the original functions of mysql in PHP.

    You can make a strong argument for Adobe update server behaviors to work with MySQLi or PDO (a lot of people already have), but you are living on borrowed time if you continue to rely on the old server behaviors. Even if Adobe has created versions updates tomorrow, server behaviors, you will still need to recode all of your pages because the code in the server behaviors cannot be easily replaced.

  • gesture trackpad of three fingers to select text does not work on the sierra

    I have a MacBook Pro (13-inch, mid-2014 retina). After upgrade to sierra trackpad gesture to select text using three fingers does not work. Instead, I saw that now a press and hold your finger and drag to select the text, it's very painful and does not work perfectly as three fingers gesture.

    If by mistake the press with a single finger is lost text selection stop there and have to start over and it also causes mild pain if the selection is long.

    Please let me know if anyone knows how to get the text selection gesture three fingers in sierra.

    OK the solution is already here - https://support.apple.com/en-ae/HT204609

  • Access list does not work

    I want that no package would leave f0/0 (R2).

    Here is my configuration:

    R1:

    !

    interface FastEthernet0/0

    IP 192.168.1.1 255.255.255.0

    !

    R2:

    !

    interface FastEthernet0/0

    IP 192.168.1.2 255.255.255.0

    IP access-group 101 out

    !

    access-list 101 deny ip any one

    !

    Given the configs shown in the original post R2 will be able to ping to R1 and I guess this (or something very similar) is what brings the original poster said that the ACL does not work.

    The problem here is that a list of access applied on an interface will not process the traffic generated by the router itself. The illustrious ACL will be very effective in preventing transit traffic (traffic that came from somewhere to R2 and must be DISPATCHED f0/0). But it will not work on the packages generated by R2.

    HTH

    Rick

  • Windows 8 reading list does not work with the programs desktop or web browsers in the Office

    * Original title: playlist of Windows 8

    Hello

    What a waste of time, this app is!

    -"Playlist does not work with programs office or web browsers in the Office! This raises the question: what will work with?

    I wish I knew.

    Thank you

    Chris

    Hi Chris,

    Playlist does not work with the programs office or web browsers in the design office.

    For more information, see the links.

    http://Windows.Microsoft.com/en-us/Windows-8/reading-list-app-FAQ

    http://Windows.Microsoft.com/en-us/Windows-8/share-to-reading-list

    Hope this information helps. If you have any questions, please let us know.

  • Select shift does not work

    I just set up my new Mac Pro with the Mavericks and trying to "deselect" objects in format Acrobat (cloud) by holding down the SHIFT key and nothing happens. I noticed that now the SHIFT key does not work with the period of the selection tool, trying to select several objects or deselect objects. I also installed and tried pitstop their tool, but I get the same result.

    I can't speak for PitStop. The 'shift' multiple selection works, but you must close the preview of the output.

    Added new features for exit Adobe overview if you have opened it and try "Shift click", you will get a post it notes.

    I guess that's the problem you are having?

  • Why the selective function does not work.

    I used Adobe 2, 4 and 5 years.  I frequently ask selective highlights or sharpness in an image using the layer to double orders, highlights, adjusting the image, layer mask, hide all.  When I try to apply selective effects using brush nothing happens.  ???  How can I solve this problem?  I appreciate your help.

    Ted

    Ted,

    There are a few things that could cause that. The most obvious is that you use not perhaps not the right color (transparent, visible/black-white) or maybe the opacity of the brush has been set to a low value. If not, the next thing I would do is to check and make sure that you have the thumbnail of the layer selected and not mask the image layer in the layers panel. If this does not work, could you upload a screenshot?

    Jason

  • FAMILY SAFETY ONLY ALLOW LIST DOES NOT WORK

    Microsoft has recently made some changes on the safety of the family who have had side effects. Some parameters have been swept away and one of them is the only list. I put two computers only have allowed, but they seem to work around and browse the inappropriate content. If I receive the settings by clicking on the check box to allow only, it does not, when I refresh or revisit it, the box remains unmarked. Please, Microsoft, difficulty this thing or get back to where it was.

    Microsoft control millions of computers using security for the family and they have the information in their servers. It is a huge responsibility and to smear our settings means a lot of damage to millions and millions of people out there. Am sure it will take a lot of time for many parents discover that their children have access to inappropriate content. I am against changes that were there, especially the Remover of accounts and simplify the security for the family.

    I have now found a work around for this problem;

    If the declaration for this child's account is disabled, the State of the checkbox allow list only saves as ticked. I showed this Microsoft technical support fault and am tracking its progress until complete correction is ready.

  • Font change after you have selected text does not work when you have multiple lines

    For readability, I'm usually out of order in the new font Courier. So I select the text I want to change the font and choose a font "Courier New". This works well when there are only a few lines. But when there are a lot of lines, it won't work. I have to do it 3 or 4 times so he can work.

    For some reason, the command below are output has been changed to "Courier New" only once. So I couldn't reproduce the problem now.

    Someone complained a similair problem?

    I use Firefox on Windows 7

    Example:

    SQL > create tablespace TEST_TS3 datafile '+ DATA_DG' size 25G

    autoextend on

    MaxSize 32767 m

    Local extended management

    single 4 m size

    Auto segment space management;  2 3 4 5 6

    Created tablespace.

    SQL > select BLOCK_SIZE, INITIAL_EXTENT/1024/1024, 1024/1024/NEXT_EXTENT from dba_tablespaces where nom_tablespace = 'TEST_TS3 ';

    BLOCK_SIZE, INITIAL_EXTENT/1024/1024/1024/1024 NEXT_EXTENT

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

    8192                        4                     4

    -Just found out that the default INCREMENT size is 100 MB (at least in 11.2.0.4)

    SQL > select FILE_NAME, BYTES/power (1024,3) BytesInGB, increment_by INCREMENT_BY_BLOCKS, (increment_by * 8192) /power (1024,2) IncrementByInMB

    2 of dba_data_files where nom_tablespace = 'TEST_TS3 ';

    FILE_NAME BYTESINGB INCREMENT_BY_BLOCKS INCREMENTBYINMB

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

    25 12800 100 +DATA_DG/hrcpdas/datafile/test_ts3.413.887991171

    SQL > ALTER TABLESPACE TEST_TS3

    ADD DATAFILE '+ DATA_DG '.

    SIZE 2g

    AUTOEXTEND ON NEXT 256K

    MAXSIZE 30G;  2 3 4 5 6

    Tablespace altered.

    SQL > select FILE_NAME, BYTES/power (1024,3) BytesInGB, increment_by INCREMENT_BY_BLOCKS, (increment_by * 8192) /power (1024,2) IncrementByInMB

    2 of dba_data_files where nom_tablespace = 'TEST_TS3 ';

    FILE_NAME BYTESINGB INCREMENT_BY_BLOCKS INCREMENTBYINMB

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

    25 12800 100 +DATA_DG/hrcpdas/datafile/test_ts3.413.887991171

    +DATA_DG/hrcpdas/datafile/test_ts3.414.887992467 32 2.25-> 256 KB

    Unfortunately, publishers OTN suffer many peculiarities of the editor of the forum. The problem you describe is known, and there are many others. For a more complete list, including tips, see the list of problems the Publisher and the bugs forum.

    The thread has in the meantime been archived and cannot be updated more. Many problems have been fixed and some returned as newer versions of browser can have introduced other issues. Using the list is not really make sense unless there is cooperation with the administrators of site or the forum software developer (s). The last to date, Jive Software, seems to be deaf-blind, and resilient to the feedback from users.

    To validate the command line or SQL, you can highlight the text with the mouse and apply "Syntax" forms the > toolbar editor. This automatically applies a fixed font Courier 10.

    It is explained in the previous, more or less obsolete Oracle Community Forum Guide - part 3/3, 4.2 ECMA

  • NVL selection list does not not on the place where clause in query

    Ok. APEX 4.2...

    Im having problems with my selection lists and NULL values... I see that it has come time and time again...

    I have a tabular presentation, with a query based on a selection list.  The selection list has the ability to '- Show All -'... The value of the selection list is a number, and the display is words...  (for reference the LOV query is: select status, batch from pmt_stat_lookup by 1)

    Initially I had problems with null and invalid numbers like ' display Null = 'Yes' and the problem of null % ', so have used the code in this blog to remove the NULL values... Display Null = & amp; #34; Yes & amp; #34; and the problem of null % | Inside Oracle APEX by Patrick Wolf

    Then in the application of my report, I have a where clause clause that checks the value of the selection list... WHERE batch = nvl(:P11_STATUS_SELECT,STATUS_ID)

    everything works almost fine, and I can choose a status, or I choose - see the All-, but the query will not include the lines where the State is null.

    (I also see that maybe I should be, use the case statement instead of the NVL on where clause, but not sure of the syntax. In addition, NVL was used somewhat in the different reports in the application...)

    For reference, the code of the old blog that I as a process page is:

    BEGIN

    FOR rItem IN

    (SELECT NOM_ELEMENT

    OF APEX_APPLICATION_PAGE_ITEMS

    WHERE APPLICATION_ID = TO_NUMBER(:APP_ID)

    AND PAGE_ID IN (TO_NUMBER(:APP_PAGE_ID), 0)

    AND LOV_DISPLAY_NULL = 'Yes'

    AND LOV_DEFINITION IS NOT NULL

    -change here

    AND LOV_NULL_VALUE = '% null | '%'

    )

    LOOP

    IF V (rItem.ITEM_NAME) = "% null | '%'

    THEN

    Apex_Util.set_session_state (rItem.ITEM_NAME, NULL);

    END IF;

    END LOOP;

    END;

    Thank you very much

    Richard

    Richard,

    Perhaps this example can help you solve your problem.

    https://Apex.Oracle.com/pls/Apex/f?p=63838:2

    Jeff

  • Tabs Panel: How can I designate a default tab? The site with the tab wanted to selected download does not work for me.

    I created a tab panel and applied some styles to tabs. (Drop shadow and change the stacking order so that each tab casts a shadow on that below.) Now everytime the page loads, it will default to the lower tab. The only suggestion that I've seen is to save and load the site with the desired tab is selected and 'active'. This does not seem to solve the problem.

    Hmmm, have you looked into this widget from MuseGrid? It looks like roughly what it takes for this?

    News a new star | Adobe Muse Widget | museGrid.com

Maybe you are looking for