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

Tags: Database

Similar Questions

  • 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 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 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 with grouping

    Hi all

    I don't know that I remember seeing an apex somewhere plugin that has a selection list in a group by on her with. That is to say it would put the values of the selection into lettuces sections list. I tried this site Apex Plugin, but can't find it.

    Can someone point me in the right direction.

    Maybe I dreamed it.

    Shunt

    Hi, Shunt,

    Jarola made a post about this (if I understand correctly you want) - not a plugin in itself.

    See the Group Apex 3.2 select list

    Van
    Trent

  • Select the list with the pagination in report Interfactive

    Hi all

    IAM using apex 3.2.1.

    IAM using interactive report, it contains 15 thousand documents. By default, only two options are there related interactive x to y and x to y of z paging. It is very difficult to find the lines of the given scope.

    In the report selection list Sql with pagination and search (defined according to the pagination) engine are provided.

    I want to use these options in my interactive report

    I f anyone knows the solution please inform me.


    Thanks in advance

    Balu

    Hello

    OK, the issue seems to be with IE.
    I try to check what I can do about it.

    I'll publish the solution later

    Kind regards
    Jari

  • 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 line with the smallest Beach

    Hello
    I am trying to build a complex query...
    He must select the line with the inner range...

    I'll explain for example:
    Location of poolsize ID value
    1 32 8
    2 40 6
    3 42 8
    4-36-3

    I want to select the line where the fork between value and value + poolsize is shared also with the other location...
    so:
    1 is 32-40 (in A place)
    2 is 40-46 (in place)
    3 is 42-48 (location B)
    4 is 36-39 (at location B)

    4 is located at 1 (and there are different places...) so sql must return to the fourth line.

    Any help will be appreciated!

    Thank you
    fcbman

    Hello

    fcbman1899 wrote:
    Hello
    I am trying to build a complex query...
    He must select the line with the inner range...

    I'll explain for example:
    Location of poolsize ID value
    1 32 8
    2 40 6
    3 42 8
    4-36-3

    Whenever you have a problem, please post CREATE TABLE and INSERT statements for your sample data, in order to let the people who want to help you re-Ridge the problem and test their ideas.
    See the FAQ forum {message identifier: = 9360002}

    I want to select the line where the fork between value and value + poolsize is shared also with the other location...
    so:
    1 is 32-40 (in A place)
    2 is 40-46 (in place)
    3 is 42-48 (location B)
    4 is 36-39 (at location B)

    4 is located at 1 (and there are different places...) so sql must return to the fourth line.

    To find all the rows that are within the range of at least one other line with another location:

    SELECT     *
    FROM     table_x  m
    WHERE     EXISTS (
                 SELECT  1
                 FROM        table_x
                 WHERE   location          != m.location
                 AND        value          <= m.value
                 AND        value + poolsize     >= m.value + m.poolsize
                )
    ;
    

    When you talk of the "" * most * inner range ", do you mean that you might have another line, such as"

    INSERT INTO table_x (id, vlue, poolsize, location) VALUES (5, 37, 1, 'C');
    

    which is inside the range of id - 4, and that's why you wouldn't have id = 4? If so, include examples in the results and data sample yout. You can do this with a query CONNECT BY, or, depending on your version of Oracle, a WITH recursive clause.

  • Select the list doesn't work is not in the report - see demo

    Ok..

    I have created a demo on APEX 4.1.1... and 4.2 and it fails when 10 characters or more are in the list, with 103 lines or more

    http://Apex.Oracle.com/pls/Apex/f?p=13679:1

    workspace: nzp
    username:demo
    password: demo

    Dean

    You use the apex_item.select_list_from_query method which returns a VARCHAR2 value that has a maximum of 4000 bytes size when it is retrieved in a SQL query.

    Go to the apex_item.select_list_from_query_xl method returns a CLOB value up to 32 K in size, such as discussed in the error report: ORA-06502: PL/SQL: digital or value error: character string b. (The problem, it was not a not clear exactly how the list was generated).

  • Select the emp with a maximum salary for each hr.emp manager_id

    Hello
    Can someone help me to do this without doing any partitioning or analytical f:

    Select the emp with a maximum salary for each hr.emp manager_id.

    HR. EMPLOYEES Table Description: =.
    EMPLOYEE_ID
    FIRST NAME
    LAST_NAME
    HIRE_DATE
    JOB_ID
    SALARY
    COMMISSION_PCT
    MANAGER_ID
    DEPARTMENT_ID

    TX, all the guys
    Mario

    Hi, Mario,.

    Here's one way:

    SELECT       *
    FROM       hr.employees
    WHERE       (manager_id, salary) IN (
                                          SELECT    manager_id
                              ,               MAX (salary)
                              FROM     hr.employees
                              GROUP BY  manager_id
                                   )
    ;
    

    mario17 wrote: Hi,
    Can someone help me to do this without doing any partitioning or analytical f:

    Do you mean analytical functions?
    Why you don't want to use the analytical functions? Analytical functions, permitting the simpler, more robust and more effective to achieve these results, wouldn't you want that?

  • Select the query with the level line list where the clause

    Hi all

    I am creating a tabular presentation based on a SQL query that has a list of selection based on a query with a where clause clause that refers to a column in the original SQL query.

    The situation is, I have a table that stores the client_id, source_id, and build_id, lets call it client_source. I have a second table, build_source, containing source_id and build_id, one to many relations between the two (1 source_id could have build_id 1-7).

    Using a tabular presentation, I want to select the correspondent build_id to use in client_source, but the selection list should contain only the build_id for this particular source_id of lines.

    Here is an example of the SQL source of tabular presentation;

    Select
    s.ROWID,
    s.CLIENT_ID,
    s.SOURCE_ID,
    APEX_ITEM. SELECT_LIST_FROM_QUERY (1, s.BUILD_ID,)
    "Select display b.build_id, b.build_id return.
    b build_source where b.source_id = s.SOURCE_ID ') lst
    of s client_source

    what I want to achieve, it's as source_id "BOLD" match fields. When the query is built this way, I get an error of "invalid identifier" Oracle on s.SOURCE_ID during execution.

    Is there some special tags to be used to refer to the external column? I must be missing something because this looks like a pretty mundane problem.

    I am running on 4.1.0.00.32, on an Oracle 10 g release 10.2.0.4.0 Server Express request.


    I look forward to useful responses!


    See you soon,.
    Jason

    Published by: 1005131 on May 9, 2013 19:02

    Your selection by query list receives a static SQL. That SQL can't "see" the value of your s.source_id.
    But it would work like this:
    where b.source_id = ' | s.SOURCE_ID)

    You would be the value for the SQL concatenation. It is not ideal, but it will work.

    Jorge

  • no selection in the list with custom itemRenderer

    Once an itemRenderer custom, consisting of a canvas with image and label, submit to a list control that list loses the ability to choose. the selectable attribute is set to true. There are no managers in the renderer that can eat the event.

    How can I provide the itemRenderer custom without losing the functionality of the list?

    Theoretically, you should avoid using containers as element converters because they are 'heavy' with the functionality you don't need.

    Best practice is to extend or to copy and modify ListItemRenderer.as. The source is in the file framework somewhere.

    This is not trivial, but it's not rocket science either. The Adobe code is quite clear and well commented.

    In addition, google: Alex Harui element converter, for a few examples by a master of Adobe.

    Tracy

  • Add to the list of screen saver.

    How can I add to the list of screen savers that come with my computer?  Copy and paste or cut?

    Hi Bodog1722,

    Well, an option for an additional screen saver is to make a slideshow of photos or videos stored on your hard drive.

    Not a cut and paste, but not too much more complicated than that. Here are the instructions:

    http://www.tech-recipes.com/Rx/2600/vista_screen_saver_from_photos_and_videos/

    There are several sites where you can also find screensavers to download. Be sure to do it and make sure it is a reputable site or your anti-virus software before you download the scanner software. It is after all over the internet.

    This is such an option: http://www.screensavers.com/category/nature

    When you download and install the software, it is added to the list of screensavers.

    Hope this helps,

    Steve <> Microsoft Partner

  • 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.

Maybe you are looking for