How to display values dynamicaly

From the expensive

I want to display some values based on a page element (defined as LOV). IN where clause I used as

where document_number: =: p100_document_number; --(p100_document_number est un élément LOV)

But it where clause does not work because the value selected from the LOV is not really defined on p100_document_number.

pls help

DJ

Hi Dj,

It's done... and I'm sorry if I hurt...

You did not mention the name of the element to be submitted:

It should be:

Page items to submit: EPTP1_DEPTNO

Best regards
Fateh

Tags: Database

Similar Questions

  • How spacify display value in LOV

    Dear friends,

    I want to create of LOV, but the problem is how can I spacify a column display value and return value that SQL query.
    select executable_name, object_id, object_type
    from object_mas
    where nvl(object_type,'X') = 'F'
    union
    select
    rep_name executable_name, to_char(rep_num) object_id, 'R' object_type
    from rep
    order by 3,1
    I want to here executable_name column must be return value and the display value.

    How can I do this?


    Thank you

    Hello

    Try to change your query to:

    Select executable_name d, executable_name r
    Of
    (
    Select executable_name, object_id, object_type
    of object_mas
    where nvl (object_type, 'X') = 'F'
    Union
    Select
    rep_name executable_name, to_char (rep_num) object_id, 'R' object_type
    the rep
    3.1 order
    )

    See you soon,.
    JAS

  • How to display values dynamically in poplist

    Hello
    I have a poplist which currently has 4 values. I need to display these values dynamically according to some other employee say field id. I wrote a query that retrieves these 4 values but now how display the poplist based on a flag?
    If the indicator is none, it should display on the other 1 value display all.
    can someone help me?

    You did not mention if you need your dynamic poplists in one table (multiple instances per page) or you will need in a standard format (occurrence is one per page).

    If a table and query must be the same for all lines or not?

    in any case the above solution works in the case of a poplist on a standard form, or if all the rows in the table need to show values in drop-down list.

    If this isn't the case, you must use dependent on Poplist.

    To activate the average Action allow PPR on the flag (change of outbreak of bean).

  • How to display values of connection/iterator when running?

    Hello:

    I'm trying to debug problems with the links and iterators, with jdev 11.1.2...

    When you look at the EL Expressions for the links, I am presented with many opportunities. I want to display those values to determine what I'm looking for. Currently, I am assigning an EL expression as #{bindings.dept.inputValue} to an af:output text field, but it is a slow, tedious process. Where in the Oracle documentation each link field mentioned?

    Also, is there a faster way to examine the values of different fields in links when running? So I'm looking for something like the browser component except for links and iterators. I can do this with the debugger, or what? If so, how? For example, what is the difference between #{bindings.dept.inputValue} and #{bindings.dept.items}.

    So the question is to know how to create a form or? to examine the values of the bindings/iterators executing?

    Thanks for the help.
    Don

    the el elvauator will get activated only when the debugger see a breakpoint...
    one thing you can do, it's that to set a breakpoint in the pagedef... for the links section or the executable section...
    as mentioned here
    http://blogs.Oracle.com/DavidGiammona/entry/new_features_in_the_adf_debugg

    You can also set the breakpoint in the taskflow... and allow the assessor of el...

  • How to display a value of transitional attribute to column db entity column?

    Mr President

    Help me at the time 12.2.1 jdev.

    How to display a value of transitional attribute to column db entity column?

    I have the requirement to indicate a value of transitional attribute column in the column db entity for some reason any.

    Any body can help as my show in the picture below

    The StAmt is a transitional column and a column db of the entity.

    tworows.png

    Any body can help please. !

    Concerning

    This means that the amount to be the attribute will always has the same value of the transient attribute? If so, why do you want the amount attribute the transient attribute is sufficient?

    Anyway, if you want to get attribute data in attribute transitional amounts you can open class ViewRowImpl and appearing in the getter or amount, you can get the value in the transitional as attribute:

      public Number getAmount()
      {
        return getTransientAttribute();
        //return (Number) getAttributeInternal(AMOUNT);
      }
    

    in this case, the quantity data store database will not appear on the table it will still get the transitional attribute data and it's meaningless.

  • How to display the value of the variable for bottom of pl/sql

    How to display the value of the variable for bottom of pl/sql

    declare

    V_1 number: = 10;

    V_2 number: = 20;

    V_3 number: = 30;

    v_4 number: = 40;

    v_5 number: = 50;

    test varchar2 (100);

    Start

    I'm in 1.5

    loop

    test: = "v_" | I have;

    dbms_output.put_line(i||) e > ' | test);

    end loop;

    end;

    /

    How to get below output:

    1 > v_1

    2 > v_2

    3 > v_3

    4 > v_4

    5 > v_5

    But I want to output of

    1 > 10

    2 > 20

    3 > 30

    4 > 40

    5 > 50

    Hello

    You cannot reference variables as you did and get the value of the variable. Use pretty collection.

    set serveroutput on size 2000
    declare
      type      number_table is table of number;
      numbers   number_table := number_table(10, 20, 30, 40, 50);
    begin
      for i in numbers.first .. numbers.last
      loop
        dbms_output.put_line(i || '->' || numbers(i));
      end loop;
    end;
    /
    
    anonymous block completed
    1->10
    2->20
    3->30
    4->40
    5->50
    

    See the Collections of PL/SQL and Records http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/composites.htm#LNPLS005

  • How to display Quick values in the story

    With the help of 11.1.1.6.2

    In a dashboard page, I have a table with a hierarchy of dimension for the organization. If you click on a division he runs a link action to call a script in the browser (javascript in a text on the dashboard section) from the division. If you expand the section, and then click on a market, it calls the function javascript even.

    Then, the Javascript function uses path go to update an analysis in an iFrame on the dashboard page and passes the value of the Division or the market value.

    The analysis of the target has two filters: Division is invited and the market is invited.

    So, after all, my question is how could display two values from the call of the road go into a narrative on the analysis of the target? Or I guess the other question is how to view the filter on the narrative values.

    Sorry for the long explanation, but I hope it makes sense.

    Thanks for any help or suggestion.

    Brad

    Try something using the Div tag
    for ex:
    < div id = filterValues > @{WeekBetween} {Default Value} < / div >
    < script >
    var i = document.getElementById('filterValues').innerHTML;
    document.getElementById('filterValues').innerHTML = aParams ["varDivision"];
    < /script >

    If brand pls help

  • How to display the values of this query? The type is XDB. XDB$ STRING_LIST_T

    Hi all

    If I run this query using a tool like developer PL/SQL (SQL window), the values are displayed as a Collection. Just click and see the results of the al.

    Select
    dbms_resconfig.getRepositoryResConfigPaths)
    Of
    Double;


    I want to know how to display these values using any tool of sqlplus (with dbms_output or something like that).

    How can I do? With the help of the table? Create a type?

    TKS

    user12083350 wrote:

    I want to know how to display these values using any tool of sqlplus (with dbms_output or something like that).

    SQL> select * from table(dbms_resconfig.getRepositoryResConfigPaths())
      2  /
    
    COLUMN_VALUE
    --------------------------------------------------------------------------------
    /sys/xs/userrc.xml
    /sys/xs/rolesetrc.xml
    /sys/xs/drolerc.xml
    /sys/xs/rolerc.xml
    /sys/xs/frolerc.xml
    /sys/xs/xdserc.xml
    /sys/xs/scrc.xml
    
    7 rows selected.
    
    SQL> 
    

    And in PL/SQL:

    SQL> declare
      2      v_list xdb$string_list_t := dbms_resconfig.getRepositoryResConfigPaths();
      3  begin
      4      for i in 1..v_list.count loop
      5        dbms_output.put_line(v_list(i));
      6      end loop;
      7  end;
      8  /
    /sys/xs/userrc.xml
    /sys/xs/rolesetrc.xml
    /sys/xs/drolerc.xml
    /sys/xs/rolerc.xml
    /sys/xs/frolerc.xml
    /sys/xs/xdserc.xml
    /sys/xs/scrc.xml
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    

    SY.

    Published by: Solomon Yakobson, April 24, 2010 15:04

  • How can I display the display value for an element of lov in another area

    My page has a few elements that allow the user to select specific criteria for their report.
    pn_person - select point based on lov. Lov shows the name of the person and returns the code of the person in pn_person

    When the user has made their choice, they press a button that the report is generated.

    I want to do is show the display value for one of the search fields in the title of the report (for example, person_name) region. I think to do that I need to create a (hidden) pn_person_name point, then I put & pn_person_name. as a region

    However, how can I get the value of pn_person in pn_person_name display?

    I thought that apex_item.text_from_lov, but don't know how to use it - what elements (types), the calculations / process I need to create...

    THX Caron

    Published by: user11267129 on January 7, 2010 15:01

    Published by: user11267129 on January 7, 2010 15:02

    Published by: user11267129 on January 7, 2010 15:02

    Caron:

    You can use javascript to set the value of 'pn_person_name' to display the LOV selection value.
    Set the form field HTML to the elements attributes for the element of selection as list page

    onchange=$s('PN_PERSON_NAME',this.options[this.selectedIndex].text)
    

    CITY

    Published by: city has on January 7, 2010 17:22

  • How to display the "display values" in single PLAY mode for a SHUTTLE service

    Hello

    I have a form of type element * 'Shuttle' * and using the following LOV.
       select DEPTNAME d, DEPTNO r 
        from  DEPT
    In normal mode, it displays the name of the service and retain in-house the Deptno...

    Now, I converted this point in read-only mode using read only Type of Condition
    the problem is as soon as it becomes read-only... it displays the deptno... not the name of the service
                Department-   10:20:30
    How can I view the "show values" that is to say the name of the actual service in read-only mode...
                Department-   Department1:Department2:Department3
    Thank you
    Deepak

    Hello

    It seems characteristic. Shuttle is the span tag when it is read-only.

    Work around could be the one
    you calculate display as text with LOV element display value according to shuttle session state and show the shuttle and this conditionally dependent element of the case

    BR, JAri

  • How to display the results in the order based on the value of research

    Hi all

    How to display the results in the slot order.
     
    
    CREATE TABLE TEST( SONGID  NUMBER, TITLE   VARCHAR2(200))
    
    INSERT INTO TEST(SONGID,TITLE) VALUES (10,'AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (11,'CICCONE, MADONNA (CA)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (12,'DALLIN, MADONNA LOUISE/STOCK');
    INSERT INTO TEST(SONGID,TITLE) VALUES (13,'MADONNA');
    INSERT INTO TEST(SONGID,TITLE) VALUES (14,'MADONNA (A)/ AHMADZAI, MIRWAIS (C)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (15,'MADONNA (CA)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (16,'MIRWAIS AHMADZAI, MADONNA');     
    INSERT INTO TEST(SONGID,TITLE) VALUES (17,'MIRWAIS (CA)/ MADONNA (CA),AHMADZAI');
    INSERT INTO TEST(SONGID,TITLE) VALUES (18,'MADONNA (CA),CICCONE');
    
    SELECT *FROM  TEST WHERE INSTR (TITLE, 'MADONNA') > 0
    
    output: 
    SONGID     TITLE
    10     AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)
    11     CICCONE, MADONNA (CA)
    12     DALLIN, MADONNA LOUISE/STOCK
    13     MADONNA
    14     MADONNA (A)/ AHMADZAI, MIRWAIS (C)
    15     MADONNA (CA)
    16     MIRWAIS AHMADZAI, MADONNA
    17     MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
    18     MADONNA (CA),CICCONE
    
    Expected output :
    13     MADONNA
    14     MADONNA (A)/ AHMADZAI, MIRWAIS (C)
    15     MADONNA (CA)
    18     MADONNA (CA),CICCONE
    ..
    ..
    ..
    ..
    ...
    If the user makes a search with "MADONNA", I view the results as title begins with "MADONNA" first then the rest of the records.
    Please let me know is possible to show the results in this order.


    Kind regards
    Rajasekhar

    This can be a little more specific:

    SQL> SELECT *
      2  FROM   TEST
      3  WHERE  INSTR (TITLE, 'MADONNA') > 0
      4  ORDER  BY INSTR (TITLE, 'MADONNA')
      5           ,TITLE
      6  ;
    
                  SONGID TITLE
    -------------------- --------------------------------------
                      13 MADONNA
                      14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
                      15 MADONNA (CA)
                      18 MADONNA (CA),CICCONE
                      12 DALLIN, MADONNA LOUISE/STOCK
                      11 CICCONE, MADONNA (CA)
                      17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
                      16 MIRWAIS AHMADZAI, MADONNA
                      10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)
    
  • How do I display values skyrocket in the IR filter for the joined table columns?

    Hello

    I have a problem in the IR the query is based on a table, joined with other tables. I would like to provide users the ability to use IR filter search bar in the joined table columns. The problem facing on this filter, the Expression field, by pressing the arrow button displays values for the fields in the primary table, but not for fields that come from joined tables. Have you experienced this behavior in your reports? Is this normal?

    TIA

    Hello

    Correlated subqueries can improve performance - but it does not depend on the involved tables, the number of columns and the existence of indices. As far as I know, the optimizer has problems with them. You could try to explain the Plans on the two statements to verify that.

    In any case, I created a new test page with the SQL for IR:

    SELECT E.EMPNO,
    E.ENAME,
    D.DEPTNO,
    D.DNAME,
    E2.EMPNO "EMPNO2",
    E2.ENAME "ENAME2"
    FROM EMP E, EMP2 E2, DEPT D
    WHERE E.EMPNO = E2.EMPNO(+)
    AND E.DEPTNO = D.DEPTNO(+)
    AND E2.PRIMARY_EMPLOYEE(+) = 'Y'
    

    http://Apex.Oracle.com/pls/OTN/f?p=267:226

    As far as I can see, it works properly - except that if I do a filter on the ename column, when I try to create a second filter, drop-down lists ename all the values, while the other columns list only the available values after having applied the first filter. Which seems strange that the filters are applied as ANDS. But it does the same thing for other areas - IE, the field used in a filter is not filtered for the second filter - so I guess this is normal, but only a person in Apex could probably explain why it is so.

    Otherwise, everything seems to work as I expect and the above page works the same as my test page, which uses external joins http://apex.oracle.com/pls/otn/f?p=267:224

    Andy

  • How to display very large text with the font size?

    I'm using html and css to display large text with the font size.

    Label {
        text: "Acit"
    }
    

    In the image below, it is the largest size, although I try to increase the value of the size of the font. Do you know how to display the largest font size?

    Thanhks

    You should be able to amplify it upward with scaleX/scaleY properties, although no doubt quality will suffer somewhat (but probably not significantly, for most people).

  • The list of values - return value identical to the display value

    I fill a selection list with the names of the members with a lov sql like the following

    < tt > select memberName d, r FROM whateverTable < /tt > memberId

    The problem is that in the database, the stored value is the Member ID. I really want the real memberName stored in the database instead I want to use this name of Member elsewhere in my application.

    When the integrated trigger executes its code

    < tt >

       if NVL (:old. CONTACT_PERSON,'0') ! = NVL (:new. CONTACT_PERSON,'0'( ) then

    Insert into eba_ca_history ()table_name component_rowkey COMPONENT_ID column_name old_value new_value) values

           ('EVENTS', :new.row_key, :new.event_id, 'EVENT_OWNER',:old. CONTACT_PERSON,:new. CONTACT_PERSON()

       end if ;

    < /tt >


    I get the following text shows on my apps update page-"owner of an event has changed from 457879885611315631565 to 2546454654546546546546..."

    lov.PNG

    I want the value of the actual display to display for an update instead of the return value.


    I tried to convert the value to help

    lov2.PNG


    But which causes the following error


    lov3.PNG


    How can I make sure that the return value of the lov being stored in the database matches the display value for the lov?

    Hi Richie,

    If I understand your request, simply set your LOV query with the same column like screen and return:

    select memberName as display_value, memberName as return_value FROM whateverTable
    

    If this isn't what you're asking, I apologize for the misunderstanding.

    Thank you

    Erick

  • SQL: how to display the second string of the function in the Jobs table only if the function has more than one string.

    SQL: how to display the second string of the function in the Jobs table only if the function has more than one string.

    Hello

    You can use REGEXP_SUBSTR Oracle/PLSQL: REGEXP_SUBSTR function

    Select the function double REGEXP_SUBSTR('PUBLIC RELATION REPRESENTATIVE ','[^]+',1,2);

    Do you have any value of the column as no 2nd string?

Maybe you are looking for

  • While playing battery life

    Hello this is my first post on the forums of apple. I recently read on the cycles of the battery the MacBook have, mine is a macbook pro 13 iris early 2015 and 224 cycles of 1000 , I used and I got it over a year now (in September). I try to load it

  • Yesterday, a "search" tab comes on when I start firefox. How can I get rid of him?

    I rarely use tabs, so the tab bar was always hidden. from yesterday, when I opened firefox a "search" tab is present. A single tab is also present. The 'search' tab is very similar to the search button on the right side of the navigation bar. It is t

  • Pictures of extensions: Capture One Pro 9?

    Capture One Pro 9 can be used as an extension to pictures, and if so, if someone tried?

  • How to synchronize multiple devices (294 x) Rio usrp

    Hello I'm trying to receive 4 channels using two devices USRP-294xR (USRP RIO) to synchronously and run the example for the reception of several device program.   Often, I receive the error message "failed synchronization.  If I run the example sever

  • How to set up the quality of the copy in the HP deskjet 2050?

    I just want to use less ink while I do a copy or copies of my HP Deskjet 2050. but I can't find where I can implement this process. as 'economic printing' or 'grayonly' options. so is there someone who can tell me? Thank you!