need selected item in the shuttle to the impact of my request

Hello can some guide.

I have an element of the shuttle where I will be selected some selections.  .

Now once I need the value for a query...

and who has to drive into my list in my procedure.

So, let me show you an example

create a procedure test (mlist in varchar2)

Declare cursor c1 is select * currency whose name in mlist.

Start

for xxx in c1

loop

Warn (xxx. (Name)

end loop;

end;

The code above will not work cause if I give test ('USDOLLAR', 'EURO') because it addresses separated as an argument.

I need to send it in the form of a .array table but the value of the selected item looks like this

USDOLLAR:UKPOUND:INR

so, how can I send this value as the parameter for the query

But in the apex.

Replace your query with something like this:

Select * from currency where INSTR (': ' | mlist |) ':',  ':' || name | ':') > 0

Sergio

Tags: Database

Similar Questions

  • Retain the selected items on the right side of the shuttle in cascade

    Hello

    I'm under Apex 4.0.2 and have a cascading shuttle point so that a user can filter the left side of the shuttle using the text field.

    However when filter it - the shuttle seems to lose the items already selected on the right side.

    How can I change the element of the shuttle so that the user can always see the selected items, and the filter only works the unselected points (left side)?

    Thank you
    Keith

    Hi Keith,

    I don't have a blog, so there is no post. However, this is what I did:

    1 set the P298_FILTER element to 'Submit when you press enter' and added a branch to the page that redirected to the same page

    2. make the following settings for the P298_SHUTTLE element:

    Cascading LOV Parent article (s): P298_FILTER
    Page items to submit: P298_SHUTTLE
    List of values definition:

    SELECT ENAME d, EMPNO r
    FROM EMP
    WHERE UPPER(ENAME) LIKE UPPER(:P298_FILTER) || '%'
    OR '%' || :P298_SHUTTLE || '%' LIKE '%:' || EMPNO || ':%'
    ORDER BY UPPER(ENAME)
    

    and that is it really. The WHERE clause filters the record based on a filter match or a match with the existing items from the shuttle

    Andy

  • How to change the background color of selection of the selected item in the drop-down box of choice?

    How to change the background color of selection of the selected item in the drop-down box of choice?

    By default, the selection background color like 'blue', but if I want it to be "yellow" for example, how should I do?

    Thank you

    The id is applied by (I think) the skin of the ChoiceBox class. You don't need to define.

    You must apply the css in an external style sheet. You can apply the external style sheet to any parent of the box of your choice, or on-site (the most usual way to do it).

    Example:

    import java.util.ArrayList;
    import java.util.List;
    
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    
    public class ChoiceBoxTest extends Application {
    
      @Override
      public void start(Stage primaryStage) throws Exception {
        primaryStage.setTitle("Example 2");
    
        final ChoiceBox choiceBox = new ChoiceBox<>();
    
        List tempResult = new ArrayList();
        for (int i = 0; i < 10; i++) {
          tempResult.add("Item " + i);
        }
        choiceBox.getItems().setAll(tempResult);
    
        VBox root = new VBox();
        root.getChildren().add(choiceBox);
        final Scene scene = new Scene(root, 300, 250);
        scene.getStylesheets().add("choiceBox.css");
        primaryStage.setScene(scene);
        primaryStage.show();
      }
    
      public static void main(String[] args) {
        launch(args);
      }
    
    }
    

    choiceBox.css:

    @CHARSET "UTF-8";
    #choice-box-menu-item:focused  {
     -fx-background-color: yellow ;
    }
    #choice-box-menu-item .label {
     -fx-text-fill: black ;
    }
    

    Post edited by: James_D

  • 6.1 model - auto print to select items in the print dialog window

    In the slide deck, I have approximately 6.1 it says the following:

    Model •Imprimez
    -Print templates can now be used automatically to select items in the
    popup of the print dialog box. By default, the output of the box model
    selects the current specification

    Unfortunately I was not able to find how to do this in the documentation of the EP. Could someone point me in the right direction on how to do it?

    Download Pack 2.6 extensibility. It just came out. Take a look at page 11 of the extensibility Guide Print. It should have the info you need. If this is not the case, let me know.

    Here is the link for downloads:
    https://support.Oracle.com/CSP/UI/Flash.HTML#tab=PatchHomePage (page = PatchHomePage & id = h1j503ev ())

  • How to read the value of the selected item in the DropDownList control?

    Hello

    The DropDownList component has a selectedItem property is supposed to return a ListBase.

    But what I want is just the 'chain' which is supposed to be the selected item in the DropDownList control.

    How to read this value?

    Thank you

    -Malena

    You are misreading the documentation. ListBase.selectedItem returns an object. This item comes directly from your data provider, so you just have to go up or go for any property you need.

  • Impossible to delete previously selected items from the drop-down lists at the click of the button Reset on a page of the screen.

    Hello

    I'm unable to clear previously selected items from the drop-down lists at the click of the button Reset on a page of the screen. The code I did to clear the previous value when the click on the button Reset is as below.

    {} public void onReinitialize (ActionEvent actionEvent)

    System.out.println ("onReinitialize is called ::");

    UIComponent uiComp = actionEvent.getComponent ();

    If (uiComp is nothing)

    {

    otherwise we use the button that we linked to that bean

    uiComp = getButtonResetByBean ();

    _logger.info ("reset fields: buttonID =" + uiComp.getId ());

    }

    on the other

    {

    _logger.info ("reset fields: CompID =" + uiComp.getId ());

    }

    Pass the component inside the uniforms, UIXForm, UIXSubform, UIXRegion, UIXPopup, RichCarousel

    or RichPanelCollection that contains the components to reset

    getTextIDLOV () .setValue (null);

    ResetUtils.reset (uiComp);

    }

    ---

    Using this code Iam able to clear the entrance to the text box but can not clear previously selected items from the drop-down lists when the reset button is clicked

    Can anyone please help on this issue.

    It's simple, you can set GenerateIsNullClauseForBindVars = "false" in the viewCriteria who created in EmployeeView

    After doing that it will fill the list of employees only after the Department selection

    Again check the enclosed application

    Ashish

  • Get an AIArtHandle for all the selected items in the doc

    I'm doing what someone does in this other thread about the export in PNG.

    reference: http://forums.Adobe.com/thread/320685

    We have several layers (some off and locked).

    I would like to pass all the selected items to the Action of Image Optimization as a group rather than optimize each.  I use AIMatchingArt Suite to retrieve items selected, but it points to an array of AIArtHandles... any ideas?

    That's how I ended up doing and it works.  (In addition to the other code which has been referenced in the original post).

    I don't know if it would work better with an ArtSet, but it works.  Perhaps, if the images I'm flattening were somewhat more complicated, I would run in the duplication you mentioned.

    result = sAIActionManager-> PlayActionEvent (kAISelectAllAction, kDialogOff, NULL);

    result = sAIMatchingArt-> GetSelectedArt (store, & County);

    If {(result)

    Store = NULL;

    Count = 0;

    } else {}

    result = sAILayer-> InsertLayer (NULL, kPlaceAboveAll, & newLayer);

    If (newLayer &! result)

    {

    sAILayer-> SetLayerVisible (newLayer, true); See the layer

    sAILayer-> SetLayerIsTemplate (newLayer, false); Mark as NOT a model layer get exported

    sAILayer-> SetLayerEditable (newLayer, true);

    result = sAIArt-> NewArt (kGroupArt, kPlaceAboveAll, Nile, &group);)

    for (index = 0; (result == kNoErr) & (index< count="" );="" index++="" )="">

    Art AIArtHandle = (* store) [index];

    Copy of AIArtHandle;

    Add the art group

    result = sAIArt-> DuplicateArt (kPlaceInsideOnBottom, group, ©);)

    }

    }

    }

  • Name of the selected item in the tree

    Hi all..!

    I m new to Flex.
    I m using a tree control that uses XML as a data provider.
    I want to perform certain operations on the basis of the selected item in the tree. SelectedIndex tried but it didn't work the index coz changes when the nodes of the tree are drill down or drill upward.

    Can someone help me please... Its urgent

    Vishal :)

    Hello

    I modified the sample in the URL below to use the data you provided. Please check out if the sample code attached.

    http://livedocs.Adobe.com/Flex/3/langref/MX/controls/tree.html

    I hope this helps.

  • How I see the amount of selected items in the Finder?

    On my old MacPro when I selected a bunch of items in the Finder, it looks like "12 items selected' or whatever, but this new iMac does not - have I lost my money?" because it's about a function vital to me...

    Choose Show status bar in the Finder's view menu.

    (144783)

  • is it possible to change the blue color for the selected items in the selection list?

    is it possible to change the blue color of the selected items in a list select multi?

    Hello

    I don't think there are beacons of style that would allow you to change the colors highlighted. As you say it is determined by the operating system settings.

    You could look here, it can give you assistance.

    http://www.hedgerwow.com/360/DHTML/ui_input_listbox/demo.php

    Concerning

    Paul

    Published by: pjturley on June 29, 2009 14:53

  • Shuttle: How reference the selected items on the right side

    It seems so easy, then why am I hurt so much.

    I have a simple shuttle:
    1 Adam
    2 Baker
    Charlie 3
    4 delta
    Echo 5
    6 foxtrot

    Select name, UserID R of UserTable

    The values are stored in a VARCHAR2 MULTI_USER field (for example 1:2:4:6)

    When I want to retrieve the names of the selected element, how reference the elements separated by colon?

    For example:

    Select the name of UserTable
    where UserID in (select MULTI_USER MULTI_USER where MULTI_USER_ID = 1)

    should return:
    Adam
    Baker
    Delta
    Foxtrot

    Why is it so difficult for me to understand?

    Thanks in advance

    Hello

    This might help
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21674/bldapp_item.htm#sthref908

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • How to refresh the selected items in a shuttle service

    Hello!

    When a page loads the data from the left side in a shuttle service is defined by the definition of LOV, and the right side is in the source section.

    If I do a refresh by using a LOV parent then the list on the left side of the shuttle is of course updated as it should. But because the right is not a LOV by definition, how can I say to also be updated at this point or the left side is updated?

    The changes on the right side, but it comes with an empty list instead of the items it becomes if I reload the page instead.

    Mathias

    I now guessed after restoring data from many different blogs on the net. Finally I found something that helps with the solution.

    There must be a dynamic action and I got one got him good data, but it never set the value. I had it put in place "PL/SQL". That would apparently just run the code, burt expect not to return anything.

    Rather the setting must be set "Set Value" and down where the source is defined PL * SQL body. Now the returned data can be assigned to an element that is also defined in the same section.

    Works like a charm.

    Mathias

  • ListView / sheet problem - not selected item after the opening of leaf.

    Hello

    In my main.qml, I have a listview using the standardlistitem.

    I have a popup menu attached to the standardlistitems.

    Now, initially, I had a problem of selection of a list item when I called one of the options in the context menu of the element. The element does not get selected when you make the menu appear.

    To solve this, I use the onTriggered signal from the context menu to call select on the listview. He calls the onSelectionChanged listView itself signal.

    Now here is my problem:

    If I call a function c ++ this signal of the main.qml and in this c function onSelectionChanged ++ I call the funtion selected() on ListView to obtain the row function works correctly and the index is returned.

    But if I have everything first to make a visible sheet and call the function c ++ within the call to selected() worksheet returns nothing.

    There is nothing in my qml or CPP which clears the selection, this occurs by default or something when the worksheet is opened?

    THX.

    This answer worked for you?

    Graham

  • Select items in the browser for synchronization

    I tried to synchronize a soundtrack with a presentation "talking head". I tried "Sync Clips", but could not click on two clips in the browser. When I clicked on the second the first chose is no longer. I solved this problem by putting the track sound and video in the timeline and then by moving the sound track until the sound and video have been synchronized. I want to take excerpts from the video to make a short promotional video. I selected the sound and the video on the timeline using the blade too and following the instructions of several clips Cup selected at the time the section instructions and then copy and paste them into a new timeline. The sound in the tradition of the new time is not synchronized with the video.

    All the instructions I've read on synchronous clips simply says to select both clips, and it worked when I tried it first two weeks ago, but it won't now. If I could get this to work I guess I could paste sections synchronized video in the new timeline. Also, it would be much faster to use "Clips synchronized" rather than move the audio track in the timeline.

    The original audio file was MP3 I have converted to AIFF.

    I use a MacBook Pro, Yosemite 10.10.5 2015; Final Cut Pro X 10.2.2

    Post a screenshot of what happens in the browser.

  • First selected item in the list of choices LOV

    Hello
    Dears, I want only the first element selected from the list of choices on the form. Everything by applying a LOV on any attribute, I didn't see any of of the first selected element.
    Please help me
    Thank you

    Sultan,

    As I said, try to set a default value for the attribute, unit of MEASURE at the level of the entities. So when you create a new line, the COS will be default with this value.

    Is of the same kind of work example: http://adf-use-cases.googlecode.com/files/SelectOneChoice.rar

    I hope this helps.

Maybe you are looking for