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

Tags: Database

Similar Questions

  • (Editable report) SQL query with line selector

    I used this code to get the update of the records in a query SQL (editable report).
    Updates a value in a selection box.

    because me in 1... apex_application.g_f01. Count
    loop
    UPDATE CONTRACTS
    SET LOAD_FLAG =: P8_SELECT
    WHERE ID = apex_application.g_f01 (i); -i'the checked the file 'primary key '.
    end loop;

    Here's my dilemma.
    Line selector seems to be in a fixed position.
    By linking the line for identification number selector (1, 2, 3, etc.)
    Sort by ID (1, 2, 3, etc.)
    It works perfectly, as long as the ID is sorted in order. < <
    If it is sorted by another field with say ID 29 now in the 1st row, by checking the box and update, you update ID #1 located elsewhere on the page.
    Any ideas how to make the line selector literally equal to the line, it is displayed in?
    Thank you
    Bob

    I think I have an idea of what is wrong and, eventually, how to fix it. Try this:

    make your field primary key (NO ROWID!) in a column in a table column, either through the "wizard" (i.e. through the report attributes screen), or using the APEX_ITEM api (as described by Vee). I often have my primary key as a hidden; If you really need to see it, you can use "DISPLAY_AND_SAVE".

    So if your primary key 'ID' colum is now in the 2nd table as a table (i.e. f02 - adjust accordingly!), your PL/SQL process should look like this:

    for i in 1 .. apex_application.g_f01.count
    loop
       UPDATE CONTRACTS
          SET LOAD_FLAG = :P8_SELECT
        where ID = apex_application.g_f02(apex_application.g_f01(i)); 
    
    end loop;
    

    It of a little confusing at first but it it makes sense when you train how tabular tables work with check boxes. The length of this array represents only what is verified - so if you have 3 values checked, the cardinality of the table in a particular table 3. On the other hand, your other tabular berries (containing the 'normal' values) has a cardinality of the count of all the visible lines.

    In this case, the record selector (F01) contains the ID of the relevant line in your report - so passing this value in the array index 2 (F02) should give you the correct primary key for that particular line value. If you subsequently order the report by another field, it should work again.

    I should add that Vee method will work well - the difference is that, instead of organizing the rowid, f01 contains the actual key value. Hope this helps

    Published by: Joel_C on March 21, 2011 11:50

  • How to create editable report manually even as a default with on report send the page


    Hello

    Is it possible to create the report updatable manully would even editable report by default.

    I created 4 report can be updated in a single page, but submits the entire page when adding empty lines.

    I need to add additional blank lines using dynamic measurements or any otherwise with the page request.

    Thank you

    RJ

    Thank you Lakshmi,

    His work!

  • How to identify the source file and edit reports in Oracle Sales R12.1.3

    We use R12.1.3 with Database 11g.

    I would like to know - how to change the report.

    --------------------------------------------------------------------

    For example if I want to edit a report in the module INVENTORY existing any report.

    • After the name of the report identify the concurrent program
    • The program contributing to identify the name of the executable file
    • In the executable file name identify the
      • Method of execution: Oracle report
      • Running file: name of the source file for the report
      • Take backup and edit the report and replace the report in the TOP >

    But in the sales module (it is not form based Oracle - I think it is developed on OAF)

    I would like to know how to identify and modify the report.

    According to standard - module sales Oracle provides three report and according to our Advisor to use these three reports, we need to install BI

    So we must find the solution through internal developments

    Hello

    Set the option to profile ' FND: Diagnostics ' to 'Yes' at the level of the user and you will be able to get 'on this Page' link at the bottom of the page.

    Kind regards

    Zahid

  • How to make a non editable report column in a master form / details

    Hi all

    I created a form master / detail. The detail columns are created in the form of report columns instead of creating as components. I need to make a non-editable column. Please let me know how to achieve this.

    Thanks in advance.

    simple just go and change the attribute of report and make the field display type as > "Standard report column.

  • Problem with editable report

    I got in trouble for days.

    I have an updated report updated
    select 
    p.system system
    ,p.config config
    ,apex_item.display_and_save(9,p.jobname) jobname
    ,apex_item.display_and_save(3,p.parameter) ||
    APEX_ITEM.MD5_CHECKSUM(p.parameter,p.value_char,p.value_number,to_char(p.value_date,'dd.mm.yyyy'),p.param_set) ||
    apex_item.hidden(2,rownum) parameter
    ,p.value_char value_char_current 
          ,APEX_ITEM.TEXT(4,p.value_char,20,128) value_char_new
    ,case when p.parameter in ('OBJINCID', 'HISTTRANSFERID') then '<span style="color:#000000;font-weight:bold">'||p.value_number||'</span>' 
                else to_char(p.value_number) end  value_number_current
    ,APEX_ITEM.TEXT(5,p.value_number,10) value_number_new
    ,case when p.parameter = 'TRANSFERDAY' then '<span style="color:#000000;font-weight:bold">'||to_char(p.value_date,'dd.mm.yyyy')||'</span>' 
                else to_char(p.value_date,'dd.mm.yyyy') end value_date_current
    ,APEX_ITEM.DATE_POPUP2(6,p.value_date,'DD.MM.YYYY','15','10','style=""',null,null,null,null,null,'both',null,'MONTH_AND_YEAR') value_date_new
          ,apex_item.display_and_save(7,p.param_set) param_set
          ,apex_item.display_and_save(8,p.param_type) param_type
    from etl_job_param p, etl_job_config c
    where p.config = substr(:P285_CONFIG,instr(:P285_CONFIG,'_')+1) 
    and p.system = :P285_SYSTEM
    and p.system=c.system 
    and p.config=c.config
    and p.jobname=c.jobname
    order by jobsequence
    It works well and data are saved using a process page
    declare
      v_count_failed     number := 0;
      v_count_updated    number := 0;
      v_count_failed2    number := 0;
      v_count_updated2   number := 0;
    
    
    begin
    
      for i in 1 .. apex_application.g_f02.COUNT loop
      --{
        if wwv_flow_item.md5(apex_application.g_f03(i)
                               ,apex_application.g_f04(i)
                               ,apex_application.g_f05(i)
                               ,apex_application.g_f06(i)
                               ,apex_application.g_f07(i)
    )
    
        <> apex_application.g_fcs (i) then
          --{   
            p_sup_mnt_apx.pr_230_update_params(
                                        :P285_SYSTEM
                                    -substr(:P285_CONFIG,instr(:P285_CONFIG,'_')+1)
                        ,apex_application.g_f09 (i) 
                        ,apex_application.g_f03 (i) 
                        ,apex_application.g_f07 (i) 
                        ,apex_application.g_f04 (i) 
                        ,apex_application.g_f05 (i) 
                        ,to_date(apex_application.g_f06 (i),'DD.MM.RRRR')   
                        ,apex_application.g_fcs (i)  
                        ,v_count_failed
                        ,v_count_updated);
    
            
            v_count_failed2 := v_count_failed2 + v_count_failed;
            v_count_updated2 := v_count_updated2 + v_count_updated;
        
            --reset variables
            v_count_failed  := 0;
            v_count_updated   := 0;
        --}
        end if;
      --}
      end loop;
    
      :P285_COUNT_FAILED := v_count_failed2;
      :P285_COUNT_UPDATED := v_count_updated2;
    
    END;
    What I have to do is set the value of column value_number_new to null if another pass has a certain value.
    So I replaced
     ,APEX_ITEM.TEXT(5,p.value_number,10) value_number_new
    with
    ,case when p.parameter in ('OBJINCID', 'HISTTRANSFERID') then null
                else APEX_ITEM.TEXT(5,p.value_number) end value_number_new
    It appears correctly, but database update fails.
    If I put the old code and just manually delete the data in the form and save, then it works.

    Please help, it drives me crazy

    Gus

    Published by: Gus C February 6, 2013 03:24

    It should work for you now. It allows the management of exceptions.

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

  • How could put editable report column as read only based on the other domain

    Hello world

    I'm new to APEX. I have a modifiable tabular report (SQL query). When I choose the column (which is a selection list) of a certain value, I want column B to be read-only (depending on the result of an another SQL described below). It doesn't seem to be a READ ONLY section in the type of tabular report where I could put my SQL condition.

    In other words, "column B" must be read only based on SQL returning following true or Exists:
    Thus, to determine if column B is ready only, I need the following logic:

    SELECT 'x '.
    of tab1
    where key = (value of column A)
    and the flag = "Y".

    Any help would be greatly appreciated!
    Thank you
    François

    You can only do so if your tabular presentation is a manually created. In this example, it shows how to set this property:

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

    You can use a case statement to set this property for specific lines.

    SELECT empno,
           CASE
              WHEN ename LIKE 'A%'
                 THEN apex_item.text
                                  (34,
                                   job,
                                   80,
                                   100,
                                   'style="width:170px" readonly="readonly"',
                                   'f34_' || '#ROWNUM#'
                                  )
              ELSE apex_item.text (34,
                                   job,
                                   80,
                                   100,
                                   'style="width:170px"',
                                   'f34_' || '#ROWNUM#'
                                  )
           END job
      FROM emp
    

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

  • Microsoft windows XP Professional edition, report of invalid key

    Hi group, I recently acquired various work redundant COMPUTER equipment, more has been discharge so I thought I could do some use. I got a HP D530 S nude which I plan on my daughter in her room for homework fundamental & internet. The disc has been removed from the desktop until I acquired it for security reasons. Since then, I've replaced the hard drive and you have the PC running. The problem is that I have the sticker COST of windows genuine with code 25 alpha numeric attached to the desktop computer, but after installing windows from a disk in Win XP Pro I have installed on my machine, I get the message that the code is not authentic. I contacted Microsoft both on 0800 & 0844 numbers, but nothing helped. Last time I called it took the Lady 35 minutes to give me the answer "You must contact the seller of the machine that you can not install windows without the disc", I read the topics before posting this thread, but they all seem incompatible with my problem. Any help would be appreciated.

    Cordially Otto UK
    PS: I realized any advice on entering/change product keys, but he still reached the same conclusion

    In this case, use the product key update tool to change the key to that on the sticker...

    Use the product key update tool - http://windows.microsoft.com/en-GB/windows/help/genuine/product-key to change the key for that which concerns your COA sticker, and then to restart and to publish a new report MGADiag we can confirm everything went well

  • Editable report?

    I was wondering if there was an option of Apex to produce a report or all rows in a table with the records showed that areas of text and selectlists, so they can be changed?

    You can do it with a section of standard report. With the columns, you can select a different type to the columns wide. They can be any type of control that you want. But you may need to set the saving process yourself. Using forms in table format, it's easier, but less flexible. You can't do if you use more than one source for your report table. If you program yourself, you have no limits like this.

  • Not currently logged in error when editing report

    Hello
    I'm facing a real problem wired into our installation of OBIEE 10.1.3.4.1.
    In general the application works very well for several months. We don't use SSO, but use LDAP authentication and get user roles for the permission to the database.

    But sometimes, I find the reports I can run without problems. I can also open them in responses and modify the criteria tab. But when I try to change the results page I lose the connection. Error: "you are currently not connected. After this error, I have to reconnect in the application.

    This problem occurs with several reports, but I don't see any sales pitch inside.

    If anyone else facing the same problem or has a solution/explanation of this behavior?

    Any help would be appreciated.
    See you soon

    Read the article the support.oracle.com 1054338.1. It contains the reason for this error and the details of a workaround. You must upgrade to 10.1.3.5 OC4J.

    Paul
    http://total-bi.com

  • How to make a non editable report

    I have a table that contains the records that are effective as of the. If registration is effective I don't want any editable except for the termination date field. I thought I could do this by disabling elements, but you can change the date of entry into force and which will allow all the elements again. Does anyone have any ideas on how I can do this? I would like to use apex and is not a trigger. My goal is to develop applications extract data from different databases by using web services. I still have a long way to go. I'm not too familiar with APEX. I'm still trying to learn as I go.

    Thank you

    use $x_Hide ('PX_EFFECTIVE_DATE_IMG'); This will hide the datePicker, next to the element in the page header

  • Created HTML Radio Group broken legs (version 4.1)

    I created 2 pages with a tab set to switch backwards between them.
    Page1: HTML with this as a source Region
    < input type = "radio" id = "radioTest" name = "my_name" value = "Test" checked / >
    Page2: white

    Please see my example here: http://apex.oracle.com/pls/apex/f?p=50607:1

    When I click page 2 I get an error indicating that the page you requested was not found.

    If I remove the "name" attribute in the option box, then it works fine. However, I would use the name attribute so that I can combine 2 radio buttons.

    How can I use HTML radio buttons without breaking the game tab?

    shoe wrote:
    How can I use HTML radio buttons without breaking the game tab?

    Usually form in the APEX controls must be created as elements of the pageor generated programmatically using API of API callsapex_item calls like apex_item.radiogroup in the report or the dynamic PL/SQL areas.

    Creating arbitrary name attrbuts in HTML regions like controls

    
    

    is not supported as they are not complying with the expected by APEX parameter signature.

  • 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

Maybe you are looking for

  • Satellite M50 - A - 11 L - fan loosening

    Earlier this year, I bought my M50 - A. I sent a return to an online store that had a fan obviously grinding noises like a Jet engine starting under load. The second device, I received and kept now exposes similar questions. At first the fan just sha

  • Why isn't my old watch backup appear in the list when you set up the replacement or new shows?

    Why isn't my old watch backup appear in the list when you set up the replacement or new shows? I've been upgraded to a new watch, and during the installation of my phone would not offer a restore of backup.  The problem is that the factory OS on the

  • Missing several drivers for Satellite

    SM Bus controllerVGA compatible video controllerAudio (realtek maybe?)modem device high definition audio The Kinks help appropriate drivers

  • locationlisterne

    Hi guys,. does anyone have a simple example of work on the application of Gps using locationlistener? I have problems to make it work Thank you guys

  • How do I change default desktop to open?

    Because I downloaded the recent update to Open Office version, it automatically now open Open Office when I turn on my computer.  I would like to open on my desk as it always has.