A script-enabled browser is required for this page to function properly.

<groupAbove> XML tag

The <groupAbove> tag delimits a master/detail style within a section of the report’s layout. The master records are placed above the detail records. If you use the <groupAbove>tag, then you must also nest a <group> tag to identify the master group as well as <field> tags to list the fields you want to include in the group above layout.

Syntax

<groupAbove
  name="style_name">
  <group>
    master_group_content
  </group>
  detail_group_content
</groupAbove>

Example

The following example shows a segment of an XML report definition that defines a section with a <groupAbove>layout inside of it:

<section name="main">
  <groupAbove name="m_emp">
    <labelAttribute font="Arial" fontSize="10" 
      fontStyle="bold"/>
    <group>
      <field name="f_deptno" source="deptno" 
        label="Department "
        font="Arial" fontSize="10"/>
      <field name="f_sumsal" 
        label="Total Salary" source="sumsal"
        textColor="red" font="Arial" 
        fontSize="10" fontStyle="bold">
        <labelAttribute font="Arial" fontSize="10" 
          fontStyle="bold" textColor="red"/>
      </field>
    </group>
   <field name="f_ename" source="ename" 
     label="Name" font="Arial" fontSize="10"/>
   <field name="f_sal" source="sal" 
     label="Salary" font="Arial" fontSize="10"/>
  </groupAbove>
</section>

See also

About XML in reports

Oracle Reports XML tags