How to add 'show all' to a list of values

I have a page element (P10_AIRCARRIER), which is a list of selection - and the list of values is a standard query:

Select faa_name display_value, faa_code return_value
table

The report based on the selected in the select list, faa_name is filled.

It works fine, however the client would like to add 'Show all' to the list of values in the select list, so that if this field is selected, the region of report presents data for all air carriers instead of one.

Can you please indicate how I would do that, as Im not able to add the value "show all" at the table.

Im running 4 Apex.

Thank you
Laura

Change the query to:

select faa_name display_value, faa_code return_value
from table
union all
select '- Select All -', null
from dual
order by 1

Assuming that faa_name values sort after "- select -", it will be the first entry in the list. (Changes should be fairly obvious to other requirements...)

In the report query, the following expression correspond to a certain faa_code, or if "- select all -" is selected:

...
faa_code_column = coalesce(:p10_aircarrier, faa_code_column)
...

(Use to_number(:p10_aircarrier) if the faa_code_column type is NUMBER.)

Tags: Database

Similar Questions

  • I don't know how to add additional devices to my list of "trusted devices" in my Apple account.  When I opened my account on Apple using my apple id, I see only my iphone6 listed as a "trusted device";  There is a button to edit, for example. Delete the d

    I don't know how to add additional devices to my list of "trusted devices" in my Apple account.  When I opened my account on Apple using my apple id, I see only my iphone6 listed as a "trusted device";  There is a button to edit, for example. deleting devices, but I can't, or I do not understand how to add my other devices to my approved devices - but is anyone know how to add my Mac and iPad to this list?

    Download a purchase on a device should associate this device with your Apple ID take a look at this.

    View and delete devices in iTunes - Apple Support

  • How to add a transient attribute of a table values in the new attribute group wise transient that is to say wise customer?

    Mr President.

    How to add a transient attribute of a table values in the new attribute group wise transient that is to say wise customer?

    as below

    custwisevalue.png

    Concerning

    Hello world

    for an overview in the following form

    This is the sql query that reach this format

    SELECT c.name customer_name,
            p.name product_name,
            sl.sal_qty,
            sl.unit_sal_price,
            sl.sal_qty*sl.unit_sal_price AS salesvalue,
            CASE
              WHEN ROW_NUMBER () OVER (partition by c.cust_id order by p.prod_id desc,sl.sal_id desc) = 1 THEN
                  SUM (sl.sal_qty*sl.unit_sal_price) OVER (PARTITION BY c.cust_id)
            END totals
    FROM customer c INNER JOIN sales s ON s.cust_id = c.cust_id
    INNER JOIN salesline sl ON sl.sal_id = s.sal_id
    INNER JOIN product p ON p.prod_id = sl.prod_id
    ORDER BY c.cust_id,p.prod_id,sl.sal_id
    

    Cheers and enjoy

    Respect of

  • How to add "bookmark all tabs" to the menu of bookmarks in FF 4.0?

    I've used this feature as every other minute or so... really... and I find it really less use right-click differentt for all common things.

    Any way to get "To bookmark all tabs" back to my bookmarks menu? I'm not in the topic: config and I don't like the keyboard Alt option or the other. It worked so well and easy before... takes longer now.

    I have this second also in the order of the menu open and I'd love to have opened again as a second tab in FF before 4.0... possible either... ?

    PS - installation of Add-ons not an option for me. I have need of this return of just regular way to FF base.

    ?

    Thanks in advance!

    Some menu entries are hidden by default and only appear if you use the keyboard to open the menu.

    You can see the difference if you use Alt + F or Alt + B to open the menu 'File' and 'Favorites' and compare them to what see you if you use the mouse to open the menu after completing the bar menus visible by typing Alt or by pressing F10.

    • "To bookmark all tabs" (Shift + Ctrl + D) is no longer present in the menu bookmarks unless you open the bookmarks menu via the keyboard (Alt + B).
    • 'Bookmark this Page' is accessible through the context menu of the browser page.
    • "To bookmark all tabs" are available through the context menu of a tab on the tab bar.

    Add code to userChrome.css below @namespace.

    The first code makes only the entry "bookmark all tabs" visible.

    The second code makes all the hidden menu entries visible.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    /* Always show "Bookmark All Tabs" in Bookmarks menu */
    #menu_bookmarkAllTabs {display:-moz-box!important}
    
    /* show all hidden menu entries */
    #navigator-toolbox menuitem[class="show-only-for-keyboard"]{display:-moz-box!important}
    
  • How to add Contacts to a shared list/Contact Group of Data Import

    Hello

    Is it possible to add contacts imported using an Import of data to a specific shared list or the contact group? I see that I can do that when I download contacts from Contacts-> download of Contacts, but I don't see a way to do this with a Data Import.

    Thanks for any help,

    Jeremy DeVoss

    Autosynchs in E10 only supports synchronization from a CRM system, or some other very specific sources such as Omniture Remarketing segments. FTP (or SFTP) autosynchs unfortunately is possible to create. Creation of an Autosynch done now under Setup - integration, Inbound, Data Sources - create a new Data Source with the external call. This wizard, as long as your data source is a CRM system, you will create an autosynch at the end.

    However, for your specific use case, this unfortunately will not work. However, to do this, here's what I recommend:

    (1) put in place as usual, importing data

    (2) on the imported file, create a new field in the field with a specific value, something like Source of lead and make the specific value you can filter that these contacts (thus, for example, lead Source = import SFTP).

    (3) create a shared filter to find contacts with your specific value (in this example, the importation of SFTP)

    (4) your filter shared as a charger for a generator program to program to use.

    (5) in this program, click the add to no program of Contact Group to add them to your shared list.

    Its a bit of a work-around, but the only way I think it would be possible at the moment.

  • ADF MOBILE: how to add an item in the list without refresh the entire list

    Hello

    I am using this method to add an item to a list (I've already added the item to the data model):


    providerChangeSupport.fireProviderCreate (String providerKey, int newRowKey, object newValue);


    I don't want refresh the entire list, rather, I want to just add a new item to the list, that's why I want to use this method.


    I want to know, what value should I use for the second argument? i.e. 'int newRowKey '.


    Thank you


    Hello

    the event of change of provider in your case seems to actually create a new line. So the int is the rowKey (index PK or line) of the new line. There is no other choice to simply add an element to a list (ADF Mobile provides no component handles)

    See: Embedded Java/ADF for beginners: ADF Mobile: refresh your valuable data

    Frank

  • How can I show all the results returned by a sql query?

    Hi guys,.

    I need your help.
    Let's say I have a table: TableA. Fields in TableA are aleg, anon, monkeys. The following sentence can return, in general, several rows: select anon from TableA where aleg = somevalue. I would like to show the result of the anon column but no luck. If I try to display the results in a TextArea and the origin is a sql query shows that the first value of the line. I tried to see the like: display text (based in PLSQL) and a block anonymous plsql and coding
    DECLARE
    v_anon TableA.anon%TYPE;
    CURSOR v_cur IS
    Select anon from TableA where aleg = somevalue;
    BEGIN
    OPEN v_cur.
    LOOP
    SEEK v_cur INTO v_anon;
    EXIT WHEN v_cur % NOTFOUND;
    : FIELD_IN_FORM: = v_anon;
    END LOOP;
    CLOSE V_cur;
    END;
    but in this case, he showed no results.
    So the first question is what type of field can I use to show the result. And the second is what can I do to be able to show all the results returned by the query (if more than one line).

    concerning

    GMC

    We are all happy that you found a solution, but you must sign your messages and change your ID forum. It is always good to know the real name of the person you are communicating with. In addition, if you plan to get answer to your questions in the future, you must mark responses as useful or correct if they helped you solve your problems.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • How to create multi level (dependent) cascading list of values using ADF

    Hello

    In my project dependent Lov is necessary. I mean, for example, if two fields COUNTRY and STATE are there.

    Requirment is like this:- The field of all countries be lov. On the other hand, all by selecting the country of country lov, any State should display corresponding to this company in the area of the STATE.

    Kindly help.

    Thanks in advance!

    Janet,

    Is not what you want?

    https://blogs.Oracle.com/aramamoo/entry/how_to_create_multi_level

    https://oralublog.WordPress.com/2013/08/05/ADF-tutorial-how-to-implement-dependent-list-of-values/

    See you soon

    AJ

  • How to get the attributes from the list of values

    Hello

    I have two display objects, of 'Customer' and 'CustomerDetails '.
    'Client' view, has the attribute 'CustomerId' I've defined as LOV with view of 'CustomerDetails '.
    Like this:
    <ListBinding
        Name="LOV_CustomerId"
        ListVOName="CustomerDetailsView1"
        ListRangeSize="-1"
        NullValueFlag="start"
        NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
        MRUCount="0">
        <AttrArray Name="AttrNames">
          <Item Value="CustomerId"/>
        </AttrArray>
        <AttrArray Name="ListAttrNames">
          <Item Value="Id"/>
        </AttrArray>
        <AttrArray Name="ListDisplayAttrNames">
          <Item Value="Name"/>
        </AttrArray>
        <DisplayCriteria/>
      </ListBinding>
    I hung out in the soc on my page
    <af:selectOneChoice value="#{bindings.CustomerId.inputValue}" label="#{bindings.CustomerId.label}"
          required="#{bindings.CustomerId.hints.mandatory}"
           shortDesc="#{bindings.CustomerId.hints.tooltip}" id="soc16" autoSubmit="true">
     <f:selectItems value="#{bindings.CustomerId.items}" id="si16"/>
    </af:selectOneChoice>
    In the 'CustomerDetails' view, there is also "address" attribute.
    I would like to get the address according to the ID.

    How could I get through links?
    or in another way.

    Thank you!!

    Hello

    You want to display the address that is present in VO from customer to customer details?

    If so,.

    Perform the following steps:

    1 - Create a transient with string type attribute customer details VO (always updated).
    2 - I hope you have an attribute customer id here attribute where you created LOV. When LOV created in create list of values jump towards the top in the list of return values assign the value of the address in the transitional attribute.

    If you put this attribute on the user interface you can see the customer address id value correspondent.

    Thank you
    Prateek

  • Model BI publisher how to add a field by checking other field values

    Does anyone know how to add a field fieldA but with condition fieldB! = '10'? The form I used <? sum (.//fieldA [.! = "and fieldB! = '10'])? > does not work.

    Good,
    I also sent you how pleasant way.

  • How to ADD a program to the list of default configuration?

    I can change my programs by default but, how do I add a new default program to the list?
    HP Pavilion dv7. Win 7. 64 bit. IE9.

    I can change my programs by default but, how do I add a new default program to the list?
    HP Pavilion dv7. Win 7. 64 bit. IE9.

    Hello

    Open Control Panel / default of programs.

    Click on the link associated with a file type or Protocol with a program .

    After all, file types load, select the file type that you want to configure, and then click on change program button.

    If the program is not in the recommended section, click the down arrow for other programs.

    If it is still not visible, click the Browse button and navigate to the location where the programs of *. EXE file is located.

    Select the program , and then click OK.

    Change the programs that Windows uses by default:
    http://Windows.Microsoft.com/en-us/Windows7/change-which-programs-Windows-uses-by-default

    Set Program Access and Computer Defaults: frequently asked questions:
    http://Windows.Microsoft.com/en-us/Windows7/set-program-access-and-computer-defaults-frequently-asked-questions

    Concerning

  • How to add the drop-down filter list in a dashboard button/menu

    Hi all

    I created a custom dashboard related activities, but I don't know how to put the drop down filter the list (for example, exercise & fiscal month) on top of the dashboard as Pipeline analysis (report SOD predefined) as well as the button 'Go '.
    Clues?

    Thanks in advance

    Hello!

    In the page analysis of the design, you must create a new dashboard guest.
    Go to Design Analisys, select a report type (doesn't matter which) e.g. addresses of account (1).
    Then on the top left of the page, you will see 3 icons, and the third is new dashboard fast....

    Once you have created your command prompt, you can save it as the other reports, and you can add it to your dashboard.

    I hope this will help, do not hesitate to ask for more!

    Max

  • How to add location α all photos in an album?

    How can I add a location α pictures in one album?  I can add one at a time, but not all at once.  With 14 000 + photos scanned from slides, it is very difficult to organize these photos.  I can't sort the master file by file name, to find as "slides" are almost impossible.

    It would be useful that I can change the date and the location of all the photos in a single album.

    Thank you!  -Andy

    You must update to El Capitan that it update the photos to be able to do.

    When you select all the photos you want to give a specific location also.  Open the window "information" (command - 'I') and inside of him, you'll see "Add location" and you can enter in where it was taken.

    You can be very specific if you know specific addresses of the place where they are taken.

    R

  • How do mediacentre show all instances of a series recorded as an icon in the form of registered programs

    Media Center used to show only 1 screenshot icon through a series of recorded programs. by clicking on this screenshot, all other records showed in the series. Now, all instances are presented individually.

    I prefer the view 'nested' How do I get it back please?

    Hi RC57APR,

    I suggest you to re-run the installation of Windows Media Center and check if it helps you to change the display of the series recorded as you display earlier.

    To rerun setup the Media Center window, follow the steps below:

    a. open Windows Media Center.

    b. Select the task and click settings.

    c. click general, click Windows Media Center Setup.

    d. click on run the installer again.

    This will reset the preferences. Check to see if it helps you find the view or the earlier registrations.

    I hope this helps. Let us know the results.

    Thank you and best regards,

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to add expand all trees and collapse all buttons tree in Oracle JDeveloper?

    Hello

    I want to add two buttons on my page. I got a tree and add two buttons to expand and collapse all tree nodes. When the user clicks on expand all the button he will develop any node of the tree, and when the user clicks on reducing all the button, it will collapse all the tree how...?

    I have JDeveloper 11 g R2 version...

    Put your tree in an af:panelCollection that has this feature out of the box.

    Timo

Maybe you are looking for