<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="5.2.3" DotMatrixReport="false" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="پيش فرض" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="42737/036553287" ReportOptions.Description.Text="" ReportOptions.LastChange="42737/7073244444" ScriptLanguage="C++Script" ScriptText.Text="int linex=0;  &#13;&#10;void qr1OnPreviewClick(TfrxView Sender, TMouseButton Button, int Shift, bool &#38;Modified)&#13;&#10;{&#13;&#10;                                                        &#13;&#10;}&#13;&#10;&#13;&#10;void qr1OnBeforePrint(TfrxComponent Sender)&#13;&#10;{&#13;&#10;}&#13;&#10;                   &#13;&#10;void Memo13OnBeforePrint(TfrxComponent Sender)&#13;&#10;{&#13;&#10;  linex++;&#13;&#10;}&#13;&#10;&#13;&#10;{&#13;&#10;&#13;&#10;}">
  <Datasets>
    <item DataSet="frxDBDataset1" DataSetName="P"/>
    <item DataSet="frxDBDataset2" DataSetName="Q1"/>
    <item DataSet="frxDBDataset3" DataSetName="Q2"/>
  </Datasets>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
  <TfrxReportPage Name="Page1" Orientation="poLandscape" PaperWidth="297" PaperHeight="210" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="0" Left="0" Top="147/40167" Width="1046/92981" ColumnWidth="0" ColumnGap="0" DataSet="frxDBDataset2" DataSetName="Q1" RowCount="0"/>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="0" Left="0" Top="124/72449" Width="1046/92981" Condition="Q1.&#34;fnum&#34;"/>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="18/89765" Left="0" Top="170/07885" Width="1046/92981" Stretched="true">
      <TfrxMemoView Name="Q1name_kala" Left="313/70099" Top="0" Width="68/03154" Height="18/89765" StretchMode="smMaxHeight" DataField="cod_s" DataSet="frxDBDataset2" DataSetName="Q1" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haRight" ParentFont="false" Text="[Q1.&#34;cod_s&#34;]"/>
      <TfrxMemoView Name="Memo3" Left="0" Top="0" Width="94/48825" Height="18/89765" StretchMode="smMaxHeight" DataField="sh_mobail" DataSet="frxDBDataset2" DataSetName="Q1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haRight" HideZeros="true" ParentFont="false" Text="[Q1.&#34;sh_mobail&#34;]"/>
      <TfrxMemoView Name="Memo4" Left="94/48825" Top="0" Width="170/07885" Height="18/89765" StretchMode="smMaxHeight" DataSet="frxDBDataset2" DataSetName="Q1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haRight" ParentFont="false" Text="[Q1.&#34;Adres_moshtare&#34;] [Q1.&#34;_a_&#34;]"/>
      <TfrxMemoView Name="Q1fac_num" Left="616/06339" Top="0" Width="64/25201" Height="18/89765" StretchMode="smMaxHeight" DataField="fnum" DataSet="frxDBDataset2" DataSetName="Q1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haCenter" ParentFont="false" Text="[Q1.&#34;fnum&#34;]"/>
      <TfrxMemoView Name="Memo2" Left="540/47279" Top="1/38777878078145E-17" Width="75/5906" Height="18/89765" StretchMode="smMaxHeight" DataField="dat" DataSet="frxDBDataset2" DataSetName="Q1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haCenter" ParentFont="false" Text="[Q1.&#34;dat&#34;]"/>
      <TfrxMemoView Name="Q1name_hesab" Left="381/73253" Top="1/38777878078145E-17" Width="158/74026" Height="18/89765" StretchMode="smMaxHeight" DataField="nam_s" DataSet="frxDBDataset2" DataSetName="Q1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Fill.BackColor="-16777201" HAlign="haRight" ParentFont="false" Text="[Q1.&#34;nam_s&#34;]"/>
      <TfrxMemoView Name="Memo13" Left="680/3154" Top="0" Width="37/7953" Height="18/89765" OnBeforePrint="Memo13OnBeforePrint" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haRight" ParentFont="false" Text="[linex]"/>
      <TfrxMemoView Name="Memo15" Left="264/5671" Top="0" Width="49/13389" Height="18/89765" StretchMode="smMaxHeight" DataSet="frxDBDataset2" DataSetName="Q1" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Fill.BackColor="15790320" HAlign="haCenter" ParentFont="false" Text="[SUM(&#60;Q1.&#34;ted&#34;&#62;)]"/>
    </TfrxGroupFooter>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="45/35436" Left="0" Top="18/89765" Width="1046/92981">
      <TfrxMemoView Name="Memo18" Align="baCenter" Left="413/858535" Top="0" Width="219/21274" Height="26/45671" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="Arial" Font.Style="1" Fill.BackColor="16777215" HAlign="haCenter" ParentFont="false" Text="گزارش از فروش پیش فاکتورها"/>
      <TfrxMemoView Name="Memo5" Left="616/06339" Top="26/45671" Width="64/25201" Height="18/89765" DataSet="frxDBDataset2" DataSetName="Q1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" Fill.BackColor="14211288" HAlign="haCenter" ParentFont="false" Text="شماره"/>
      <TfrxMemoView Name="Memo6" Left="540/47279" Top="26/45671" Width="75/5906" Height="18/89765" DataSet="frxDBDataset2" DataSetName="Q1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" Fill.BackColor="14211288" HAlign="haCenter" ParentFont="false" Text="تاریخ"/>
      <TfrxMemoView Name="Memo7" Left="313/70099" Top="26/45671" Width="68/03154" Height="18/89765" DataSet="frxDBDataset2" DataSetName="Q1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" Fill.BackColor="14211288" HAlign="haCenter" ParentFont="false" Text="کد مشتری"/>
      <TfrxMemoView Name="Memo8" Left="264/5671" Top="26/45671" Width="49/13389" Height="18/89765" DataSet="frxDBDataset2" DataSetName="Q1" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" Fill.BackColor="14211288" HAlign="haCenter" ParentFont="false" Text="مقدار"/>
      <TfrxMemoView Name="Memo9" Left="94/48825" Top="26/45671" Width="170/07885" Height="18/89765" DataSet="frxDBDataset2" DataSetName="Q1" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" Fill.BackColor="14211288" HAlign="haCenter" ParentFont="false" Text="نشانی"/>
      <TfrxMemoView Name="Memo10" Left="0" Top="26/45671" Width="94/48825" Height="18/89765" DataSet="frxDBDataset2" DataSetName="Q1" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" Fill.BackColor="14211288" HAlign="haCenter" ParentFont="false" Text="تلفن"/>
      <TfrxMemoView Name="Memo11" Left="680/3154" Top="26/45671" Width="37/7953" Height="18/89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" Fill.BackColor="14211288" HAlign="haCenter" ParentFont="false" Text="ردیف"/>
      <TfrxMemoView Name="Memo12" Left="381/73253" Top="26/45671" Width="158/74026" Height="18/89765" DataSet="frxDBDataset2" DataSetName="Q1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" Fill.BackColor="14211288" HAlign="haCenter" ParentFont="false" Text="نام مشتری"/>
      <TfrxMemoView Name="Memo1" Left="593/38621" Top="3/77953" Width="113/3859" Height="18/89765" HAlign="haRight" Text="صفحه [Page#] از [TotalPages#]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
    </TfrxPageHeader>
    <TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="18/89765" Left="0" Top="211/65368" Width="1046/92981">
      <TfrxMemoView Name="Memo20" Left="143/62214" Top="0" Width="83/14966" Height="18/89765" DataSet="frxDBDataset2" DataSetName="Q1" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="16777215" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Fill.BackColor="0" HAlign="haRight" ParentFont="false" Text="[SUM(&#60;Q1.&#34;ted&#34;&#62;)]"/>
      <TfrxMemoView Name="Memo22" Left="226/7718" Top="0" Width="158/74026" Height="18/89765" DataSet="frxDBDataset2" DataSetName="Q1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" Fill.BackColor="12632256" HAlign="haCenter" ParentFont="false" Text="جمع کل اقلام                "/>
    </TfrxFooter>
    <TfrxMemoView Name="qr1" Left="117/16543" Top="362/83488" Width="464/88219" Height="147/40167" Visible="false" OnBeforePrint="qr1OnBeforePrint" OnPreviewClick="qr1OnPreviewClick" Text="Select * From Pish_f AS P,tb_shs AS S Where S.cod_s=P.shs AND P.atf=1&#13;&#10;Order by P.fnum"/>
  </TfrxReportPage>
</TfrxReport>
