<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="6.1.4" DotMatrixReport="0" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="167935" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="37871.9959574884" ReportOptions.Description.Text="This report shows how to use late object processing and print SUM in the group header bands with different groups levels." ReportOptions.LastChange="43280.3035306366" ScriptLanguage="PascalScript" ScriptText.Text="&#13;&#10;begin&#13;&#10;&#13;&#10;end.">
  <Datasets>
    <item DataSet="ReportData.QueryDS" DataSetName="Sales"/>
  </Datasets>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" Columns="1" ColumnWidth="210" ColumnPositions.Text="0" Frame.Typ="0" PrintOnPreviousPage="1" HGuides.Text="" VGuides.Text="">
    <TfrxPageFooter Name="Band1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22.67718" Left="0" Top="480.00031" Width="755.906">
      <TfrxMemoView Name="Memo5" AllowVectorExport="1" Left="3.77953" Top="3.77953000000002" Width="748.34694" Height="15.11812" Font.Color="0" Font.Height="-11" Font.Name="Arial" Frame.Typ="4" Frame.Width="2" HAlign="haRight" Memo.Text="[Page#]" ParentFont="0" Text="[Page#]"/>
    </TfrxPageFooter>
    <TfrxReportTitle Name="Band2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="50.67718" Left="0" Top="18.89765" Width="755.906">
      <TfrxMemoView Name="Memo6" AllowVectorExport="1" Left="3.77953" Top="3.77953" Width="748.34694" Height="22.67718" Font.Color="16777215" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="8421504" HAlign="haCenter" Memo.Text="Customers" ParentFont="0" VAlign="vaCenter" Text="Customers"/>
      <TfrxMemoView Name="Memo26" AllowVectorExport="1" Left="3.77953" Top="26.45671" Width="748.34694" Height="22.67718" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Color="0" Font.Height="-16" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="4" HAlign="haRight" Memo.Text="Invoice total for all customers: [Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;, Band6)]" ParentFont="0" Processing.ProcessAt="paReportPageFinished" Text="Invoice total for all customers: [Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;, Band6)]"/>
    </TfrxReportTitle>
    <TfrxGroupHeader Name="Band4" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="45.35436" Left="0" Top="128.50402" Width="755.906" Condition="Sales.&#34;Cust No&#34;">
      <TfrxMemoView Name="Memo17" AllowVectorExport="1" Left="3.77953" Top="0" Width="283.46475" Height="18.89765" Font.Color="16777215" Font.Height="-13" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="5" Fill.BackColor="128" GapX="6" Memo.Text="Company" ParentFont="0" VAlign="vaCenter" Text="Company"/>
      <TfrxMemoView Name="Memo19" AllowVectorExport="1" Left="287.24428" Top="0" Width="166.29932" Height="18.89765" Font.Color="16777215" Font.Height="-13" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="4" Fill.BackColor="128" Memo.Text="Phone" ParentFont="0" VAlign="vaCenter" Text="Phone"/>
      <TfrxMemoView Name="Memo20" AllowVectorExport="1" Left="453.5436" Top="0" Width="120.94496" Height="18.89765" Font.Color="16777215" Font.Height="-13" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="4" Fill.BackColor="128" Memo.Text="Fax" ParentFont="0" VAlign="vaCenter" Text="Fax"/>
      <TfrxMemoView Name="Memo21" AllowVectorExport="1" Left="287.24428" Top="18.89765" Width="166.29932" Height="26.45671" Font.Color="16777215" Font.Height="-19" Font.Name="Arial" Font.Style="2" Frame.Color="12632256" Frame.Typ="0" Fill.BackColor="128" Memo.Text="[Sales.&#34;Phone&#34;]" ParentFont="0" VAlign="vaCenter" Text="[Sales.&#34;Phone&#34;]"/>
      <TfrxMemoView Name="Memo22" AllowVectorExport="1" Left="453.5436" Top="18.89765" Width="120.94496" Height="26.45671" Font.Color="16777215" Font.Height="-19" Font.Name="Arial" Font.Style="2" Frame.Color="12632256" Frame.Typ="0" Fill.BackColor="128" Memo.Text="[Sales.&#34;FAX&#34;]" ParentFont="0" VAlign="vaCenter" Text="[Sales.&#34;FAX&#34;]"/>
      <TfrxMemoView Name="Memo18" AllowVectorExport="1" Left="3.77953" Top="18.89765" Width="283.46475" Height="26.45671" Font.Color="16777215" Font.Height="-19" Font.Name="Arial" Font.Style="2" Frame.Color="12632256" Frame.Typ="1" Fill.BackColor="128" GapX="6" Memo.Text="[Sales.&#34;Company&#34;]" ParentFont="0" VAlign="vaCenter" Text="[Sales.&#34;Company&#34;]"/>
      <TfrxMemoView Name="Memo7" AllowVectorExport="1" Left="574.48856" Top="0" Width="177.63791" Height="45.35436" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Color="16777215" Font.Height="-19" Font.Name="Arial" Font.Style="2" Frame.Color="12632256" Frame.Typ="6" Fill.BackColor="128" HAlign="haCenter" Memo.Text="[Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;, Band6)]" ParentFont="0" Processing.ProcessAt="paGroupFinished" VAlign="vaCenter" Text="[Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;, Band6)]"/>
    </TfrxGroupHeader>
    <TfrxGroupHeader Name="Band5" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="37.79527559" Left="0" Top="196.53556" Width="755.906" Condition="Sales.&#34;Order No&#34;">
      <TfrxMemoView Name="Memo31" AllowVectorExport="1" Left="3.77953" Top="15.11812" Width="748.34694" Height="22.67718" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Color="12632256" Frame.Typ="2" Fill.BackColor="15000804" Memo.Text="" ParentFont="0" Text=""/>
      <TfrxMemoView Name="Memo3" AllowVectorExport="1" Left="3.77953" Top="18.89765" Width="52.91342" Height="18.89765" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Color="12632256" Frame.Typ="1" Memo.Text="" ParentFont="0" Text=""/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="1" Left="3.77953" Top="0" Width="124.72449" Height="18.89765" Font.Color="0" Font.Height="-13" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="1" Fill.BackColor="15000804" GapX="4" Memo.Text="Order No [Sales.&#34;Order No&#34;]" ParentFont="0" Text="Order No [Sales.&#34;Order No&#34;]"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="1" Left="128.50402" Top="0" Width="279.68522" Height="18.89765" Font.Color="0" Font.Height="-13" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="0" Fill.BackColor="15000804" Memo.Text="Date [Sales.&#34;Sale Date&#34;]" ParentFont="0" Text="Date [Sales.&#34;Sale Date&#34;]"/>
      <TfrxMemoView Name="Memo10" AllowVectorExport="1" Left="56.69295" Top="18.89765" Width="71.81107" Height="18.89765" Font.Color="0" Font.Height="-11" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="0" Fill.BackColor="15790320" HAlign="haCenter" Memo.Text="Part" ParentFont="0" Text="Part"/>
      <TfrxMemoView Name="Memo11" AllowVectorExport="1" Left="128.50402" Top="18.89765" Width="279.68522" Height="18.89765" Font.Color="0" Font.Height="-11" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="0" Fill.BackColor="15790320" HAlign="haCenter" Memo.Text="Description" ParentFont="0" Text="Description"/>
      <TfrxMemoView Name="Memo12" AllowVectorExport="1" Left="408.18924" Top="18.89765" Width="83.14966" Height="18.89765" Font.Color="0" Font.Height="-11" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="0" Fill.BackColor="15790320" HAlign="haCenter" Memo.Text="Price" ParentFont="0" Text="Price"/>
      <TfrxMemoView Name="Memo13" AllowVectorExport="1" Left="491.3389" Top="18.89765" Width="60.47248" Height="18.89765" Font.Color="0" Font.Height="-11" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="0" Fill.BackColor="15790320" HAlign="haCenter" Memo.Text="Qty" ParentFont="0" Text="Qty"/>
      <TfrxMemoView Name="Memo4" AllowVectorExport="1" Left="616.06339" Top="0" Width="136.06308" Height="37.7953" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Color="0" Font.Height="-13" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="2" Fill.BackColor="15000804" Memo.Text=" from [Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;, Band6)]" ParentFont="0" Processing.ProcessAt="paGroupFinished" Processing.GroupLevel="1" Text=" from [Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;, Band6)]"/>
      <TfrxMemoView Name="Memo27" AllowVectorExport="1" Left="408.18924" Top="0" Width="207.87415" Height="18.89765" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Color="0" Font.Height="-13" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="0" Fill.BackColor="15000804" HAlign="haRight" Memo.Text="Total this order: [Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;, Band6)]" ParentFont="0" Processing.ProcessAt="paGroupFinished" Text="Total this order: [Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;, Band6)]"/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="Band6" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="18.89765" Left="0" Top="257.00804" Width="755.906" Columns="1" ColumnWidth="200" ColumnGap="20" DataSet="ReportData.QueryDS" DataSetName="Sales" RowCount="0">
      <TfrxMemoView Name="Memo2" AllowVectorExport="1" Left="3.77953" Top="0" Width="52.91342" Height="18.89765" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Color="12632256" Frame.Typ="1" Memo.Text="" ParentFont="0" Text=""/>
      <TfrxMemoView Name="Memo23" AllowVectorExport="1" Left="56.69295" Top="0" Width="71.81107" Height="18.89765" DataField="Part No" DataSet="ReportData.QueryDS" DataSetName="Sales" Font.Color="0" Font.Height="-11" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="0" HAlign="haCenter" Memo.Text="[Sales.&#34;Part No&#34;]" ParentFont="0" Text="[Sales.&#34;Part No&#34;]"/>
      <TfrxMemoView Name="Memo24" AllowVectorExport="1" Left="128.50402" Top="0" Width="279.68522" Height="18.89765" DataField="Description" DataSet="ReportData.QueryDS" DataSetName="Sales" Font.Color="0" Font.Height="-11" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="0" Memo.Text="[Sales.&#34;Description&#34;]" ParentFont="0" Text="[Sales.&#34;Description&#34;]"/>
      <TfrxMemoView Name="Memo25" AllowVectorExport="1" Left="408.18924" Top="0" Width="83.14966" Height="18.89765" OnContentChanged="Memo25OnContentChanged" DataField="List Price" DataSet="ReportData.QueryDS" DataSetName="Sales" DisplayFormat.FormatStr="%2.2m" Font.Color="0" Font.Height="-11" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="0" HAlign="haRight" Memo.Text="[Sales.&#34;List Price&#34;]" ParentFont="0" Text="[Sales.&#34;List Price&#34;]"/>
      <TfrxMemoView Name="Memo29" AllowVectorExport="1" Left="491.3389" Top="0" Width="60.47248" Height="18.89765" OnContentChanged="Memo25OnContentChanged" DataField="Qty" DataSet="ReportData.QueryDS" DataSetName="Sales" DisplayFormat.FormatStr="%2.2m" Font.Color="0" Font.Height="-11" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="0" HAlign="haRight" Memo.Text="[Sales.&#34;Qty&#34;]" ParentFont="0" Text="[Sales.&#34;Qty&#34;]"/>
      <TfrxMemoView Name="Memo30" AllowVectorExport="1" Left="642.5201" Top="0" Width="109.60637" Height="18.89765" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Color="12632256" Frame.Typ="2" Memo.Text="" ParentFont="0" Text=""/>
    </TfrxMasterData>
    <TfrxGroupFooter Name="Band7" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="30.23624" Left="0" Top="343.93723" Width="755.906">
      <TfrxMemoView Name="Memo28" AllowVectorExport="1" Left="3.77953" Top="0" Width="748.34694" Height="18.89765" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Color="0" Font.Height="-13" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="11" Fill.BackColor="12632256" Memo.Text="Total sales this customer: [Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;, Band6)]" ParentFont="0" Text="Total sales this customer: [Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;, Band6)]"/>
    </TfrxGroupFooter>
    <TfrxGroupFooter Name="Band8" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22.67718" Left="0" Top="298.58287" Width="755.906">
      <TfrxMemoView Name="Memo1" AllowVectorExport="1" Left="3.77953" Top="0" Width="52.91342" Height="22.67718" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Color="12632256" Frame.Typ="1" Memo.Text="" ParentFont="0" Text=""/>
      <TfrxMemoView Name="Memo15" AllowVectorExport="1" Left="56.69295" Top="0" Width="585.82715" Height="22.67718" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Color="128" Font.Height="-13" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="4" HAlign="haRight" Memo.Text="Total this order: [Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;, Band6)]" ParentFont="0" Text="Total this order: [Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;, Band6)]"/>
      <TfrxMemoView Name="Memo33" AllowVectorExport="1" Left="642.5201" Top="0" Width="109.60637" Height="22.67718" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Color="12632256" Frame.Typ="2" Memo.Text="" ParentFont="0" Text=""/>
    </TfrxGroupFooter>
    <TfrxReportSummary Name="ReportSummary1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22.67718" Left="0" Top="434.64595" Visible="0" Width="755.906">
      <TfrxMemoView Name="Memo14" AllowVectorExport="1" Left="4" Top="0" Width="749.82715" Height="22.67718" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Color="128" Font.Height="-13" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="4" HAlign="haRight" Memo.Text="Total this order: [Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;, Band6)]" ParentFont="0" Text="Total this order: [Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;, Band6)]"/>
    </TfrxReportSummary>
  </TfrxReportPage>
</TfrxReport>
