display 2 lov on the same page?

Table:employee

ID      Name      Status
1     emp     active
2     emp2     active
3     emp3     terminated
4     emp4     terminated
....
I can: on the proposed transfer screen, when the employee leaves the company, the LOV will not show LOV resigned employee used: select name d, r id emp1oyee where superior (status) = 'ACTIVE' order by 1

do not know how: need to show the name employees resigned using the report link. The report link is back to the same page that created the assignment. How I accompolish cela by displaying the laid off employee name not the ID?

Ex: p10 (shape) has the lov with active employees. P11 has a report of all project assignments. When I jump from the link provided in p11 P10, the recovery must display the name of the (unidentified) employee the same topic is complete.

I use APEX V4. Can you help me? Thank you.

Munshar

Munshar,

Ah, I've got get it now.

My thought would be to change your LOV code to something in the sense of the following:

select name||' ('||status||')' d, id r
from employees
where id = :P10_ID
  and upper(status) <> 'ACTIVE'
union all
select name d, id r
from employee
where upper(status) = 'ACTIVE'

This should give you what you are looking for.

-David

Tags: Database

Similar Questions

  • Process of PL/SQL error, the display of msg in the same page?

    Hello

    I have a process of PL/SQL. When the process completes successfully and the branch. After the treatment. Action points to the same page and with "include the success of process message" enabled, the success message is displayed on the same page. When I error in the page, a new page appears with the error and a link for the user to return to the Application (ie the previous page). Is it possible in this case error, or when I use RAISE_APPLICATION_ERROR error message displayed on the same page as a page of success?

    TIA

    Published by: Ms on 10 Δεκ 2009 07:51 πμ

    TIA,

    See the analysis of Re: update of a collection should error wire. It will provide the info you are looking for :-), I hope it

    See you soon,.
    Hari

  • Multiple LOVs on the same page

    Hello

    I have several columns like below:

    First field would be a static list of selection.

    Second one, because of the FAILURE, he works with the following code:

    Select REASON_OF_FAILURE as display_value, OUTPUT as return_value

    of AUDIT_REASONS where reason =: P3_MANAGING_PED and process = "MANAGEMENT of developing Countries".

    order by 1

    So that this works, I have to change the definition, of the Action of the Page when the changed value Redirect and set the value.

    If I follow the same process for the second group, when I select the assessment for Dispatching IN tasks, I lose what I chose for the select previous. (this has a little sense).

    How can I avoid this?

    Kind regards
    Leonard

    Lalu-Oracle wrote:

    First field would be a static list of selection.

    Second one, because of the FAILURE, he works with the following code:

    Select REASON_OF_FAILURE as display_value, OUTPUT as return_value

    of AUDIT_REASONS where reason =: P3_MANAGING_PED and process = "MANAGEMENT of developing Countries".

    order by 1

    So that this works, I have to change the definition, of the Action of the Page when the changed value Redirect and set the value.

    No, you haven't. You need to implement a cascading select list as described in the documentation.

  • [ADF, JDev 12.1.3] How to display multiple records on the same page... not in a table but they appear a form for each record

    Hallo,

    I need to create a page that displays the records of a VO, but I would not use a table.

    Instead, I would like to display a form for each record to be displayed.

    Forms must appear one above the other and each form should have 2 buttons: one to remove the file/form itself and one to add a new file/form.

    When you press the button Add a new empty form should be dynamically added to the page (so that the user can fill) and created related record.

    When REMOVE button is pressed the form (which contains the operated button) should be disappear and the record shuould be deleted.

    Creations and destruction must be applied only if the user clicks a button on CONFIRMATION / COMMIT.

    Maybe this http://digilander.libero.it/flattit82/OTN_FILES/MultiFormPage.png picture can help to understand what I want to do.

    You kindly help me?

    Thank you

    Federico

    Hi Federico

    I was saying that your page layout can be achieved using af: table

    See this image:

    This provision is af:table (I think same as yours), just add a column in the table and put all the fields in this column then correct layout allows to design as a provision on the form or group layouts

    I'm not saying it's the best approach, but you can try this

    Thank you

  • How can I add a filter on my Web site, which displays results immediately on the same page?

    Hoe kan ik een filter toevoegen op mijn site, results old weer geeft die in of zelfde pagina?

    This is not possible with Muse

  • Check boxes are displayed incorrectly &lt; input type = "checkbox", "checked" &gt; in 4.0.1 when they are fine for the same page in 3.6.17

    Check boxes are not displayed properly checked < input type = "checkbox", "checked" > in 4.0.1 when they are fine for the same page in 3.6.17

    Maybe you can try to use controlled instead of "checked".

  • Link on the sidebar that will display the results in the middle of the same page column

    It's me again...

    The idea is to keep viewers on the same page.  I want to have the links in the left sidebar when you click will bring information and photos in the stratification of the middle column which is originally in the middle column.  It's kind of like swap image (which I work with a large number), but it would not be a case of glide mouse.

    Thanks for your help,

    Sandy

    Fixed position elements are exactly that.  Fixed compared to the upper left of the browser.  Since fixed elements are removed from the normal document flow, they do not behave like floats by-side.

    Nancy O.

  • Click on a. Shortcut HTM extension lead to the same pages 2 to open every time

    I just upgraded to Version 17.0.1 Fiefox and now whenever I click on a shortcut to a .htm file on my open office 2 of the same pages. I tried the trick of 'make IE default browser and then switch back to Firefox' as advised in blogging help, but that made no difference. I even "reset firefox" without result.

    I had to remove Firefox manually (Windows uninstall won't) and then re-install Firefox. Fortunately, I didn't lose all my favorites. Thanks for all the offers of help displayed.

  • Place a photo on the same page of a photo book?

    So I did a lot of photo books in the past with iPhoto, I'm working on my first with Photos. I can't for the life of understand me how to move a photo from one spot to another on the same page without removing it completely, and then placing the photo once again in place I want.

    It is a HUGE pain when I don't want chronological photos on the same page. My normal process is to add photos to the page, by increasing the number of photos on the page until I have everything I want, then I move them until. This allows me to just go through the photos unplaced until I get what I want. In iPhoto, it wasn't a problem, but with pictures, it seems that once you have placed a picture, you cannot move. So whenever I want to add a new photo to the page and increase photos by the Photos of say 3-4, page move around randomly and I have to start all over again with the placement. Would not a big deal, except that Photos sorts photos unplaced by date, so when I took a picture to place in a new spot, now I need to go hunting for him again in the list.

    Any help would be great, I hope my question is clear.

    You can drag a photo to a different location on the page:

    • Place the pointer over the photo, click on hold until the photo is displayed outside, and then drag the photo to the Photos area or another location on the page.

    If you drop the photo on a different box of photos with a photo the two photos swap places.

  • How to create an action link that goes to a section that is 'hidden' in the same page

    Hello

    OBIEE 11, I have a dashboard page that has section 1 as a guest, 2 which shows an analysis that contains a chart and article 3 that shows the details of the graph. I have an action to link this graphic article 2 connection to the details in section 3. However, I would like my report to the do not appear in article 3 as long as you press the link of action. Is there a way to 'Hide section 3 until you press the link action?' Thank you!

    Hello

    Try to avoid the double-display: How to create an action link that goes to a section that is 'hidden' in the same page

    Felipe_Idalgo meets the other post (and he posted the best answer to your needs), in order to continue the other thread instead of opening another.

  • Pass values between different areas on the same page.

    Hi guys!

    I'm developing a simple application where we have the list of students. I'm displaying information on a separate page for each student. Do you have any idea how and if I can pass parameters between regions, on the same page? I have a view showing, student card name information etc, and I want to create another view on the same page, which will be the student and will return a list of its subscribed courses.

    Part of my database is something like this:

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

    Students

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

    ID (PK)

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

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

    Student_course

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

    ID (PK)

    Student_id (FK)

    Course_id (FK)

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

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

    Course

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

    ID (PK)

    You have no idea how this can be done? I found information how to pass parameters between pages, but not on the same page.

    Thanks in advance!

    P.S. I am using the Application Express (declarative programming via a web browser), the use of the Application Builder.

    I discovered that I really had to. I just had to replace the "1" in my sql query with: P9_STUDENT_ID

    Thanks for your help anyway!

  • How to make a form with report and a form of inclusion in the same page?

    Hey, guys:

    I was wondering if you could have any link or examples to show how to make a form with report and a form of inclusion in the same page, these two forms are related to the same table. Our customer wants that a user can add a new row to the table in a form and see all lines created by this user in a report, the report should provide link change as well. the problem is: whenever I inserted a new line or change a line or delete a line, and submitted and return to this page, all hidden elements lost their values, this report is empty, and some display only items also lost their values. Could someone give me any suggestions?

    Thank you very much!

    Sam

    So, the problem is essentially with page elements lose their session state values when re-loading of the page. How do you define values for the elements of the hidden page? You have default values defined for those? They are based on the database column? What is the "Source" parameter for these items on the page? It is set to "Always, replace any value in session state"? You have any process of 'Empty the Cache', which is reset these values to null element?

    What is your version of the Apex?

    I would recommend that you have installed for example in apex.oracle.com. This would help to better understand the issue.

    Published by: jaouad khalifi on 13 December 2012 22:11

  • Click on a button to fill out the form on the same page of the report

    Hello

    I have a report that contains a name I want to move to a field in a form on a different region on the same page.
    My button on the report was her own column called ADD_LINK. This is the button. "< id button ="apexir_btn_ADD"class =" button apexir "type ="button"value ="Add"onclick =" "> < span > </span > Add < / button >.

    Once you click on this button, I have the form region fade. The region is called add the tag to the employee, which has P4_ROWID, P4_EMPLOYEE_ID and P4_TAG_ID.
    Once the area is displayed, I want #NAME # to show in the P4_EMPLOYEE_ID.

    I copy this form in another page, where I had it before. It made more sense to move it to this page for purposes of interface, then perhaps this tidbit will help as well.

    If someone has an answer to it, great. I'm new so thanks for the help.

    Thank you.
    Jeremy

    Its market not now and I did in the region never delete because you use the same area for the two remove hide/show the corresponding keys.

  • Interactive report with the subreport Details on the same page

    Hi all

    I am fairly new to APEX, sorry if my question is too obvious. I use Apex 4.0.2 on top of Oracle 11.2.

    I have an interactive report that lists the contents of a table. Since there are a lot of columns in this table I would like the report to only show that some identifier columns and all of the currently selected folder is displayed using another report in a separate area on the same page.

    The 'link' on the interactive report column is almost that, except that he jumps on another page; I would just like to have a subreport, updated with the data that is selected instead of a new page is displayed. Does anyone know how to do?

    Thanks for your help,
    Chris

    Chris,

    This looks like what I usually do in my referential data.

    I use the wizard to create the "report."

    I make sure that the two regions (the form and report) will be created on the same page number

    so I check/change the order of regions (second report in the first place, form)

    then I put in the form to display in the column 2

    Kind regards
    Richard

    P.S., the report shows only enough columns to recognize records. the screen displays all records

  • A report on the current record of another report on the same page of filtering

    Hello

    I have a report on the same page and form in an APEX application. The interactive report is used for sorting/filtering etc. and the form is used to present the data for one record at a time, but also to allow updates in the selected fields. This was done using the wizards, little 'edit' is click on the button to change the shape of the selected record.

    I also have (or want to have) a second non-interactive report on the page, which contains some records according to the record of the main report that is currently selected and appearing in the form.

    I tried to make a simple 'SELECT fields WHERE the link field is equal to the main report', but he doesn't always says no data found.

    Basically, I need to be able to have a query for the second report which says "SELECT those fields WHERE the site is equal to the site displayed in the form.

    A click on the button 'Edit' of small pencil/paper on a report, this set some ActiveRow or something like that I can use to filter the second report?

    As you can tell from this post, I'm in my childhood skills database and any literature/advice on how to do this (outside MS ACCESS...) would be appreciated.

    Hello

    What is your version of the Apex?
    You define a column as to be the link.

    Do you mean something like this?
    https://Apex.Oracle.com/pls/Apex/f?p=40323:71
    If you click on the deptno column, it refreshes DEPT report.

    Kind regards
    Jari

Maybe you are looking for

  • Family sharing woes

    I like the idea of family sharing, but is it possible that my 17 year old son can participate in sharing family so he can take advantage of our subscription iTunes but allow him to make purchases with his iTunes account? I have the family facility an

  • Windows Media Player error

    Hello! I'm experiecning issues play any file .wav using Windows Media Player. I get the following error message: "an audio codec is needed to play this file." (C00D10D1 error message). I checked the web help and it states that "...". the DSP Group tr

  • How to configure a scanner HP scanjet 4200C Vista

    How can I configure a scanner HP scanjet 4200C under vista?

  • Configuring updates: stage 3 of 3-0% complete - system reboot

    OK ive tried a whole bunch of these responses on already and nothing is really bad with computers to work im and it's just insane for me why should I pay money for something that dosnt work? not only it doesn't but it cannot even solve the problem if

  • Start stuck on "Please wait for the Local Session Manager."

    I would say that this problem started a couple of days. Went to start my laptop (Toshiba) and he sat on the "Please wait" message forever. Had no problems to start in safe mode. Looked up various ways of addressing the problem. Was able to change the