Problem with nested report

Hello gurus,

I've created a classic Nested like Dietmar report of:
HOWTO report nested?

I followed the steps to create the nested report:
Step 1 - create the package
create or replace package UNFUND_PCK as

   FUNCTION get_unfund_inline_f (p_dfcyseqno NUMBER)
      RETURN CLOB;
end;
/


--------------------------------package body--------------------------------------

create or replace package body "UNFUND_PCK" is
function GET_UNFUND_INLINE_F(P_DFCYSEQNO IN NUMBER
) return CLOB
 

as
  
 l_str   VARCHAR2 (32767);
 l_cnt   NUMBER   := 0;
begin
-- null; 
/* insert function code */


  l_str    := '<table class="inlineTable">';
      l_str    :=
            l_str
         || '<tr><th class="colFundType">Funding Type</th><th class="colRequireType">Requirement Type</th><th class="colFY">Fiscal Year</th>'
         || '<th class="colCost">Cost</th></tr>';

      FOR cur IN (SELECT fundg_type_c, fundg_rqrmt_type_c, fundg_fy, fundg_cost
                     FROM dfcy_catg_fundg
                     WHERE dfcy_seqno = p_dfcyseqno)
      LOOP
         l_str    := l_str || '<tr>';
         l_str    :=
               l_str
            || '<td class="colFundType">'
            || cur.fundg_type_c
            || '</td><td class="colRequireType">'
            || cur.fundg_rqrmt_type_c
            || '</td><td class="colFY">'
            || cur.fundg_fy
            || '</td><td class="colCost">'
            || cur.fundg_cost 
            || '</td>';
         l_str    := l_str || '</tr>';
         l_cnt    := l_cnt + 1;
      END LOOP;

      l_str    := l_str || '</table>';

      IF l_cnt = 0
      THEN
         RETURN '';
      ELSE
         RETURN l_str;
      END IF;

end GET_UNFUND_INLINE_F;

