<group>
XML tagThe <group>
tag delimits
the master group in a master-detail style layout. The <group>
tag can only be nested within a <groupLeft>
,
<groupAbove>
,
or <matrix>
tag. You must nest <field
>
tags within the <group>
tag to list the fields you want to include in the master group.
<group>
master_group_content
</group>
The following example shows a section in the layout of a report definition that defines fields within two break groups for a matrix report.
<group>
<field name="f_quarter" source="quarter"
label="Quarter:"
font="Arial" fontSize="8"
formatTrigger="F_quarterFormatTrigger">
<labelAttribute font="Arial" fontSize="8"
fontStyle="bold" textColor="black"/>
</field>
<field name="f_SumTOTAL_SALESPerQUARTER"
source="SumTOTAL_SALESPerQUARTER"
label="Qtrly: Sales: " font="Arial"
fontSize="8" fontStyle="bold"
formatMask="LNNNGNNNGNNNGNN0D00">
<labelAttribute font="Arial" fontSize="8"
fontStyle="bold" textColor="black"/>
</field>
<field name="f_SumTOTAL_COSTPerQUARTER"
source="SumTOTAL_COSTPerQUARTER"
label="Costs: " font="Arial" fontSize="8"
fontStyle="bold"
formatMask="LNNNGNNNGNNNGNN0D00">
<labelAttribute font="Arial" fontSize="8"
fontStyle="bold" textColor="black"/>
</field>
<field name="f_SumTOTAL_PROFITPerQUARTER"
source="SumTOTAL_PROFITPerQUARTER"
label="Profits: " font="Arial"
fontSize="8" fontStyle="bold"
formatMask="LNNNGNNNGNNNGNN0D00">
<labelAttribute font="Arial" fontSize="8"
fontStyle="bold" textColor="black"/>
</field>
</group>
<group>
<field name="f_state" source="state"
label="State:"
font="Arial" fontSize="8">
<labelAttribute font="Arial" fontSize="8"
fontStyle="bold" textColor="black"/>
</field>
</group>
Copyright © 1984, 2005, Oracle. All rights reserved.