Select the values from the list

All,
I need help for this task.
I have a Select list element with display value (names emp) real values(emp ID) /LOV now I want to complete the following text items (Dept, location, wages etc.) based "names of emp" I took from the list select... any help? Thanks in advance.

Hello

The simple way is:

1. change select list property settings: action, highlighted Page changed: "Send Page".
2. write a process on submit, type pl/sql, then fill the (Dept, location, salary, etc) with the select query where condition check for emp_id =: Select_list name.
set the condition for the process while it is called when a user selects the name of the employee.

THX
MK

Tags: Database

Similar Questions

  • Select the list with the list of dynamic values with more than 4000 tank of query

    Hello

    I have no application where users can store SQL queries in a CLOB column. This query is then used to populate the list, select a dynamic element through LOV. Following the code returns the query for dynamic LOV used to populate the select list. It works fine except when the length of the lv_sqlStatement becomes more than 4000 characters. Then application crashes with "ORA-06502: PL/SQL: digital or value error: character string buffer too small" when Select the list item rendering.

    Any ideas how to get around this problem? Any help is appreciated. Do not say to them to write shorter than 4000 queries because I can't (it's operational requirements).

    DECLARE
    lv_sqlStatement end_user_set.sql_statement%type;
    BEGIN
    lv_sqlStatement: =: P2_SQL_STATEMENT;
    return ' select the label, value of (' | lv_sql_statement | t ')
    To_char (t.value) if not in (select value from end_user_set_member eusm)
    where eusm. EUSRSET_ID = ' | : P2_EUSRSET_ID | ')';
    END;

    I just blogged about this problem and posted a solution. See this announcement:

    http://www.deneskubicek.blogspot.de/2013/03/select-list-with-dynamic-lov-and-Ora.html

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • Select the list with propose pulling the values of %

    Hi all

    I have a tabular presentation of data app and from views of the choices selected in the 'list of selection with submit' the post, it works very well for the chosen values, when I choose '%' I want to display all existing records in the form of tables, but instead he said: "no data found". How to solve this? Kindly help and advice.

    ex:

    Query tabular-

    Select a, b
    table
    When a type: POINT

    Agenda:

    Type: select the list to submit
    Named LOV:
    Select a d, a r
    from table_recherche by 1

    Receive your answer.

    Thank you and best regards,
    Senana

    Hello

    You have to check what is the value returned by the selection list when you select '%' in the select...
    There is a null value to display field where you can enter '%' and the return NULL value you enter 0

    then change your query in a table
    Select a, b from table when one like: POINT GOLD: ITEM = 0

    Kind regards
    Shijesh

  • Select the list with a shipment does not save to the database

    OK, I have a form with several fields (text, radiobox, selection list, display text). I have one of these lists of selection fill a display in the text field. When I chose a selection of the selection list, she filled the screen in the text field with the correct information but erased all the other information that was the inscription in the other fields. I searched the forum and found that the selection list should be a selection with mailing list and the branch page on itself, which works, but now these 2 fields information is not saved in the database. All other fields are saved, but not both. Anyone know what im missing? Thank you

    Deanna

    Hi Deanna,
    First the display as a text cannot insert data into the database. It can only display data from database. I guess you do not want the user to enter these areas, and that's why you use display as text field.

    There is a good way to resolve this situation. Say, you have 3 select list P1_ITEM1, P1_ITEM2, P1_ITEM3 in your page. For the change of P1_ITEM1 the screen Select the list and the LOV type in your query, assuming you want the value to be retrieved from a table. Therefore, type-

    Select emp_id, ename from emp;

    type the default value and null -1 and display null YESvalue. Make sure that under the type of source, you have the selected with the correct name database column.
    for P1_ITEM2 to the section LOV retype your query - i.e.

    Select mng_id, executive pay where emp_id = NV('P1_ITEM1') or NV ('P1_ITEM1') = 1

    Basically, this statement updating the data in the list select second after the first selection. type the default value and null -1 and display null YESvalue. Make sure that under the type of source, you have the selected with the correct name database column.

    Do the same for the third. It should work fine.

    I hope this helps.

    Kind regards

    Pascal M
    http://Tajuddin.whitepagesbd.com

  • Select the list date picker on a single line - is this a bug?

    I use: Application Express 3.2.0.00.27

    Here is a bug? If so, how he reported so it will be fixed in a future version of APEX? If this is not the case, how can I do so it ends as I wish?

    1. create the blank page
    2. create html region
    3 create the 'select list' (start on new line - Yes... Span - line field - Yes, ColSpan - 1, 1)
    4. create the date picker component (start on new line - no,... On the ground - No, ColSpan - 1, length of line - 1)

    There will be other items displayed in columns more above what I just had create you above. I want the list of selection and the datePicker to show side by side on the same line, so I put the element selector to date on the same line in the same field as the selection list element.

    HOWEVER... the date picker eventually displayed in the selection list item (sort of), instead of next to it on the same line.

    Here is what I get:
    ...................... [Field selection list] Label date Picker
    Select label list
    ...................... [Date field Picker]

    Here's what I want:
    Select the list tag [field selection list] Date Picker [Date Picker field]

    Thank you
    Steve

    Published by: sskelton on August 3, 2009 11:01

    Published by: sskelton on August 3, 2009 11:02

    Hello

    Take a look at my first answer here: Re: problem with the position of the elements of can help you

    Andy

  • Select the list box file and read the data from file

    I can list the files in the folder in the listbox

    1. I want to just list file .txt files

    2. How can I read data from the selected file (.txt)?

    I think that's what you want, enter a model in your list of files vi (for example, *.txt) and then just use File.vi text of reading by using the selected item in the list box (double click on event or value change) and use the starting for the vi records list path.  I have included a crude extract for your pleasure.

  • Fetch value selection list to select the list using dynamic measurements

    Hello

    I have a select list 1 and select list 2

    as I chooses a 1 based on selected value select list option, select list 2 options screens.


    : Options P1_SELECT1

    DISPLAY RETURN VALUE OF VALUE
    D INTERIOR
    INTERNATIONAL I HAVE

    : P1_SELECT2 with dynamic statement options

    Select NAME, ID from PRODUCT_MAS
    where ADDL_FIELD1 =: P1_SELECT1

    can I do this task using dynamic measurements?
    If so how can I do this?

    You have even set a dynamic Action for this:
    Set as Select list and property 'Cascading LOV Parent article (s)' set of P2_SELECT2 to P1_SELECT1 and you're done.

  • Select the list

    using an element from the selection list with a sql statement to the LOV.

    I want to display (for example using emp) ename (employee name), but back to the page-item the empno.

    Select ename, empno from emp order by 1 r d

    what I see on the drop-down list is the ename and fills the page element is also the not the empno ename

    This is the expected behavior (if so what is the second entry in the selection list for?)?

    Eben

    ebenwalker wrote:

    the behavior we are trying to achieve is that the user selects the name but the page fills up with the empno and the user sees the empno.  Perhaps no one expected behavior?   (don't have not implemented those fields in the table)

    I think that I misunderstood what follows in the original post:

    what I see on the drop-down list is the ename and fills the page element is also the not the empno ename

    I took this means that the name was displayed in the select list and has been stored in the status column value / session. This clearly shows not the case in the HTML code generated for the control above.

    You seem to want the control to display the selected option value, but present the content of the list option when activated. In this case, Yes, the behavior that you expect is certainly not provided by standard selection list control (if I am now actually understand this and expect this selection and display behavior to occur in a single command).

    The standard command with behavior more closely matches the one described is a Popup LOV with field of entries of configuration Enterable, Show and store return value, as in This example added to your application.

  • Select the list item

    Hello

    I got an item from the list of selection on page 1. Any value is selected in this section must have happened on the next page 2 on click of a button and gets displayed or to be used in page 2.

    How can I reach it?

    Thanks in advance


    This button performs a redirect not a send this page. The value of the selection list is therefore not stored in session state. The button must send to the page and then create a branch to the next page,

  • Select the list!  Help

    I create a report with the element select two
    1. Select months and this is just
    2. Select kind point and the list of values definition
    I want to select one and retrun ('a', 'b')
    but the return value is error

    can you help me to change it?

    Check out page 6:

    Define the LOV with the values that you want to include separated by a ^:

    STATIC2: a; a ^ b, b; a ^ b ^ c, c, b ^ c

    Convert the string returned by the LOV in an array of xml elements in the report query:

    select * from tab_select where yyyymm=:p6_a
    and kind in (
      SELECT  EXTRACTVALUE( xt.column_value, 'e' ) AS single_element
        FROM
          TABLE(
                XMLSEQUENCE(
                   EXTRACT(
                      XMLTYPE(
                         '' ||
                         REPLACE( :p6_b, '^', '' ) ||
                         ''
                         ),
                      '/coll/e'
                      )
                   )
                ) xt
                )
    
  • Select the list when the button display problem in Oracle Apex

    Hello world

    I use a button that displays a selection list box (contains two values) click on...

    Whenever the button is touched for the first time, the selection list box does not appear properly... the list box is displayed in a smaller size if the values it is not visible...
    However it appears correctly when I hit the button for the second time... its strange...

    Help, please!

    Kind regards
    Sandeep Reddy

    There are two options. One is to create a Page process that fires before header or after and sets the value of the element. This method works when the value is independent of the other page elements. If the value is dependent on other page items, you can set all at once in the same process.

    Example:

    declare
      var_field1   VARCHAR2(40);
    begin
      var_field1  := :APP_USER;
      :PX_USERNAME  := var_field1;
      select COUNT(row_id) into :PX_USER_COUNT from users;
    end;
    

    This example illustrates two ways to define the elements of the page: one using another variable and the other as a result of a pass-through select query. You can also use the function calls, the application variables and more.

  • Select the list and the subquery: "motion LOV is invalid."

    Hi all

    I want to create a list with the following format:

    'name1 (County of another table).
    "Name2 (County of another table).
    ...

    I have it boiled down to a simple query with a non-correlated subquery that works fine in SQL * more, but not like a LOV:

    Select table1.champ1. (select count (*) from table2) d.
    Table1.champ2 r
    FROM table1

    I get this (Apex 3.2.1):

    1 error has occurred
    * LOV query is not valid, a display and a return value is needed, the column names must be different. If your query contains a query online, the first CLAUSE in the SQL statement must not belong to the query online.

    Even if it does not work:

    Select table1.champ1. (select 'a' out of two) d.
    Table1.champ2 r
    FROM table1

    I tried it with an inline view, joining table1 a statement select from table2 which returns the number, but I get the same result. Any ideas?

    Published by: MalcA on January 22, 2010 12:14

    Try this.

    Select D,
    R
    from (select TABLE1. FIELD1 | (select 'a' out of TWO) D,
    TABLE1. FIELD2 R
    from TABLE1)

  • Select the list AND entry of hand

    I have a situation where I need to use a list selection on the form and the traction of a lookup table. The tricky part is that I also need to be able to allow the user to enter text in addition to the collection in the drop-down list. Needless to say that the user has entered by hand at the table of correspondence. While it simplifies, but I need for the user to choose from a list and a hand enter if necessary.

    Someone else ran into this requirement and found a way to deal with it?

    Thank you
    John

    Hi John,.

    If you use apex 4.0 or later, you can use [url http://www.apex-plugin.com/oracle-apex-plugins/odtug-competition/combobox_208.html] this plug-in.

    Kind regards
    Hari

  • Select the list with option key

    Has anyone found a way to impliment a Select list that also allows you to enter a value that is not in the list of selection?

    Hello

    Have you tried a popup LOV?

    Not perfect, but usable solution.

    Concerning

    Michael

  • SELECT the list of the table...?

    How to select the (view) on the list of all tables in the database, please?
    I forgot this command and you will not find anywhere? He drives me crazy... ((
    It was something like "SELECT (table names) of user tables.
    I work in SQL * more

    Thank you
    SELECT table_name
      FROM user_tables
    

    This will show you all the tables that has the current user. You can also query the DBA_TABLES or ALL_TABLES if you want to see all the tables you have access to or all tables in the database.

    Justin

  • Select the list with doSubmit ('SAVE')

    Dear members,

    Please do not kill me for that matter...

    I use APEX 2.1.0.00.39 delivered with XE. What I need is a list of selection within a form region indicating the content of a source LOV which is a column of data. If the select list is replaced by another value, it should initiate a doSubmit ('SAVE').

    I tried the list with submit - did not work. I tried to change the STI to a selection list and:
    HTML Form Element Attributes: javascript:doSubmit('SAVE');
    But both times the result I have the same thing: when I change the select list of another element, the form is committed, but after reviewing it, the original of the select list item is selected again...

    What I am doing wrong?

    Best regards
    Johann

    Hi Johann,.

    The parameter must be defined:

    onchange="javascript:doSubmit('SAVE');"
    

    What are the parameters of complete Source, you have for the item? You use any calculation a process on the question?

    Andy

Maybe you are looking for

  • Re: Need to motherboard / system board for Qosmio G20 106

    I would be grateful if anyone can help me find one.My laptop is dead now and need a mother replacement on board. Please also provide you with the best suggestions to find the online store for the system board. I searched for the part, but unable to f

  • Impossible to install the Toshiba Tempro V2.2

    A new version for Toshiba Tempro downloaded.I followed each step, but the new version doesn't work. It remains in the same statement:Only two things I can do: * Read and allowed-> ms - back window open and nothing is checked.* Online help-> I found h

  • OfficeJet 7500 a large Format

    The HP printer is HPA9485 (HP Officejet 7500 E910).  The computer indicates that the printer is not on ahd the printer has ALL the buttons and the flashing screen elements works quickly in unison.  If I push the power button, the printer through its

  • Connection to Hotmail, signed in, but do not download

    Since last week, I have not be able to download one of my hotmail emails. I did a system restore, no luck. When I click on the area of server status, it says its signed in successfully, but still no emails.  I also deleted everything on the hotmail s

  • Error-Application not found

    I had a false alarm microsoft virus/troj or something on the computer.  Scanned with Norton and the virus has been removed, but now whenever I click on most of the applications: itunes, word, excell - it gives me the error-application not found.  I c