design of different control break

Hello
I'm having a problem of designing a report in apex 4.0. Is there a way to merge cells of different lines with the same information? Control breaks are almost what I want, but I need the information in the line and not in the header. Tables below show what I want to achieve, I'm grateful for any advice.

Suppose I have a table like this
Name | Order | Amount
-----------------------
Jeff |   1   |    100
-----------------------
Jeff |   2   |    200
-----------------------
Jeff |   3   |    150
-----------------------
James|   1   |     50
-----------------------
James|   2   |    100
I want it to look like this:
Name | Order | Amount
-----------------------
     |   1   |    100
     ------------------
Jeff |   2   |    200
     ------------------
     |   3   |    150
-----------------------
     |   1   |     50
James------------------
     |   2   |    100

Hi Chris,

I have created a report model "Named column (model line)" through shared components. In this regard, I put the setting template line 1:

<tr style="background-color:pink">
  <td style="background-color:lightgreen; border:1px solid #285577; text-align:center;" colspan=1 rowspan=#7#>#1#</td>
  <td class="t12data">#2#</td><td class="t12data">#3#</td><td class="t12data">#4#</td><td class="t12data">#5#</td>
</tr>

with a PL/SQL condition of:

'#COL1#' IS NOT NULL

and the parameter Row 2 model:

<tr style="background-color:lightblue">
  <td class="t12data">#2#</td><td class="t12data">#3#</td>
  <td class="t12data">#4#</td><td class="t12data">#5#</td>
</tr>

The SQL code for the report is:

SELECT A.COL1,
A.COL2,
A.COL3,
A.COL4,
A.COL5,
A.ITEM_NUMBER,
(SELECT MAX(B.ITEM_NUMBER) FROM VLAGTEST B WHERE B.COL1 = A.COL1) ITEM_COUNT
FROM VLAGTESTOUTPUT A

Andy

Tags: Database

