<?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="Demonstrates how to create interactive report that will display the detailed report when you click an item in the preview window. To create such report:&#13;&#10;&#13;&#10;- setup the &#34;Hyperlink&#34; property of the clickable object:&#13;&#10;&#13;&#10;- set the &#34;Kind&#34; to &#34;Report page&#34;;&#13;&#10;- set the &#34;Page Name&#34; to the name of the report page that contains the detail report;&#13;&#10;- set &#34;Report variable&#34; to the variable's name of the that will be set to hyperlink's value - &#34;SelectedCompany&#34;;&#13;&#10;- set &#34;Expression&#34; to &#60;Sales.&#34;Company&#34;&#62;.&#13;&#10;&#13;&#10;Now you should filter out the detail page records. Use DataBand.Filter property:&#13;&#10;&#60;Sales.&#34;Company&#34;&#62; = &#60;SelectedCompany&#62;" ReportOptions.LastChange="43282.527403125" ScriptLanguage="PascalScript" ScriptText.Text="var&#13;&#10;  oldColor: TColor;&#13;&#10;procedure Memo18OnMouseEnter(Sender: TfrxView; var Modified: Boolean);&#13;&#10;begin&#13;&#10;  oldColor := TfrxMemoView(Sender).Color;&#13;&#10;  TfrxMemoView(Sender).Color := clRed;&#13;&#10;  Modified := True;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Memo18OnMouseLeave(Sender: TfrxView; var Modified: Boolean);&#13;&#10;begin&#13;&#10;  TfrxMemoView(Sender).Color := oldColor;&#13;&#10;  Modified := True;&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end.">
  <Datasets>
    <item DataSet="ReportData.QueryDS" DataSetName="Sales"/>
  </Datasets>
  <Variables>
    <item Name=" New Category1" PropData="0556616C756500"/>
    <item Name="SelectedCompany" PropData="0556616C756500"/>
  </Variables>
  <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="283.46475" Width="755.906">
      <TfrxMemoView Name="Memo5" AllowVectorExport="1" Left="3.77953" Top="3.77953000000002" Width="710.55164" 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="30.23624" Left="0" Top="18.89765" Width="755.906">
      <TfrxMemoView Name="Memo6" AllowVectorExport="1" Left="3.77953" Top="3.77953" Width="710.55164" 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 (clickable!)" ParentFont="0" VAlign="vaCenter" Text="Customers (clickable!)"/>
    </TfrxReportTitle>
    <TfrxPageHeader Name="Band3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22.67718" Left="0" Top="71.81107" Width="755.906" PrintOnFirstPage="0">
      <TfrxMemoView Name="Memo16" AllowVectorExport="1" Left="3.77953" Top="3.77952999999999" Width="710.55164" Height="15.11812" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="4" Frame.Width="2" Memo.Text="" ParentFont="0" Text=""/>
    </TfrxPageHeader>
    <TfrxGroupHeader Name="Band4" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="26.45671" Left="0" Top="154.96073" Width="755.906" Condition="Sales.&#34;Cust No&#34;">
      <TfrxMemoView Name="Memo21" AllowVectorExport="1" Left="291.02381" Top="0" Width="177.63791" Height="26.45671" Font.Color="0" Font.Height="-13" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="0" Memo.Text="[Sales.&#34;Phone&#34;]" ParentFont="0" VAlign="vaCenter" Text="[Sales.&#34;Phone&#34;]"/>
      <TfrxMemoView Name="Memo22" AllowVectorExport="1" Left="468.66172" Top="0" Width="245.66945" Height="26.45671" Font.Color="0" Font.Height="-13" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="0" Memo.Text="[Sales.&#34;FAX&#34;]" ParentFont="0" VAlign="vaCenter" Text="[Sales.&#34;FAX&#34;]"/>
      <TfrxMemoView Name="Memo18" AllowVectorExport="1" Left="3.77953" Top="0" Width="287.24428" Height="26.45671" OnMouseEnter="Memo18OnMouseEnter" OnMouseLeave="Memo18OnMouseLeave" Hyperlink.Kind="hkDetailPage" Hyperlink.DetailPage="Page2" Hyperlink.Expression="&#60;Sales.&#34;Company&#34;&#62;" Hyperlink.ReportVariable="SelectedCompany" Cursor="-21" Font.CharSet="204" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Pitch="fpVariable" Font.Quality="fqDraft" Font.Style="4" Frame.Color="12632256" Frame.Typ="0" GapX="6" Memo.Text="[Sales.&#34;Company&#34;]" ParentFont="0" VAlign="vaCenter" Text="[Sales.&#34;Company&#34;]"/>
    </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="204.09462" Visible="0" Width="755.906" Columns="1" ColumnWidth="200" ColumnGap="20" DataSet="ReportData.QueryDS" DataSetName="Sales" RowCount="0"/>
  </TfrxReportPage>
  <TfrxReportPage Name="Page2" Visible="0" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" HGuides.Text="" VGuides.Text="">
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="45.35436" Left="0" Top="102.04731" Width="718.1107" Condition="Sales.&#34;Cust No&#34;">
      <TfrxMemoView Name="Memo30" AllowVectorExport="1" Left="3.77953" Top="0" Width="287.24428" 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="Memo34" AllowVectorExport="1" Left="291.02381" Top="0" Width="177.63791" 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="Memo35" AllowVectorExport="1" Left="468.66172" Top="0" Width="245.66945" Height="18.89765" Font.Color="16777215" Font.Height="-13" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="6" Fill.BackColor="128" Memo.Text="Fax" ParentFont="0" VAlign="vaCenter" Text="Fax"/>
      <TfrxMemoView Name="Memo36" AllowVectorExport="1" Left="291.02381" Top="18.89765" Width="177.63791" 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="Memo37" AllowVectorExport="1" Left="468.66172" Top="18.89765" Width="245.66945" Height="26.45671" Font.Color="16777215" Font.Height="-19" Font.Name="Arial" Font.Style="2" Frame.Color="12632256" Frame.Typ="2" Fill.BackColor="128" Memo.Text="[Sales.&#34;FAX&#34;]" ParentFont="0" VAlign="vaCenter" Text="[Sales.&#34;FAX&#34;]"/>
      <TfrxMemoView Name="Memo38" AllowVectorExport="1" Left="3.77953" Top="18.89765" Width="287.24428" 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;]"/>
    </TfrxGroupHeader>
    <TfrxGroupHeader Name="GroupHeader2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="37.7953" Left="0" Top="170.07885" Width="718.1107" Condition="Sales.&#34;Order No&#34;">
      <TfrxMemoView Name="Memo39" 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="Memo40" AllowVectorExport="1" Left="3.77953" Top="0" Width="124.72449" Height="18.89765" Frame.Color="12632256" Frame.Typ="1" Fill.BackColor="12632256" GapX="4" Memo.Text="Order No [Sales.&#34;Order No&#34;]" Text="Order No [Sales.&#34;Order No&#34;]"/>
      <TfrxMemoView Name="Memo41" AllowVectorExport="1" Left="128.50402" Top="0" Width="585.82715" Height="18.89765" Frame.Color="12632256" Frame.Typ="2" Fill.BackColor="12632256" Memo.Text="Date [Sales.&#34;Sale Date&#34;]" Text="Date [Sales.&#34;Sale Date&#34;]"/>
      <TfrxMemoView Name="Memo42" 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" HAlign="haCenter" Memo.Text="Part" ParentFont="0" Text="Part"/>
      <TfrxMemoView Name="Memo43" 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" HAlign="haCenter" Memo.Text="Description" ParentFont="0" Text="Description"/>
      <TfrxMemoView Name="Memo44" 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" HAlign="haCenter" Memo.Text="Price" ParentFont="0" Text="Price"/>
      <TfrxMemoView Name="Memo45" 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" HAlign="haCenter" Memo.Text="Qty" ParentFont="0" Text="Qty"/>
      <TfrxMemoView Name="Memo46" AllowVectorExport="1" Left="551.81138" Top="18.89765" Width="90.70872" Height="18.89765" Font.Color="0" Font.Height="-11" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="0" HAlign="haCenter" Memo.Text="Total" ParentFont="0" Text="Total"/>
      <TfrxMemoView Name="Memo47" AllowVectorExport="1" Left="642.5201" Top="18.89765" Width="71.81107" 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=""/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="18.89765" Left="0" Top="230.55133" Width="718.1107" Columns="1" ColumnWidth="200" ColumnGap="20" DataSet="ReportData.QueryDS" DataSetName="Sales" Filter="&#60;Sales.&#34;Company&#34;&#62; = &#60;SelectedCompany&#62;" RowCount="0">
      <TfrxMemoView Name="Memo48" 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="Memo49" 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="Memo50" 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="Memo51" AllowVectorExport="1" Left="408.18924" Top="0" Width="83.14966" Height="18.89765" 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="Memo52" AllowVectorExport="1" Left="491.3389" Top="0" Width="60.47248" Height="18.89765" DataField="Qty" 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;Qty&#34;]" ParentFont="0" Text="[Sales.&#34;Qty&#34;]"/>
      <TfrxMemoView Name="Memo53" AllowVectorExport="1" Left="551.81138" Top="0" Width="90.70872" Height="18.89765" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Color="0" Font.Height="-11" Font.Name="Arial" Frame.Color="12632256" Frame.Typ="0" HAlign="haRight" Memo.Text="[&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;]" ParentFont="0" Text="[&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;]"/>
      <TfrxMemoView Name="Memo54" AllowVectorExport="1" Left="642.5201" Top="0" Width="71.81107" 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="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="30.23624" Left="0" Top="317.48052" Width="718.1107">
      <TfrxMemoView Name="Memo55" AllowVectorExport="1" Left="3.77953" Top="0" Width="710.55164" Height="18.89765" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" 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;)]" Text="Total sales this customer: [Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;)]"/>
    </TfrxGroupFooter>
    <TfrxGroupFooter Name="GroupFooter2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22.67718" Left="0" Top="272.12616" Width="718.1107">
      <TfrxMemoView Name="Memo56" 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="Memo57" 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;)]" ParentFont="0" Text="Total this order: [Sum(&#60;Sales.&#34;Qty&#34;&#62;*&#60;Sales.&#34;List Price&#34;&#62;)]"/>
      <TfrxMemoView Name="Memo58" AllowVectorExport="1" Left="642.5201" Top="0" Width="71.81107" 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>
    <TfrxReportTitle Name="ReportTitle1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22.67718" Left="0" Top="18.89765" Visible="0" Width="718.1107"/>
  </TfrxReportPage>
</TfrxReport>