end "UNFUND_PCK";
Step 2 - create the updated Styles in the head of the HTML header.
<style type="text/css">
<!--
.inlineTable{border:1px solid #cfe0f1;border-collapse:collapse;width:100%;}
.inlineTable th{color:#336699;border:1px solid #cfe0f1;padding:2px;}
.inlineTable td{border:1px solid #cfe0f1;border-left:none;border-top:none;padding:2px;}

/* additional formatting for the specific columns*/
.inlineTable.colFundType{width:100px; text-align:center;}
.inlineTable.colcolRequireType{width:100px; text-align:right;}
.inlineTable.colFY{width:50px;}
.inlineTable.colCost{width:100px; text-align:right;}

-->
</style>
Step 3 - create a new Page of the report, classic (qry SQL)
select      V.DFCY_SEQNO,
      V.DFCY_NAME,
      V.DFCY_SMY_NARR,
      V.DFCY_STATUS,
      V.DFCY_CATG_C,
          UNFUND_PCK.GET_UNFUND_INLINE_F(V.DFCY_SEQNO) UNFUNDED_DFCY
        
 from      V_DFCY_BASE V
 where   V.DFCY_CATG_C = 1
My results with HTML tags everywhere Comeback:

528 funding dfcy funding dfcy added the 27/05/10 update the risk of closed/accepted 10/06/10 1 < table class = "inlineTable" > < tr > < th = "colFundType" class > funding class < /th > < th = "colRequireType" > Type < /th > < th of the condition class = "colFY" > exercise < /th > < th = "colCost" class > costs < /th > < /tr > < tr > < class td = "colFundType." > 3 < table > < class = "colRequireType" > 2 < table > td < class = "colFY" > 2013 < table > td < class td = "colCost" > 999 < table > < /tr > < tr > < class = "colFundType" > 2 < table > td < class = "colRequireType" > 2 < table > td < class = "colFY" > 2012 < table > td < class td = "colCost" > 8888888888 < table > < /tr > < / table >

I am using Application by default for page, model for the region, the standard report and using the theme 9. Will you please tell me what I am doing wrong so I can get the correct format.

Thank you
Mary

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

Tags: Database

Similar Questions

  • Problem with the report and the system of axis 2d

    Hi, I'm trying to write a script with tiara, who wrote a 2d axis system in the report but I'm having a lot of problems with it.

    What I'm trying to do, is make 3 or more system axis 2d in the report, each displaying a part of the data of 2 channels (x = ch0, ch1 = y).

    With only 1 graphic I get what I want, but when I try to add the 2nd or the 3rd, they show without my defined x-scale and with the offset x different from the first chart.

    I tried everything, but I could not remedy

    I added as attachments the .csv file that I use to ch0 and ch1 and 2 screen shoots "what I get" (about the problem with the script) and "what I hope to get" (done manually, is what I'm trying to get the report)

    Any help will be appreciated, thanks in advance

    Ierman

    I'll post my code here:

    Dim Xscale, Yscale
    XScale = Array (0,25,0,5,49)
    Yscale = Array(-0.2,0.2,-0.2,10,4)
     
    Call PicDelete()
    Call GraphObjNew ("2D-Axis", "2DAxis1")
    Call GRAPHObjOpen ("2DAxis1")
    D2AxisTop = 1

    D2AxisBottom = 70
    D2AxisLeft = 1
    D2AxisRight = 1
    Call GRAPHObjOpen ("2DYAxis1_1")
    D2AxisyScaleType = "manual".
    D2AXISYBEGIN = Yscale (0)
    D2AXISYEND = Yscale (1)
    D2AXISYORIGIN = Yscale (2)
    D2AXISYTICK = Yscale (3)
    D2AXISYMINITICK = Yscale (4)
    Call GRAPHObjClose ("2DYAxis1_1")
    Call GRAPHObjOpen ("2DXAxis1_1")
    D2AxisxScaleType = "manual".
    D2AXISXBEGIN = Xscale (0)
    D2AXISXEND = Xscale (1)
    D2AXISXORIGIN = Xscale (2)
    D2AXISXTICK = Xscale (3)
    D2AXISXMINITICK = Xscale (4)
    D2AxisXTxt = ""

    D2AxisXColor = 'black '.

    D2AxisXTickAuto = 1
    D2MTickLineWidth (1) = 0.1
    D2MTickLineType (1) = "solid".
    D2AxisXTickSize = 60
    D2AxisXTxtAutoCo = 0
    D2MTickColor = "red".
    Call GRAPHObjClose ("2DXAxis1_1")
    Call GraphObjNew("2D-Curve","New_Curve")

    Call GraphObjOpen ("New_Curve")

    D2CCHNX = "[1] / [1]" "

    D2CCHNY = "[1] / [2]" "

    D2CurveColor = "red".
    Call GraphObjClose ("New_Curve")
    Call GRAPHObjClose ("2DAxis1")

    Dim Xscale1, Yscale1
    Xscale1 = Array (25,50,0,5,49)
    Yscale1 = Array(-0.2,0.2,-0.2,10,4)
    Call GraphObjNew ("2D-Axis", "grafic")
    Call GRAPHObjOpen ("grafic")
    D2AxisTop = 40

    D2AxisBottom = 37
    D2AxisLeft = 1
    D2AxisRight = 1
    Call GRAPHObjOpen ("2DYAxis1_2")
    D2AxisyScaleType = "manual".
    D2AXISYBEGIN = Yscale1 (0)
    D2AXISYEND = Yscale1 (1)
    D2AXISYORIGIN = Yscale1 (2)
    D2AXISYTICK = Yscale1 (3)
    D2AXISYMINITICK = Yscale1 (4)
    D2AxisYTxt = "" ' testo asse label y
    Call GRAPHObjClose ("2DYAxis1_2")
    Call GRAPHObjOpen ("2DXAxis1_2")
    D2AxisxScaleType = "manual".
    D2AXISXBEGIN = Xscale1 (0)
    D2AXISXEND = Xscale1 (1)
    D2AXISXORIGIN = Xscale1 (2)
    D2AXISXTICK = Xscale1 (3)
    D2AXISXMINITICK = Xscale1 (4)
    D2AxisXTxt = «»

    D2AxisXColor = 'black '.

    D2AxisXTickAuto = 1
    D2MTickLineWidth (1) = 0.1
    D2MTickLineType (1) = "solid".
    D2AxisXTickSize = 60
    D2AxisXTxtAutoCo = 0
    D2MTickColor = "red".
    Call GRAPHObjClose ("2DXAxis1_2")
    Call GraphObjNew("2D-Curve","New_Curve1")

    Call GraphObjOpen ("New_Curve1")

    D2CCHNX = "[1] / [1]" "

    D2CCHNY = "[1] / [2]" "

    D2CurveColor = "red".
    Call GraphObjClose ("New_Curve1")
    Call GRAPHObjClose ("grafic")

    Hi lerman,.

    Here is an edited version of your code that works on my computer.  A problem that I know that I fixed it was that your presentation of the STATE was in the name-oriented mode but you use the variables based on the number to assign it X and Y channels.  The execution of these commands in a loop FOR makes it much easier to debug the code and to avoid any annoyance at first.

    Brad Turpin
    Tiara Product Support Engineer

    National Instruments

  • Virtualized ESXi5 - network problems with nested VMS

    Happy new year!

    I am facing some issues on my test environment, which is as follows:

    • -my host system is a step of laptop Linux Mint 11 (2.6.38 - 8-generic #42 - Ubuntu SMP)
    • -I'm using VMWare Workstation 8.0.1 build-528992
    • -J' I install bridged networking on a virtual interface (made with brctl) for all virtual machines and the host provides dhcp, dns, tftp, etc... facilities
    • -All virtual machines are on the network briged and all see each other, the host and the internet perfectly well

    Now the part ESXi:

    • -the server ESXi 5 (free basic license) is vitualized with a single vnic and bridged networks (same as all other virtual machines) and as a virtual machine of ESXi 5 (was a nice surprise to see that the 8 WS knows out-of-the-box)
    • -J' I install that some virtual machines nested in this virtual ESXi
    • -the VM ESXi can talk to other systems, that is, the host, the other virtual machines and its own virtual machines

    The problem is that nested virtual computers can talk to each other or the console, but not to the computer host or other virtual machines, except the ESXi itself.

    I have tried the following with no chance:

    • -Add an another vnic to the ESXi and devote a vswitch for virtual machines
    • -use NAT or network invited only for the VM ESXi
    • disable/unload the ESXi firewall

    The only thing that works are a little DHCP, although it seems the acknowledgement never reach nested VMs. However, they still get a correct, but after that IP address are not able to receive any ARP traffic. If you manually add arp entries and can see CIMP inquiry vnet0 (bridge) of VMs nested to other machines as well as the corresponding answers. If ping on the other hand, I see only the applications, which means that the traffic is not sent to the nested virtual machines.

    The vswitch ESXi is configured to accept the promiscuous mode, change MAC address and forged passes.

    Thanks in advance if anyone has an idea

    "Promiscuous" mode is enabled for/dev/vmnet0 on the physical host?  See http://kb.vmware.com/kb/287 for more details.

  • Problem with output report layout

    Hi friends,

    This isn't problem Oracle D2K. ;)

    I did a report in Oracle PL/SQL. And, when I spool the data he fragments he came out in several lines. Despite I took in charge of the issues.

    Now, let me explain->

    I used a function in pipeline and store the result using the command of the coil.

    What I found strange, this is the type of object that is a clob data type is split in fact lines after 80 characters as in the case of string, it continues to 4000 characters.

    Now, in my solution, ordering channels made big role as all the lines indicate a different meaning and so pinched the data accordingly.

    I did a small test in that regard, and I am paste here that - because I am not allowed to post here my original due to the policy of the company code.
    scott>select * from v$version;
    -----------------------------------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    
    Elapsed: 00:00:00.18
    scott>
    
    scott>create table clob_dummy
      2     (
      3       cola clob
      4     );
    
    Table created.
    
    Elapsed: 00:00:04.40
    scott>
    
    scott>insert into clob_dummy values('&clb');
    
    Enter value for clb: Enter value for clb: gfhjtuioep mnhjkie rt-hlospd. ngktio pokdnebtt, gkhohphpdj
    dbs wmqksxnd - kfnfdkdldkdkdkdkdkdkdkdkdbdsjgdvj h geg.jv ehh  shgghsga wshkwlsgsdklghlahgkh lahgkas
     lhks  kglaks gksh a
    old   1: insert into clob_dummy values('&clb')
    new   1: insert into clob_dummy values('Enter value for clb: gfhjtuioep mnhjkie rt-hlospd. ngktio po
    
    1 row created.
    
    Elapsed: 00:00:00.08
    scott>
    scott>commit;
    
    Commit complete.
    
    Elapsed: 00:00:00.01
    scott>
    scott>select * from clob_dummy
      2  ;
    
    COLA
    --------------------------------------------------------------------------------
    Enter value for clb: gfhjtuioep mnhjkie rt-hlospd. ngktio pokdnebtt, gkhohphpdjd
    
    Elapsed: 00:00:00.27
    scott>set long 400000
    scott>
    
    scott>set lin 2000    ---- As you can see i've set the linesize to 2000
    
    
    scott>
    scott>set serveroutput on
    scott>
    scott>
    scott>select * from clob_dummy;
    
    COLA
    --------------------------------------------------------------------------------
    Enter value for clb: gfhjtuioep mnhjkie rt-hlospd. ngktio pokdnebtt, gkhohphpdjd
    bs wmqksxnd - kfnfdkdldkdkdkdkdkdkdkdkdbdsjgdvj h geg.jv ehh  shgghsga wshkwlsgs
    dklghlahgkh lahgkas lhks  kglaks gksh a
    
    
    Elapsed: 00:00:00.11
    scott>
    scott>
    scott>select length(cola) res from clob_dummy;
    
           RES
    ----------
           199
    
    Elapsed: 00:00:00.08
    scott>insert into clob_dummy values('&clb')
      2  ;
    Enter value for clb: ssjfsjgskjhghsgskgkksl hgeldhldlkskhdlk dklhkdlkhlkdlhdkfhldkhkhdkhkdhkdhkdkhkl
    hkddkhdkhdkl djhlkdkhdhkshlkd dkhdkhldsjhkslhjd eutywe 398863694 i230e ehgd ehglegighsihdlk eltiweyt
    ilhdhgehgisehbkd 
    old   1: insert into clob_dummy values('&clb')
    new   1: insert into clob_dummy values('ssjfsjgskjhghsgskgkksl hgeldhldlkskhdlk dklhkdlkhlkdlhdkfhld
    
    1 row created.
    
    Elapsed: 00:00:00.03
    scott>
    scott>commit;
    
    Commit complete.
    
    Elapsed: 00:00:00.08
    scott>
    scott>select * from clob_dummy;
    
    COLA
    --------------------------------------------------------------------------------
    Enter value for clb: gfhjtuioep mnhjkie rt-hlospd. ngktio pokdnebtt, gkhohphpdjd
    bs wmqksxnd - kfnfdkdldkdkdkdkdkdkdkdkdbdsjgdvj h geg.jv ehh  shgghsga wshkwlsgs
    dklghlahgkh lahgkas lhks  kglaks gksh a
    
    ssjfsjgskjhghsgskgkksl hgeldhldlkskhdlk dklhkdlkhlkdlhdkfhldkhkhdkhkdhkdhkdkhklh
    kddkhdkhdkl djhlkdkhdhkshlkd dkhdkhldsjhkslhjd eutywe 398863694 i230e ehgd ehgle
    gighsihdlk eltiweytilhdhgehgisehbkd
    
    
    Elapsed: 00:00:00.11
    scott>
    scott>
    
    ----- Still it is breaking the line after 80 characters. 
    Why is this it is break line after 80 characters? Alternatively, where I'm missing?

    But when I changed the varchar2 data type, it is good way.

    May I know what is the reason? Then I fixed using the clob data type? Or will I have to change to varchar2? Because, I need only single record line (any size is - this - but of course oracle time) when I wrap the output to a file.

    Please share your thoughts with me.

    Thank you.

    It may be related to longchunksize SQL layout * more. Have you tried a similar to your set linesize value assignment:

    set longc 2000
    

    It can also be bound to the version of SQL * more you use. I notice some differences between sqlplus (command line version) and sqlplusw (the windows gui version)

  • Problem with nested structures event

    Hello

    I'm rather new to Labview and I wanted to use a structure of nested in one of my programs at the event.

    However, I seem to fail to do things.

    I created a minimal example of construction that I use, you will find in the attachment.

    The idea behind this program is as follows.

    1. I have run the program and go into a while loop

    2. once I have hold down a button on front of a counter is increment every 100 ms.

    3. when I release the incrementing buttun stops.

    However, this does not work. What I am doing wrong?

    Thanks in advance!

    Never stack event structures. Never ever.

    That being said, your code contains a lot of illogical parts, for example a queue time when using a case of 0-timeout event.

    Please use a unique event structure. Where growth is expected to run, set the timeout case e .g. 100 (using the shift register) and once it is based again on set it back to-1. Initialize the shift with-1 register.

    Also avoid using references and nodes property to read/write the values. These are bad practices (in most cases) and bury a lot of run-time performance.

    A second shift register allows to keep the numerical value and increase the value in the case of timeout. Update of the terminal after the structure of the event.

    Norbert

    EDIT: My first line is a rule of thumb. With the increase in the skills of LV and appropriate design, the stacking of the structures of the event is possible, but you must know the rules. If this isn't the case, you won't fail hard.

  • Problem With nested Manager in DialogFieldManager

    I display successfully a PopupScreen with an icon, title, two fields of line and two buttons to the right places.  I do this by calling the constructor of PopupScreen with DialogFieldManager

    The problem is fixed height BasicEditField as I am trying to add.  There is space for the BasicEditField, but the BasicEditField is not.

    Here is the code I use.  Note: I left the ButtonField and FieldChangeListener code to stay brief.  I also tried to use customManager.add () instead of delegateFieldManager.addCustomField ()... or work:

         eflink = new EditField("", link);
            efname = new EditField("", "");
            befd = new BasicEditField("", "")
            {
                public int getPreferredHeight()
                {
                    return 60;
                }
            };
            dsm = dfm.getCustomManager();
            hfm = new HorizontalFieldManager(Manager.FIELD_HCENTER);
            tvfm = new VerticalFieldManager(Manager.VERTICAL_SCROLL)
            {
                protected void sublayout( int maxWidth, int maxHeight )
                {
                    int width = maxWidth;
                    int height = maxHeight;
                    width = dfm.getWidth();
                    height = dfm.getHeight() + befd.getPreferredHeight();
                    // super.sublayout( width, height);
                    setExtent( width, height);
                }
            };
            dfm.addCustomField(eflink);
            dfm.addCustomField(efname);
            //
            tvfm.add(befd);
            hfm.add(post);
            hfm.add(cancel);
            dfm.addCustomField(tvfm);
            dfm.addCustomField(hfm);
         }
    

    Can you see what I'm doing wrong?

    Solved!

    I took the code of this doc, deleted the reference EditField and adding a field to the constructor parameter.

    I then used the custom manager that results in place of the VerticalFieldManager in my previous code... using the fixed EditField as the field to the Manager constructor arg custom.

  • Problem with interactive report

    Hi all

    I use Apex 4.2

    I have an interactive in which I activated the filtering and sorting.

    When I click on one of the column in the interactive report, saying: "LAST NAME", it shows me the filtering and sorting options drop down.

    The poster also available name drop extracted from the query, but it shows me some range of name pronounce A - C only.

    I have family with starting with another letter also names, but those names are not displayed.

    For some columns displays the values of A to E, but not the full list.

    How to display the entire list in this fall down.

    Kind regards

    Jean-Louis Patel.

    Hi Alice,.

    Because of interactive report performance, it loads only a few filters.

    If you change the column definition for the column, under set the Filter Type of column to one of the other options like 'User defined list of values to exact match filter' from the list of values.  You can then specify the query used to generate this list.  You could use something like what listed below to grab the first 20000 records.

    Select *.

    from (select name

    WCP

    em order by name)

    where rownum<=>

    But don't forget, it will always affect your performance of interactive report page.

    Or alternatively, you can use this link:

    http://tpetrus.blogspot.in/2012/05/interactive-report-filtering-in-apex.html

    -Sunil Bhatia

  • Problems with nested VM, EPT, 4.1 5.1 nested

    Good evening

    I'm having a problem getting material passthrough to work. I'm under 5.1 ESXi (free license) and trying to nest 4.1 (free license) on the inside. In the settings of 4.1, I tried setting EFA / IVR affecting hardware/EQUIPMENT, but also automatic. Both occur in the following message:

    Warning message about ESXi 4.1: virtualized Intel
    VT-x/EPT is disabled for this ESX virtual machine.
    You will only be able to run 32 bit nested virtual
    machines.
    I heard all kinds of things to get this working. This is going to manually edit the VMX (tried), to memory (tested), to set the automatic EPT parameter instead of solving manually (tried) locking file. The same result message. EPT is enabled in the BIOS and EFA is certainly feasible on this processor (E5-2650). Any ideas to get this to work? If you need logs, you can tell me where to get them? (I see some threads require vmware.log but discharge only I get from the vSphere Client is huge and made up of a gzip file and individuals in a folder)
    ESXi 4.1 VM under network adapters said that DirectPath IO is not taken in charge and one of the reasons for which it lists is that the host is not configured for this. I know that it is experimental, but I hope that something can be found for this.

    Thanks for the help!
    Sincerely,

    Cody Weaver

    By using the web client, check the box 'virtualize virtualization to support', or edit the vmx file to add:

    VHV. Enable = TRUE

    Note that the virtual hardware version must be at 9.

  • Problem with the report as a button link

    Apex 3.2

    I had a relationship with a column of link to another page.

    The user wanted a button instead of one of the standard icons, so I change the link text to

    < button type = "button" > Clean < / button >

    If I use firefox, then this link works very well, but in IE, nothing happens when I click on the button.

    Gus

    Hello

    Perhaps this example help

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

    I created request report

    SELECT empno,
      ename,
      job,
      APEX_UTIL.PREPARE_URL('f?p=&APP_ID.:37:&APP_SESSION.::&DEBUG.::P37_EMPNO:' || empno,NULL,3) AS linkurl
    FROM emp
    

    Then I change the LINKURL Link Text column

    
    

    Link attributes

    class="hideMe508"
    

    Target URL and URL # (sharp right)

    Kind regards

    Jari

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

  • Problem with a report model

    I have a report that uses a custom model.
    Light blue 15 theme it worked fine.
    I changed my theme to 21 scarlet and copied the model, but is no longer functions, that is to say the highlight is ignored

    My report is
    select owner, table_name, partition_name, subpartition_name, 
    to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss') update_time, 
    to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss') previous, 
    to_char(latest-previous,'dd.mm.yyyy hh24:mi:ss') duration,
    case when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 120 then 'CC0000'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 90 then 'FF0000'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 60 then 'FF6600'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 30 then 'FF9900'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 20 then 'FFCC00'
         when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 10 then 'FFFF00'
         else 'FFFFFF' 
    end BG_COLOUR
     from (
    select da.owner, da.table_name, da.partition_name, da.subpartition_name ,(da.stats_update_time) latest, 
    nvl((select 
    max(stats_update_time) 
    from DBA_TAB_STATS_HISTORY 
    where (owner like ('%ADMIN') or owner in (select username from dba_users where default_tablespace='USERS'))  and stats_update_time >= to_date(:P840_START_DATE,'dd.mm.yyyy hh24:mi:ss') and stats_update_time <= to_date(:P840_END_DATE,'dd.mm.yyyy hh24:mi:ss') and stats_update_time < (da.stats_update_time)),to_date(:P840_START_DATE,'dd.mm.yyyy hh24:mi:ss')) previous 
    from (
    select 
    owner, table_name, partition_name, subpartition_name, stats_update_time 
    from DBA_TAB_STATS_HISTORY 
    where (owner like ('%ADMIN') or owner in (select username from dba_users where default_tablespace='USERS'))  and stats_update_time >= to_date(:P840_START_DATE,'dd.mm.yyyy hh24:mi:ss') and stats_update_time <= to_date(:P840_END_DATE,'dd.mm.yyyy hh24:mi:ss') 
    order by stats_update_time asc) da)
    All the passes are passes standard report

    My model is
    Model name column Type (model line)
    Custom class 1 template
    Line Template1
    <tr style="background-color:#8#;">
    <td style="background-color:#8#;" class="t15data">#1#</td>
    <td style="background-color:#8#;" class="t15data">#2#</td>
    <td style="background-color:#8#;" class="t15data">#3#</td>
    <td style="background-color:#8#;" class="t15data">#4#</td>
    <td style="background-color:#8#;" class="t15data">#5#</td>
    <td style="background-color:#8#;" class="t15data">#6#</td>
    <td style="background-color:#8#;" class="t15data">#7#</td>
    </tr>
    Any help appreciated

    Gus

    Gus C wrote:
    I changed the template with your code, but still no formatting.
    It's the source of the page

    USER_TAB_STATS_HISTORY for 10-01-2013-21.00.04Edit

Several classes of 15-specific to the topic: Watch the report model theme Standard 21 and map the classes of equivalent items for custom report templates for the report to match the theme 21 L & F.

Clearly some s ' # ' abandoned somewhere along the line. Should have

and so on.

The query or the model never understood s ' # ' in hexadecimal color values? If not maybe you used a previous version of the 15 without DOCTYPE theme and "#"-have been applied in quirks colors mode less, but do not conform to standards 21 theme...

I would add the s ' # ' to the application as they are actually a part of the value of the color:

...
case when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 120 then '#CC0000'
     when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 90 then #'FF0000'
     when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 60 then '#FF6600'
     when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 30 then '#FF9900'
     when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 20 then '#FFCC00'
     when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 10 then '#FFFF00'
     else '#FFFFFF'
end BG_COLOUR
...

However if this model is used by several reports you can change the model to avoid changing all queries:

...
...

This is not a good solution, because it means that you can perfectly change color specifications in the request of hexadecimal values of named colors or values RGB etc..

  • Problem with navigation report

    Hi Experts,

    Pls help me.

    I have 2 reports summary report and detailed report...

    Summary of the report I did in pivot mode and I placed a column in the column section, so... the column values are apearing as a column in the report...
    I use only one measure...
    When the user clicks on this measure, it must navigate to the detail report...
    in the report in detail, I placed a few columns... and all the synthesis report are columns is invited...
    the problem... is wen by clicking on the measured value it sails, but the data are not filtering appropriatly.and is not seggregating is...

    CAB someone give me an idea... pls

    Bilel dear,

    1 make sure you have "is prmmpted" the same column that you use in summary. (copy - paste the column fx summary report in detail, while he is invited)

    2. If above things are. It should encourage.

    3. you check this by clicking on the summary and the physical motion or detailed report.
    You'll Carlo to whether or not the fileters are transmitted.

    Check if help/correct.
    Bachelot

  • Problems with nested cflayout and IE 7-9, inside the cfwindow

    I have a page that uses cflayout to display data. Links in the page triggers a cfwindow containing also a cflayout tag. It works perfectly in all other browsers, including IE 10, but not IE 9 and below. It produces no error, it just does not display anything at all. Window with nothing in it. Server-side is CF9.01.

    Any ideas? Thank you very much!

    Test your tag cfwindow with single output.  Continue to add things until it starts to behave badly.  Then you know what is the cause of the problem.

  • Problem with nested styles

    Relatively new user of InDesign tries to follow the instructions contained in the help files on creating nested styles, and something weird is happening that I can't understand.

    The goal: create a paragraph for paragraph style, after a break from the scene in a novel with no hyphen and the first [number] of words in capital letters.

    I have the paragraph style and the character in the format style. Each style individually works as expected. But when I select the Style Options > drop caps and Styles nested > new Style nested > choose the character style > via > 4 words > OK, the paragraph begins with the first three words in the normal case and caps are applied to the four words of the first line. Nothing I've tried puts the caps at the beginning of the paragraph and begins to count the number of words from there.

    I'd appreciate any help to ease my frustration. Thank you.

    Tosh

    OK, Peter responded before me in a few seconds, I guess.

    Thank you, Peter

  • Problems with nested Styles

    I am creating a style nested in copy CS5. What I want to do is to create the first few words with a certain style of character, then get back on the paragraph style setting. I have the nested style set to end with the end nested style here special character, but it seems to stay in the format of the nested little style matter what I do.

    Any suggestions?

    Just create the nested style to use the character for the first three words style. That's all.

    Bob

  • Maybe you are looking for

    • I can't view ANY site on my laptop

      When I try to view a Web site on my laptop execpt google, I always get the "connection timed out" message, but I can still play games that need internet connection. Google search also works very well.

    • Reliable detection of USB-6210

      I have a 6210 USB that I use on a HP laptop. If the USB-6210 is plugged into the laptop at the start, the USB-6210 is not detected by MAX and is unusable. If I unplug the unit, the beeps of the computer (the usual beep when you unplug a USB device) a

    • Update of the support App installs

      Phone tells me that an update is available. Can I download it but it will not install

    • Cumulative security updates view failure status

      original title: cumulative security updates When they install any 'Cumulative Security Update"for Internet Explorer 8 for Windows Vista for x 64 systems, but never properly and always a status 'failed '. I need help!

    • At the start of my Vista computer, send a message on SolutionCenter.msi

      When I open my computer, I get a message to insert a solution center CD do message Ihave no such CD what should I do?

    OwnerTable NamePartition NameSubpartition NameStart TimeEnd TimeDuration
    DWHADMIN CPO_LOAD_STATISTIC - - 10.01.13 21:00:37 10.01.13 21:00:04 +000000000 00:00:33.346524