Similar Questions

  • BUG: 4.2/5.0 interactive reports: attributes inconsistent/incorrect HEADERS in control break total lines

    When pause control and global actions are applied to an interactive report, the headers attributes generated for cells in the total break lines are incorrect.

    The cell in the total row headers attributes must contain the values of the id attributes of the column headings that apply to the total cell, which is the ID of the header cell of column with the header of the previous control break cell. In this example, the headers value of the total cell Dept 10 Sal to line 24 should consist of the value of "SAL" (line 12) Sal column header ID and the ID "BREAK_DEPTNO_1" of the line of control break Dept 10 (line 3). Instead, it includes the value 'BREAK_DEPTNO_2' of the Next control pause (line 29). The problem repeats for the ex-post control breaks. However, the model is incompatible, and the values for the final control (86 and 107) break lines are correct.

    This problem exists in APEX 4.2 and persists (even if using a different pattern of ID) to 5.0.

    <table summary="" cellpadding="0" cellspacing="0" border="0" class="apexir_WORKSHEET_DATA" id="12082517246125452">
      <tr>
        <th colspan="4" class="apexir_REPEAT_HEADING" id="BREAK_DEPTNO_1">Deptno : <span class="apex_break_headers">10</span></th>
      </tr>
      <tr>
        <th id="ENAME">
          <div id="apexir_ENAME" onclick="gReport.controls.widget(this.id)" style="text-align:center;">Ename</div>
        </th>
        <th id="JOB">
          <div id="apexir_JOB" onclick="gReport.controls.widget(this.id)" style="text-align:center;">Job</div>
        </th>
        <th id="SAL">
          <div id="apexir_SAL" onclick="gReport.controls.widget(this.id)" style="text-align:center;">Sal</div>
        </th>
      </tr>
      <tr class="even">
        <td align="left" headers="ENAME BREAK_DEPTNO_1">CLARK</td>
        <td align="left" headers="JOB BREAK_DEPTNO_1">MANAGER</td>
        <td align="right" headers="SAL BREAK_DEPTNO_1">2450</td>
      </tr>
      <tr>
        <td class="apexir_AGGREGATE_VALUE" style="white-space:nowrap;" align="left" headers="ENAME BREAK_DEPTNO_2"></td>
        <td class="apexir_AGGREGATE_VALUE" style="white-space:nowrap;" align="left" headers="JOB BREAK_DEPTNO_2"></td>
        <td class="apexir_AGGREGATE_VALUE" style="white-space:nowrap;" align="right" headers="SAL BREAK_DEPTNO_2">2450
          <br />
        </td>
      </tr>
      <tr>
        <th colspan="4" class="apexir_REPEAT_HEADING" id="BREAK_DEPTNO_2">Deptno : <span class="apex_break_headers">20</span></th>
      </tr>
      <tr>
        <th id="ENAME">
          <div style="text-align:center;">Ename</div>
        </th>
        <th id="JOB">
          <div style="text-align:center;">Job</div>
        </th>
        <th id="SAL">
          <div style="text-align:center;">Sal</div>
        </th>
      </tr>
      <tr class="odd">
        <td align="left" headers="ENAME BREAK_DEPTNO_2">SCOTT</td>
        <td align="left" headers="JOB BREAK_DEPTNO_2">ANALYST</td>
        <td align="right" headers="SAL BREAK_DEPTNO_2">3000</td>
      </tr>
      <tr class="even">
        <td align="left" headers="ENAME BREAK_DEPTNO_2">JONES</td>
        <td align="left" headers="JOB BREAK_DEPTNO_2">MANAGER</td>
        <td align="right" headers="SAL BREAK_DEPTNO_2">2975</td>
      </tr>
      <tr>
        <td class="apexir_AGGREGATE_VALUE" style="white-space:nowrap;" align="left" headers="ENAME BREAK_DEPTNO_3"></td>
        <td class="apexir_AGGREGATE_VALUE" style="white-space:nowrap;" align="left" headers="JOB BREAK_DEPTNO_3"></td>
        <td class="apexir_AGGREGATE_VALUE" style="white-space:nowrap;" align="right" headers="SAL BREAK_DEPTNO_3">5975
          <br />
        </td>
      </tr>
      <tr>
        <th colspan="4" class="apexir_REPEAT_HEADING" id="BREAK_DEPTNO_3">Deptno : <span class="apex_break_headers">30</span></th>
      </tr>
      <tr>
        <th id="ENAME">
          <div style="text-align:center;">Ename</div>
        </th>
        <th id="JOB">
          <div style="text-align:center;">Job</div>
        </th>
        <th id="SAL">
          <div style="text-align:center;">Sal</div>
        </th>
      </tr>
      <tr class="odd">
        <td align="left" headers="ENAME BREAK_DEPTNO_3">BLAKE</td>
        <td align="left" headers="JOB BREAK_DEPTNO_3">MANAGER</td>
        <td align="right" headers="SAL BREAK_DEPTNO_3">2850</td>
      </tr>
      <tr>
        <td class="apexir_AGGREGATE_VALUE" style="white-space:nowrap;" align="left" headers="ENAME BREAK_DEPTNO_4"></td>
        <td class="apexir_AGGREGATE_VALUE" style="white-space:nowrap;" align="left" headers="JOB BREAK_DEPTNO_4"></td>
        <td class="apexir_AGGREGATE_VALUE" style="white-space:nowrap;" align="right" headers="SAL BREAK_DEPTNO_4">2850
          <br />
        </td>
      </tr>
      <tr>
        <th colspan="4" class="apexir_REPEAT_HEADING" id="BREAK_DEPTNO_4">Deptno : <span class="apex_break_headers">40</span></th>
      </tr>
      <tr>
        <th id="ENAME">
          <div style="text-align:center;">Ename</div>
        </th>
        <th id="JOB">
          <div style="text-align:center;">Job</div>
        </th>
        <th id="SAL">
          <div style="text-align:center;">Sal</div>
        </th>
      </tr>
      <tr class="even">
        <td align="left" headers="ENAME BREAK_DEPTNO_4">FORD</td>
        <td align="left" headers="JOB BREAK_DEPTNO_4">ANALYST</td>
        <td align="right" headers="SAL BREAK_DEPTNO_4">3000</td>
      </tr>
      <tr>
        <td class="apexir_AGGREGATE_VALUE" style="white-space:nowrap;" align="left" headers="ENAME BREAK_DEPTNO_4"></td>
        <td class="apexir_AGGREGATE_VALUE" style="white-space:nowrap;" align="left" headers="JOB BREAK_DEPTNO_4"></td>
        <td class="apexir_AGGREGATE_VALUE" style="white-space:nowrap;" align="right" headers="SAL BREAK_DEPTNO_4">3000
          <br />
        </td>
      </tr>
    </table>
    
    

    Hello

    My apologies for the delay in responding and thank you for the detailed description of the issue.

    I could easily replicate this and filed bug 20889405 to follow, which will fix us as soon as possible. There is no workaround solution currently I'm afraid.

    Thanks again for posting this.

    Kind regards

    Anthony.

  • On the design of different Type of BlackBerry

    I want to design my request, with the photo I like header, content, and so on, but I'm confused about the size of the image. Can I use a differenf BB size (maybe "BOLD", Javelin, storm) or should I make different sizes of image for the same image?

    THX ^^.

    Here is some information that describes all the different screen sizes you will find there:

    http://docs.BlackBerry.com/en/developers/deliverables/6625/Dimensions_for_screens_images_and_icons_4...

    If you want your perfect application, then you may need to include a variety of images and use the one which is appropriate to the device.  Alternatively, you can package a number of different applications with different size images and choose the right one for the device based on the size of the screen for this device.  Or you can use code like that proposed by Mary Magdalene, on the scale of a single set of images to the right size.  There is no right answer here, you need to determine which of these options fits your needs.

  • Control Break appearance in interactive report

    Hi guys,.

    I use a break on 3 columns control in my report, but when this Summit shows the columns separated by commas, like:

    Column a: value, value in column B:, C: column value

    But I would like to:

    Value in column A:

    Value in column B:

    Value of column C:

    Is there a way to do this?

    I am currently working with the test environment Oracle supplied us, because we test if we can use APEX in our company.

    The version is Application Express 4.2.2.00.11 and it is running on Oracle 11 g. I'm using Firefox, but it's all the same in Internet Explorer.

    Just ask if you need more info.

    Thanks for the replies!

    NDG

    Post edited by: NDG123, reason: deleted the second question

    If Oracle had put a little more thought in annotating the headers of the break, it would be extremely simple to make with some CSS base placed in CSS Inline property page:

    .apex_break_headers:after {
      content: "\a";
      white-space: pre-wrap;
    }
    

    As it is, it's almost apart from the unnecessary commas...

  • How is it that design looks different than the preview with slideshow mode?

    Hello

    I put a slide show on the site. When I look in the preview mode the slide show is not exactly in the same place.

    How is it? I'm doing something wrong?

    Thanks for the reply

    The same problem.

    Now the elements to the top left have been defined to be pinned at the top left and everything has been defined to be pinned to the top center. So how both sets of objects are positioned relative to each other depend on the width of the browser window.

    According the appearance of your page layout I do not really want to have whatever it is pinned.

    If you do not want the items to be positioned differently in different browser window widths then don't use pinning in the Control Strip.

  • Control break to email program output in Excel file

    Hello

    Can someone provide me with a sample of break-up of the control file to send the output of a program in Excel.

    Thank you
    Ashish

    Please check the delivery channel properties:

    SMTP_SERVER, from, to, etc.

  • design of level control model

    can someone help me to make the model of water level control in the labview platform.

    Thank you

    Serkan

    I thank the President, can any suspicion on the model of level control you can suggest to do.

    Regarding

    Serkan

  • INTERFACE with the waterfall design: how 2 controls arranged in a single line?

    Hi all

    Cascade using I can easily drag and drop the control in the definition of qml and can preview visually. But it seems to draw the controls row-by-row. How do control the position absolutely on one line?

    In this case, you must use the DispositionAbsolue as the layout for this container, but note that you must specify the coordinates for each control. See the example below to place two buttons on the same line:

    import bb.cascades 1.0
    import bb.system 1.0
    
    Page {
        Container {
            layout: AbsoluteLayout {}
    
                Button {
                    id: btnConn
                objectName: "btnConn"
                text: "Connect"
                preferredWidth: 330
                    layoutProperties: AbsoluteLayoutProperties {
                        positionX: 44
                        positionY: 260
                    }
            }
    
            Button {
                id: btnDisc
                objectName: "btnDisc"
                text: "Disconnect"
                preferredWidth: 330
                    layoutProperties: AbsoluteLayoutProperties {
                        positionX: 394
                        positionY: 260
                    }
            }
        }
    }
    

    I hope this helps.

  • Is it possible to export 1 design to different PDF with different profiles?

    When I did a drawing, I would export to different PDFs for different purposes:

    -1 for PRINTING

    -1 for the PRESS

    -1 for the WEB

    All have parameters pdf export different of course.

    And different places.

    I could do it manually, but would it be possible to have a script doing this? Perhaps with the Apple script?

    simple three-liner:

    app.pdfExportPreferences.pageRange = PageRange.ALL_PAGES;

    app.pdfExportPreferences.viewPDF = false;

    app.activeDocument.exportFile (ExportFormat.pdfType, File("C:/Folder/Filename.pdf"), false, 'Export PDF preset name');

    Repeat this block as many times as you need.

    Simply adjust your path, name, and the pdf export preset name (all in 3rd line).

  • Manipulate the controls in the different pages and different controlled beans

    Greetings. JDeveloper 11.1.2.1. I have some questions on how to access a bean managed in a different JSF or Jsff pages.

    I have to jsf pages. hand. JSF that contains dynamic regions. Main.JSF has buttons on it that are managed by a bean view-reach level successful. The buttons are disabled depending on how dynamic region go you. If I move to the form.jsff, for example, the "GO to the FORM" button is disabled.

    Main.JSF - home page contains dynamic regions (a holding table.jsff taskflow and an another taskflow taking into form.jsff).
    TableTaskFlow - contains table.jsff. Table.JSFF has a CHANGE button which will take you to Form.jsff.
    FormTaskFlow - contains Form.jsff. (form.jsff is also in the taskflow taking into table.jsff)

    Main.JSF has buttons that are across the scope view. When you press certain keys, dynamic regions are changed, and some buttons becomes disabled.

    Table.JSFF has a CHANGE button which will lead you to the Form.jsff. Button change is a request-scope bean

    Form.JSFF has a button that takes back you to the Table.jsff. "Back" button is a request-scope bean.

    The Main.jsf bean, I am able to disable a button by calling its name of the variable and .setDisabled (false):

    ex:
    mainGoFormBtn.setDisabled (false);


    What I do is press the ASSEMBLY (on the Table.jsff and go to the Form.jsff), but some keys on the main.jsff (outermost page) have become invalid.

    However, I'm not sure how to call variables and set them off in an another bean. I tried this code and it worked in Java (I was able to select the variable and set it using the drop down menus and compile it), but when I ran the form, he gave me a pointer null expression error message.

    mainManagedBean n = new mainManagedBean();
    n.navMainGoForm.setDisabled (true); to do this, I had to put the variable for this button to the public...

    Then I tried this:

    mainManagedBean n = null;
    n.navMainGoForm.setDisabled (true); to do this, I had to put the variable for this button to the public...


    I do not know how to reference a button on a page different jsf in a different grain and also a bean that is located in a region that is 'different '.

    Thank you
    Stuart

    Hello

    define an input parameter of workflow for the managed bean you carried in sight. Then, on the binding of workflow, you configure this bean as an input parameter. If you save the bean in a range of memory in the workflow or a managed bean that is, then you can access the functionality of bean from anywhere in the called workflow.

    example:

    1 ParentPageBean (ViewScope): accessible under parentPageBean
    2 InputParameter taskflow: parentPageBean--> value: #{pageFlowScope.parentFlowBeanReference}
    3. the flow binding task parent pageDef: parentPageBean--> value #{viewScope.parentPageBean}
    4. then, in the workflow, you solve #{pageFlowScope.parentFlowBeanReference} to access the bean

    To avoid dependencies between the parent and the workflow, you must implement an Interface in the ParentPageBean (e.g. ParentPageBeanInterface) so tha in 4. the type cast is at ParentPageBeanInterface

    Another option that works - drank only if the activation/deactivation can be determined by the current view Id is displayed in the area is to define a (property) RegionNavigationListener on af:region

    Frank

  • Problem with XML and different line break styles

    I'm working on a project that is being developed by some developers Flash Builder 4.6 running in Windows and some developers Flash Builder 4.6 running under OSX. We have difficulties due to the difference of newlines between the two environments. In an .as file with line breaks in style UNIX is similar to the following code:

    var XML = < document >

    < item >

    < / item >

    < / document >;

    xml.appendChild (SomeClass.getXML ());

    SomeClass.getXML () is located in a file .as using type line breaks Windows and is similar to the following:

    public function getXML (): XML

    {

    var moreXML:XML = < anotherElement >

    < childElement >

    < / childElement >

    < / anotherElement >;

    Return moreXML;

    }

    When the XML object is serialized and written to a file on a Windows computer, it looks like this:

    < document >

    < item >

    < / item >

    < anotherElement >

    < childElement >

    < / childElement >

    < / anotherElement > < / document >

    Line for all outside anotherElement breaks are of the form \r\n. Line breaks it contains are of the form \r\r\n, causing thus the empty lines. I'm guessing that the odd line breaks are the cause of the strange setting indented, as well. None of these problems occur when XML is added to the xml file .as that employees style UNIX line breaks.

    Is it possible to force the Flash Builder to use UNIX on Windows style line breaks? Otherwise, there are relatively specific to this problem solutions? Thank you!

    Section clarified

    I found a setting to force a certain style of line breaks: window-> Preferences-> General-> Workspace (delimiter line of file new text). The XML serializes as planned today.

  • Different control of Page Apex element formatting

    Hi all

    I am aware that it is very very dump question and well silly but...!

    I tried to format n align the link below to watch good and attractive, if anyone can help with links of good example that would be great.

    [http://apex.oracle.com/pls/otn/f?p=16569:18]

    Or if someone can show me examples of different ways to format in alignment.


    Thank you


    Deep

    Published by: user11086173 on May 20, 2009 03:36

    Hi Jim,.

    It is not actually a 'feature' Apex or 'function' - not to put disabled issues is actually a browser thing.

    Using an HTML button is insufficient - it depends if #LINK # is illustrated in the model of button. If there is, especially if it is in the HREF attribute, it would probably cause problems that he would be replaced by the doSubmit() function call. That's why I use a model of separate button specifically for the execution of the javascript calls. Ideally, what you want, it's your button attributes to insert in an A tag and its HREF attribute to be set on ' # '.

    Andy

  • simulation of the same in different versions of multisim circuit design give different results

    version of Multisim 10.0, PATTERN16T GIVES RESULTS on... DISPLAYSA2A20000A2A20000AAAA0000AAAA0000...

    MULTISIM 10.1 VERISION, PATTERN16T RESULTS ON

    POSTER A3A30000A3A30000A3A30000...

    EACH PROGRAM MULTISIM, USE THE SAME CIRCUIT FOR ANALYSIS.

    MULTISIM 10.0 VERSION GIVES A CORRECT RESULT.

    YOU MAY NEED TO CHECK THE NEW VERSION OF THIS PROBLEM

    WITH THE VERSION OF MULTISIM 10.0.

    RICHARD RUHL

    Hello

    Could you please attach your additional troubleshooting circuits? What is your operating system?

    Kind regards

  • Add background with different controls pictures?

    Hi all

    I want to add backgroud image for my application, as it is common to all my screen.

    Also, when this screen is extended by other classes it should automatically add the background.

    My screen can have images of list, list box, the tabs... basically anything and have event listeners.

    Any code snippet will be very useful.

    Thank you for your help in advance.

    Solved

  • SSO - move the user to a different OU breaks SSO

    Hey all,.

    Have been using vCenter 5.1 with SSO for about 6 months now without problem.  Today although I tested some new changes GPO I have to do and realized that my users were still in the default users folder in AD, so I can't apply user group policy objects.  Not a biggy so I created a new ORGANIZATIONAL unit and myself moved in a new Admin UA and created a test user in one OU to new users, and so far everything seemed fine, until I tried to connect to my vSphere Client.

    Now when I log on with Windows credentials I can not connect as it says wrong user or password.

    When I look at the SSO settings for my Active Directory identity Source I realized its because I pointed it to the CN = Users, DC = MyDomain, DC = local but users I just moved on now do not work.  So my question is, I have to create another source of identity for my new ORGANIZATION unit and for each of them have so many Sources of identity for CN = Admins, DC = MyDomain, DC = local and CN = NewUsers, DC = MyDomain, DC = local or I'd be better to just go with something like DC = MyDomain, DC = local for the unique name of base in a source of unique identity?

    And if I created an OU below or the source of identity SSO drop multi-level Yes?


    Thank you

    Andy

    I use my configuration, DC = MyDomain, DC = com and it works

    Concerning

    Girish

Maybe you are looking for

  • audioContext will not play until that discharge of the page

    Hi, I'm developing a Web site that uses as the main mechanism audioContext for audio playback.While the site works with chrome/safari and opera, I struggle to do audio playback smoothly in firefox on the desktop and android 26. The problem is that th

  • Help password Bios Bypass. (G62)

    Hello, my name is Richard thorne kalmbach I am a student at the College (vocational technical school) of the Charter and gave me the task to bypass this bios password. I opened the back to see if I can find visually the CMOS chip for resetting, but i

  • HP Deskjet 3520 scanning

    Hi everyone, any ideas on how to make 3520 to straighten and automatic cutting scanned images? Could not find these parameters anywhere in my software of scans of 3520

  • Windows Update continues to install the same update over and over again

    Windows Update will continue to install the same update again and again for about a week now. He always says the update was installed successfully but in 2 minutes windows update wants to install the same update again. I went directly to Microsoft to

  • Q5 - BBM blackBerry battery drain

    Dear users of Blackberry, I bought a Q5 3 weeks. I've never used BBM, just connect to the app (but never sent any message, no contact,...). However, according to the monitor of the device, BBM is consuming more than 45% of my battery and download sev