APEX_ITEM. RADIOGROUP in report

Hello

I am doing a report in which I have several radio button in all lines.

I used APEX_ITEM. RADIOGROUP() to produce the option button.

My problem is the radio button I had created using APEX_ITEM. RADIOGROUP (1) a attribute NAME = "F01" across all lines. If the user can select only one choice in all lines.

Is it possible to APEX API to give unique name across lines?

Thank you

Sylvain Blache

Hello

I don't think it's documented yet, but this seems to be what they use:

SELECT
WWV_FLOW_ITEM.RADIO_GROUP_FROM_STATIC_LOV(1, fieldname, 'Y,N', 2, NULL, NULL, NULL, NULL, 'f01_' || LPAD(ROWNUM, 4, '0'), 'label', NULL)
FROM EMP

Andy

Tags: Database

Similar Questions

  • the SQL for apex 4.2 with 'apex_item.text' region report renders incorrectly

    In the APEX 4.2 page, I created region "report data.

    Type = "SQl query".

    'User interface'-> 'Template '=' area of reports.

    "Area Source 'is' select apex_item.text (1, '111') as double c1".
    The select query is actually much more complex, but generally simplified it is such, that it uses the function "select apex_item.text" construction HTML textfield.

    If I run in query Sql Developer
    select apex_item.text(1, '111') as c1 from dual;
    Then it results in:
    <input type="text" name="f01" size="20" maxlength="2000" value="111"  />
    But in APEX 4.2 the report is rendered thus:
    <td  headers="c1">&lt ;input type=&quot ;text&quot ; name=&quot;f01&quot; size=&quot;20&quot; maxlength=&quot;2000&quot; value=&quot;111&quot;  /&gt ;</td>
    ("for this forum poster correctly I had to put extra spaces between ' ' & gt ' and ';' and so on)

    And APEX 4.2 shows ugly html inside the cell of report/slot for me, showing characters/symbols ">". The reason is that APEX source HTML of the page has no symbol ">" but has "' & gt; '."

    The APEX 3 I have a similar query works fine, without such an anomaly.

    What attribute should I change in APEX 4.2 region to display the result of my query as needed?

    I need this 'apex_item.text' function, I can't remove it.

    Published by: CharlesRoos on 13.02.2013 15:28

    Published by: CharlesRoos on 13.02.2013 15:29

    Published by: CharlesRoos on 13.02.2013 15:29

    CharlesRoos wrote:
    In the APEX 4.2 page, I created region "report data.

    Type = "SQl query".

    ' UI '-->' model '=' area of reports.

    "Area Source 'is' select apex_item.text (1, '111') as double c1".
    The select query is actually much more complex, but generally simplified it is such, that it uses the function "select apex_item.text" construction HTML textfield.

    If I run in query Sql Developer

    select apex_item.text(1, '111') as c1 from dual;
    

    Then it results in:

    
    

    But in APEX 4.2 the report is rendered thus:

    < ;input type=" ;text" ; name="f01" size="20" maxlength="2000" value="111"  /> ;
    

    ("for this forum poster correctly I had to put extra spaces between ' & gt' and ';' and so on)

    And APEX 4.2 shows ugly html inside the cell of report/slot for me, showing characters/symbols ">". The reason is that APEX source HTML of the page has no symbol ' > ' but '& gt;'.

    The APEX 3 I have a similar query works fine, without such an anomaly.

    What attribute should I change in APEX 4.2 region to display the result of my query as needed?

    Make sure the column attribute display as for column C1 is Standard report column.

  • Use APEX_ITEM. SELECT_LIST_FROM_LOV report

    Hi all

    I try to create an editable state.
    In this report, I have a few columns to allow users to update the information. I have a problem that my program return the current values of the APEX_ITEM. SELECT_LIST_FROM_LOV in specific checked lines.

    For example:

    Here is the code for my report:
    -------------------------

    1.
    SELECT apex_item.checkbox(1, h.nbt_po_seq, 'UNCHECKED') defaulted,
    --apex_item.hidden(4, h.nbt_po_seq) "PO_SEQ ",
          h.po_num,
           h.po_vendor_name,
           (select d.nbt_dept_desc
              from nbt_dept d
             where h.nbt_dept_seq = d.nbt_dept_seq) "dept_name",
           
    APEX_ITEM.SELECT_LIST_FROM_LOV 
        (p_idx           => 3,
        p_value         =>NBT_LE_INFO_SEQ_holder,
        p_lov  => 'NBT_LE_INFO',
        p_attributes   =>NULL,
        p_show_null    => 'YES',
        p_null_value   =>  NULL,  --'%NULL%',
        p_null_text     => NULL,
        p_item_id       => NULL,
        p_item_label    => NULL,
        p_show_extra    => 'YES') "LE_NUM"      
      FROM nbt_po h
    ------------------------------------------------------
    2. here's my validation, just to see what return values.
    DECLARE
       l_message  VARCHAR2 (4000);
    
    BEGIN
    
     FOR i IN 1 .. apex_application.g_f01.COUNT LOOP
                 l_message := l_message
                || '<br>'|| 'LE_NUM: ' || :P17_LE_NUM || '    '
                || 'Row ' 
                ||i || '     ' || 'f01- '|| apex_application.g_f01(i)|| '<br>'
                || 'f02- '|| apex_application.g_f02(i)||'<br>'
    ||  'f03- '||apex_application.g_f03(i)
    
    
            --   || 'f04- '||apex_application.g_f04(i)  ||'<br>'
               -- || 'f01_' || '#ROWNUM#' 
                        || '<br>'
                ;
     END LOOP;
    
     RETURN LTRIM (l_message, '<br>');
    END;
    -------------------------------
    3. If I checked the line 3 and 5.
    I can get correct ID of < b > h.nbt_po_seq < /b >, but for APEX_ITEM. Value SELECT_LIST_FROM_LOV, I'm getting rows 1 and 2, 3 and 5.

    Can someone please help me and let me know how I can correctly return the values of selected line for 'APEX_ITEM. SELECT_LIST_FROM_LOV '?

    Thank you
    Ling

    Published by: LK 14 Sep, 2012 22:52

    This explains how to get the selected rows:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:95

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

  • apex_item. RadioGroup in editable report

    How can I build a report updated with a radiogroup created by apex_item.radiogroup?

    I know that the syntax like
    APEX_ITEM. RADIOGROUP (deptno, ' 20', dname 1)

    but I want to have 5 different options in 1 radiogroup.
    How can I handle this?

    THX so far

    P.S.: I know that you can set a column to be a radiogroup but in my case, it must defined with the apex_item package.

    Hello

    Take a look on: Re: Radiogroup user in the form - there are several methods that you can use - details for each are presented in the pages of the app themselves rather than the thread

    Andy

  • apex_item. RadioGroup p_idx question of value

    All,

    I have an interactive data report with radio buttons 3. user can select a value radiobutton for processing.

    .......................................
    .......................................
    apex_item.radiogroup( p_idx => rownum , p_value => bestelling_id , p_selected_value => huidige_afdeling_id , p_display => 'LAB' , p_attributes => 'class="afdRadio afdLab" ' , p_onchange => 'javascript:setLab(this.value);' )  AS LAB ,
     apex_item.radiogroup( p_idx => rownum , p_value => bestelling_id , p_selected_value => huidige_afdeling_id , p_display => 'QC' , p_attributes => 'class="afdRadio afdQc" ' , p_onchange => 'javascript:setQC(this.value);' )  AS QC ,
    apex_item.radiogroup( p_idx => rownum , p_value => bestelling_id , p_selected_value => huidige_afdeling_id , p_display => 'Afhaaldesk' , p_attributes => 'class="afdRadio afdDesk" ' , p_onchange => 'javascript:setAfhaalDesk(this.value);' ) AS AFHAALDESK 
    ..............................
    
    
    
    
    

    Problem is that the report can return a large number of lines. Clicking a radiobutton and trying to present, sometimes an apex workflow exception is thrown. I discovered that this has to do with the value of rownum because the value of p_idx can be in 1 and 30.

    So what I did, is to replace rownum with a value of 1, this seems to have solved the problem.

    The other problem now is that when a user clicks a radiobutton on several lines, that is a single value according to the choice, but when to submit all the lines are subject for which the user has selected a value of the radiobutton.

    Example:

    The user select value LAB for 5 rows, but only to see the LAB in the last row selected radiobutton (not thinking that this line will be submitted), but all of the 5 ranks are submitted.

    With rownum all selected values are shown, but there again the we have the problem with the value of p_idx.

    Some tips on how I can fix this?

    Thank you

    Diana

    Hi Diana,

    This seems to be a wrong information:

    Problem is that the report can return a large number of lines. Clicking a radiobutton and trying to present, sometimes an apex workflow exception is thrown. I discovered that this has to do with the value of rownum because the value of p_idx can be in 1 and 30.

    Each APEX_ITEM. function has its first parameter as p_idx that can take a value between 1 and 50. Items by a column in tables which in turn when the page is submitted are mapped to the APEX_APPLICATION. G_F01 in APEX_APPLICATION. G_F50 arrays of type APEX_APPLICATION_GLOBAL. VC_ARR2 in apex session state.

    For the limits of the component you should refer to the following documentation: (see tabular forms)

    https://docs.Oracle.com/CD/E37097_01/doc.42/e35125/limits002.htm#HTMDB28632

    dianap says:

    Thanks Scott.

    I took the example of Vincent. But the problem is in the population of the p_idx with rownum parameter. Rownum can sometimes be greater than 30, and when this is the case, nothing can be submitted.

    Kind regards

    Diana

    Here the question of the solution of Vincent about the radiogroup will lines might exceed the > limit 50 when the rows in the underlying table are > 50.

    The solution uses the paging with the whole line displayed on a page of the report must be<50 (by="" default="" it="" is="" 15="">

    As Oracle APEX page submit takes into account only the game currently displayed rows (regardless what underlying table contains) for the treatment of the displayed tabular form.<50 rows="" pagination="" with="" vincent's="" solution="" will="">

    NOTE: Tabular normal every column has an index and the lines have no limitations, but in a solution of Vincent as it use rownum to index, so a new table will be created for each line.

    I hope that helps!

    Kind regards

    Kiran

  • Subject to a report RadioGroups

    Hello
    I am new to apex, using Apex 4.1.1. I created a report that contains two columns of dates and a radiogroup for each as follows:

    Select apex_item.radiogroup(1,report1) 'Radio 1'
    report 1
    apex_item.radiogroup(2,report2) 'Radio 2'
    Report2
    from (select distinct report_date cb_report Report1
    Sub1 order of report_date),
    (select Report2 separate report_date in cb_report)
    order of report_date) sub2
    where sub1.report1 = sub2.report2;


    This page is presented by a submit button which redirects to page 544. On page 544, I need to use the contents of the radiogroups in a query, such as:
    Select Column1 from cb_report where report_date = < radiogroup1 > or report_date = < radiogroup2 >;

    So far I was not able to use the values assigned to the radiogroups in my query on page 544. Among other things, I tried to use a process supported for page 544 to assign values to elements using the:
    BEGIN
    BECAUSE me in 1.APEX_APPLICATION. G_F01. Count
    LOOP
    IF APEX_APPLICATION. (I) G_F01 IS NOT NULL THEN
    : P544_RPT1_DATE: = APEX_APPLICATION. G_F01 (i);
    END IF;
    END LOOP;

    BECAUSE me in 1.APEX_APPLICATION. G_F02. Count
    LOOP
    IF APEX_APPLICATION. (I) G_F02 IS NOT NULL THEN
    : P544_RPT2_DATE: = APEX_APPLICATION. G_F02 (i);
    END IF;
    END LOOP;
    END;

    Could someone please provide an example of how to access the values of the radiogroups in a SQL report that race on the landing page, 544?

    Thank you for your help in advance.
    Robyn

    user2287264 wrote:
    So far I was not able to use the values assigned to the radiogroups in my query on page 544. Among other things, I tried to use a process supported for page 544 to assign values to elements using the:
    BEGIN
    BECAUSE me in 1.APEX_APPLICATION. G_F01. Count
    LOOP
    IF APEX_APPLICATION. (I) G_F01 IS NOT NULL THEN
    : P544_RPT1_DATE: = APEX_APPLICATION. G_F01 (i);
    END IF;
    END LOOP;

    BECAUSE me in 1.APEX_APPLICATION. G_F02. Count
    LOOP
    IF APEX_APPLICATION. (I) G_F02 IS NOT NULL THEN
    : P544_RPT2_DATE: = APEX_APPLICATION. G_F02 (i);
    END IF;
    END LOOP;
    END;

    Could someone please provide an example of how to access the values of the radiogroups in a SQL report that race on the landing page, 544?

    Thank you for your help in advance.
    Robyn

    Just change your process above to the present and the actual page (I mean the page you radiogroups) 544-no

  • apex_item. RadioGroup

    Hello
    I need help with the apex_item.radiogroup.
    I get the table data in the report area. There is a column of State which has 'I' or 'A' idle assets. corresponding to a single record, we can have several under-reporting and
    only one is active. In the region of report I'm showing the active and inactive radiobutton by rank. and if select no matter what row as being active in the report another radiobutton lines must be off then once I hit the update button I don't have to think that all the others went to inactive.

    my query looks like

    Select apex_item.hidden (10, primary_key) | recording,
    apex_item. RadioGroup (3, h.status, 'A', 'Active'). apex_item. RadioGroup (3, h.status, 'I', 'Inactive').
    cases where rec_flag = ' only then 'NO' also 'YES' end 'flag '.
    table

    If there are 4 selected lines based on this query only one command-line option button is highlighted.

    I am new to apex and need your help.

    Hello

    For the question of the selection list - the fourth parameter of the APEX_ITEM. SELECT_LIST function allows for attributes, you can do:

    apex_item.select_list(3, h.status, 'Active;A,Inactive;I','onchange="javascript:myfunction(this);"') "Status"
    

    Then, you create a function called myfunction (ss) that is triggered by the value of the selection in evolution list - onclick is not used here. As we pass 'this' in the function, we can loop through all the lists of selection, except for the current and change their values as necessary:

    function myfunction(ss)
    {
     if (ss.value == 'A')
     {
      var sLists = document.getElementsByName('f03');
      var k;
      if (sLists)
      {
       for (k = 0; k < sLists.length; k++)
       {
        if (sLists[k] != ss)
        {
         sLists[k].value = 'I';
        }
       }
      }
     }
    }
    

    So, as long as we change the current list to A, then we change others to I.

    For radio buttons, if you need to use the two buttons by rank, you should have a radiogroup i.e. separately for each line. Your use of "pk_table' for the inactive button must also be used for the active button. When the user clicks on either active or inactive, you will need to loop through all radiogroups and set the appropriate value.

    To access all buttons, do something like:

    var x = document.getElementsByTagName("INPUT");
    var k;
    if (x)
    {
     for (k = 0; k < x.length; k++)
     {
      if (k.type == 'RADIO')
      {
       do something herre
      }
     }
    }
    

    Andy

  • Point of APEX_ITEM. Required RadioGroup

    Hello

    I use apex 4.2 with enterprise DB 11, I use APEX_ITEM.radiogroup to create a dynamic items according to the request, what I put this only required such radio group. I try to set in the process of page validation but the problem, it's that the value of the element will be reset whenever I click on the "submit" button.

    Any suggestion?

    Thanks for the reply,

    In fact I fix this by save the data into a temporary table, in my scenario, page it completely dynamic, which can include the Group of radio buttons and checkbox for X elements.

    Thank you very much

  • How to refresh a coresponding report

    Hello

    hope that this is not a complicated question.

    What I want to achieve is to have master-child reports on the same page. And I would like to have the details (child records) to be updated whenever a new record is selected in the main report.

    appreciate your comments.

    Hello

    There are probably easier ways how to make things happen, using only declarative APEX features. I have created an example of a project based on the EMP and DEPT tables (83982 - mast_detDA) here:

    https://Apex.Oracle.com/pls/apex/

    workspace: tests

    user: supporter

    PWD: supporter1234

    so check it out how it's done.

    Main report using this select

    Select (apex_item.radiogroup)

    p_idx-online 1

    p_value-online Dept. DEPTNO,

    p_selected_value =>: P1_SELECTED_DEPT,

    p_onchange-online '$s ("P1_SELECTED_DEPT", this.value)') as DEPTNO,.

    DEPT. DNAME as DNAME,

    DEPT. As LOC LOC

    DEPT Dept

    defines a hidden item P1_SELECTED_DEPT when clicked. There is a dynamic action on this type of item selection - Action update, region.

    Select for the detailed report is:

    Select EMP. EMPNO as EMPNO,

    EMP. As ENAME ENAME,

    EMP. WORKSTATION,

    EMP. MGR as MGR,

    EMP. Hiring as HIREDATE date,

    EMP. SAL like SAL,

    EMP.COMM as COMM,

    EMP. DEPTNO as DEPTNO

    from EMP EMP

    where deptno =: P1_SELECTED_DEPT

    and the important thing here is to present the hidden element P1_SELECTED_DEPT.

    Hope that helps.

    Kind regards

    Pavel

  • How to use an option button in the report of the IR to redirect itself to view another report

    IHH team, I have a requirement where I have an IR report option button. By clicking this radio button, another report appears under the main report with few other details of the selected item. The idea was to have a zoom of report as seen in the Group of MS Excel.  However, I am stuck because I don't want the user to press the "submit" button each time after selection of a radio button. I want the result to Report2 to change on the selection radio button in report 1.

    Please notify.

    Kind regards

    Samar

    for example

    Report1 details

    RB col_id text1 text2 Text3

    1 . abc erd 45

    2 ghj dfgrt 67

    Suppose the user selects the first option button, the page displays another report with details below the main report

    Report1 details

    col1_id text1 text2 Text3

    RB1 1 abc erd 45

    2 RB2 ghj dfgrt 67

    Report2 details

    col1_id col2_id text1 text2 Text3

    1 11 ihj pkpk 78

    1 23 ljl kpk 45

    user6255521 wrote:

    Please update your forum profile with a real handle instead of 'user6255521': Video tutorial how to change username available

    When asking a question, always include the information referred to in these guidelines: How to get the answers from the forum

    I was able to achieve using the linl. I created a link on the col_id and it redirected to itself after you set the value of col2_id. I also changed the style of the button link and so col1_id looks like a button.

    However, I was interested to know if we can achieve this with a radio button and use the update form the Report2.

    You mean like this? It is very simple to implement using dynamic measurements.

    1. Add a column of radio group to the main report:

    select
        apex_item.radiogroup(1, d.department_id) rbg
      , d.*
    from
        oehr_departments d
    

    APEX 5.0, apply a static ID "rbg" to the column of radio group.

    2. create a hidden page unprotected element to maintain the value of the selected radio button to use as a filter in the detailed report. In the example, it is P31_DEPARTMENT_ID.

    3 refer to the element of filter in the WHERE clause of the report detail:

    select
        *
    from
        oehr_employees
    where
        department_id = :p31_department_id
    

    Set the Items property of the Page to send in the definition of report P31_DEPARTMENT_IDretail area.

    4. create a dynamic action of change on the Group of radio buttons:

    Event: Change

    Selection type: jQuery Selector

    jQuery Selector:td[headers="rbg"] input[type="radio"]

    Real Actions

    Seq: 10

    Action: Set value

    Type of value: Expression of JavaScript

    JavaScript expression:$(this.triggeringElement).val()

    Selection type: Article (s)

    Point: P31_DEPARTMENT_ID

    Seq: 20

    Action: Discount

    Selection type: Region

    Region:

    The best way to get help with something like that is for you to reproduce the problem with an example on apex.oracle.com. Set up as much as you can before posting here and when you post the question, share identification information of developer comments for the workspace so that we can see the example and work the solution directly.

  • Report of the Summit with the details below for a record

    Hello

    I'm looking for an answer to my problem:

    We have a report that contains many ~ 60.

    And is not very user-friendly because it is so wide table.

    It is possible to see some less important columns as information additional report below.

    for a single record in the report. For example, the user selects the radio button of the first column and details are updated for this record.

    (if it is possible to group information in tabs)

    Thank you very much for your answers.

    Hello

    Here is an example

    https://Apex.Oracle.com/pls/Apex/Apex/f?p=39006:41

    Create a hidden item which is not protected. In my case the name of the element is P41_DEPTNO

    First report query

    select
    APEX_ITEM.RADIOGROUP(1,DEPTNO,:P41_DEPTNO) AS rg,
    EMPNO,
    ENAME,
    JOB,
    MGR,
    HIREDATE,
    SAL,
    COMM,
    DEPTNO
    FROM EMP
    

    Second report query

    select LOC,
      DNAME,
      DEPTNO
    from DEPT
    WHERE DEPTNO = :P41_DEPTNO
    

    In the second region report defined the elements of the Page to submit your name for the hidden item.

    Create dynamic action

    -event: change

    -Selection Type: jQuery Selector

    -jQuery selector: input [name = f01]

    -Action: Value set

    -Set type: Expression JavaScript

    -Expression JavaScript: this.triggeringElement.value;

    -Selection Type: Item (s)

    -Article (s):

    Then add an another true dynamic action event

    -Action: update

    -Selection Type: region

    -Region:

  • Add radio button to each row of an interactive report: possible or not?

    First of all, let me explain what is the point of this application.
    I do an application that allows you to select an item in a drop-down selection list. This list is a list of food categories. Suppose the user selects "Fruit."
    Then the page refreshes and shows an interactive report with a list of foods which belongs to the category of fruit.

    This is where I want to change things:
    I want the user to be able to view the interactive report, but in this interactive report, I would like to add a button for each row.
    Then, when a certain type of food is selected (say "Strawberry") via the radio button, a text field should appear under the interactive report. In this textfield, the user can then add the weight of the food, and then it will calculate how many carbs in strawberries there.

    All that I really want to know is:*.
    How can I add an option button to each row of the interactive report, and how to bind this option button to the value of that particular line? *



    Additional information:
    The "P17_FOOD_CATEGORY" element contains the following LOV:
    Select FOODCATEGORYNAME as display_value, FOODCATEGORYID as return_value
    of FOODCATEGORY
    order by 1

    The 'Food' region contains the following source:
    Select a.FOODID, B.SID, b.FOODCATEGORYNAME, c.STANDARDAMOUNT, c.NAME unit
    food an inner join FOODCATEGORY b
    On a.FOODCATEGORYID = b.FOODCATEGORYID join FOODUNIT c
    On a.FOODID = c.FOODID
    where a.FOODCATEGORYID =: P17_SET_CATEGORY

    EDIT:
    PLEASE, I BEG YOU! Even if you don't know an answer, or if you are unsure of your answer, publish! Same suggestions will be welcome! I really need all the help I could get, even if it's not much.

    Published by: 917169 on February 29, 2012 12:25

    Hello

    I had the problem, that you have found.

    >
    Error cannot change the interactive report query.
    ORA-12899: value too large for column 'APEX_040100 '. "" "" WWV_FLOW_WORKSHEET_COLUMNS '. "" DB_COLUMN_NAME' (real: 32, maximum: 30)
    >
    you found this problem because the size of this apex_item.radiogroup(1,a.FOODID) is longer than 30 characters, but we have certain restrictions for the column names, we cannot use more than 30 characters for column names, then for what his use of name of column, please see below changed the code.

    select  apex_item.radiogroup(1,a.FOODID) as "FOODID", a.NAME, b.FOODCATEGORYNAME, c.STANDARDAMOUNT, c.NAME Unit
    from FOOD a inner join FOODCATEGORY b
    on a.FOODCATEGORYID = b.FOODCATEGORYID join FOODUNIT c
    on a.FOODID = c.FOODID
    where a.FOODCATEGORYID = :P17_SET_CATEGORY
    

    Hope you help

    Thank you
    Jitendra

  • Need help to create a button on a page of interactive report.

    Hello everyone,

    I am trying to create radio buttons on a page of interactive report. Here are sql, used for the radio and interactive report button:

    Select apex_item.radiogroup(1,a.key_atm_insp) as "select."
    b.KEY_LOCATION,
    b.NME_INST,
    b.ADR_STREET,
    b.ADR_CITY,
    b.ZIP,
    a.KEY_ATM_VIOLATION,
    a.KEY_ATM_INSP
    ATM_VIOLATION a.,
    ATM_BRANCH_INFO_TT b
    where b.KEY_LOCATION = a.KEY_LOCATION;

    Above sql create several lines, but do not create the radio button instead show the text as ' < input type = "radio" name = value "f01" = "29039" / > "on the browser. Here is an example of one of the line that displays o browser.
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    < input type = "radio" name = "f01" value = "29039" > 48552 JPMorgan Chase Bank, National Association 82 road & Route 376 Hopewell Junction 12533 693 29039
    --------------------------------------------------------------------------------------------------------------------------------------------------------------

    Your help/comments would be very appreciated.

    REDA

    go to the report attributes, Edit Column ("Select" column) change the view regarding "* Standard report column."

  • Set the line report radio group when it is clicked on a link column.

    Can Hi anyone help?

    I have a sql report with a group on the left radio record selector, it is used on click to fill out some additional fields in the page. I also have a column of link on the right side of the report that is used to display another page in popup. What I want is to synchronize the group radio selector when the link is clicked (i.e. Select and click on the current online radio group when the link column is selected).

    Page layout

    RG1 link pencil icon line details
    RG2 link pencil icon line details
    RG3 link pencil icon line details

    additional field 1
    additional field 2

    Report of the attributes - link URL column.
    JAVASCRIPT: modalWin2 ('f? p = & APP_ID.: #SHOW #: & SESSION.: SAVE_STATUS: no);



    I guess I can call another function of javascript in the URL from the link above, and somehow, I get the number of the line of the selected link. I think that if I can get that I can use the code below, where n is the row number of the selected link.

    JavaScript: -.

    var l_check = $x_FormItems ($x('EVENT_HIST1'), 'radio');
    checked l_check [n] = true;
    var l_click is l_check [n] ravishing ();.

    Thanks, Pete

    Pete:

    One way to resolve your condition is as below

    Modify the report query to be something similar to

    select
    apex_item.radiogroup(40,empno,null,null,'id=rg_'||rownum) rad,
    ename,
    '' link_column
    from emp
    

    And the JS function fx as

    function fx(emp,rgId) {
    $x(rgId).checked=true;     // checks radio on this row
    modalWin2('f?p=&APP_ID.:' + emp + ':&SESSION.::::SAVE_STATUS:N'); // popup page call
    }
    

    CITY

  • Column of buttons in the report as a table radio

    Hello world
    I have a tabular report. I wanted to have the option button and check box in part of the field. Please take a look at my sample application.

    http://Apex.Oracle.com/pls/OTN/

    Workspace == > SHYIN
    username == > SHY
    password == > shy


    Application ID: 29879 - TabularForm

    On page 2 of the form details, I want to box in the column key contact person and the box in the status column. I would be grateful any suggession. Thank you.

    SHY

    Hello

    OK - now have an eye on your page.

    I made a few changes:

    1 - update SQL tabular form for:

    SELECT
    APEX_ITEM.HIDDEN(1, SEQ_ID) || APEX_ITEM.HIDDEN(2, C001) || APEX_ITEM.RADIOGROUP(3, C001, NULL, NULL, 'onclick="javascript:$x(''P2_SELECTED_ID'').value=' || C001 || '"') PRIMARY_CONTACT,
    apex_item.text(4,c002) name,
    apex_item.text(5,c004) phone,
    APEX_ITEM.HIDDEN(6, C006) || apex_item.text(7,c005) STATUS
    from apex_collections
    where collection_name = 'C_CONTACT_INFO'
    

    So all of the HIDDEN items are concatenated before the displayable items.

    2 - update your Update_Collections process to be unconditional. This is necessary because the page can be submitted by one of the following three ways - Save, update, and add a line - and the collection should be updated for all three

    3 - P2_SELECTED_ID modified to remove settings from the source

    4 created a process page (PL/SQL, On Load - before header):

    DECLARE
     vID NUMBER;
    BEGIN
     SELECT MIN(ID) INTO vID FROM CONTACTS WHERE PRIMARY_CONTACT = 'Y' AND CUSTOMER_ID = :P2_CUSTOMER_ID;
     IF vID IS NULL THEN
      SELECT MIN(ID) INTO vID FROM CONTACTS WHERE CUSTOMER_ID = :P2_CUSTOMER_ID;
      IF vID IS NOT NULL THEN
       UPDATE CONTACTS SET PRIMARY_CONTACT = 'Y' WHERE ID = vID;
      END IF;
     END IF;
     :P2_SELECTED_ID := vID;
    END;
    

    This just ensures that P2_SELECTED_ID has a value where possible - if no contact for the selected customer is marked as main, copy the following code will do. I assumed here that you need of each client to have a first contact - otherwise, you can remove the IF test. I found that it is better to set the value of a page element which is not directly connected to a column of data made using a calculation of page or process.

    Page seems to now work as I think that you need - but let me know if not

    Andy

Maybe you are looking for

  • P7-1205: amount of necessary recovery media?

    Media Recovery prompts the user to choose either DVD (s) or Flash Drive as a system recovery media, but gives no indication of how much will be needed. A single disc? Five disks? A GB flash drive. 32 GB flash drive? Would be nice to have an idea of h

  • How do my bios set up in hp pavilion dv4 panoramas

    How do my bios set up in hp pavilion dv4 panoramas? Thank you

  • How to see the two Windows 7 battery status

    I have a few computers laptops xp that use two batteries where I work. We are very mobile with our computers.  And on Window XP, I wouldoften check the individual status of each battery on XP by going to Control Panel--> Power Options. Then, there is

  • Free Adobe Stock Images

    KIXI tried to get my free free images from Adobe in my group and personal stories and every time when I want to download the image, he guides me to the tariff plans.I have not found anywhere or someone I can contact to buy theseIs it possible that I

  • Photoshop CS6 cd activation for new iMac

    HelloI already bought the photoshop CS6 cd for my macbook pro, how can I get this photoshop on my new iMac now?  It doesn't have a cd slot.  Thanks for your help.