<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="3.24.6" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="1776" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" ReportOptions.CreateDate="39057,5831791898" ReportOptions.Description.Text="" ReportOptions.LastChange="39491,6000117245" ScriptLanguage="PascalScript" ScriptText.Text="procedure frxReportOnStartReport(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  cbxMonth.ItemIndex := MonthOf(Date) - 1;&#13;&#10;  if dlgMain.ShowModal &#60;&#62; mrOK then&#13;&#10;  begin&#13;&#10;    TableClient.ParamByName('BIRTHDATE').Value := 99;&#13;&#10;    StopReport;&#13;&#10;  end;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure btnOKOnClick(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if cbxOrder.ItemIndex = 1 then&#13;&#10;    TableClient.SQL.Strings[3] := 'ORDER BY UPPER(NAME), BIRTHDATE';&#13;&#10;  TableClient.Close;&#13;&#10;  TableClient.ParamByName('BIRTHDATE').Value := cbxMonth.ItemIndex + 1;&#13;&#10;  TableClient.Open;&#13;&#10;  dlgMain.ModalResult := mrOK;&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end." OnStartReport="frxReportOnStartReport" PropData="044C656674023403546F70026C08446174617365747301010C3700000020446174615365743D22667278446174614865616465722220446174615365744E616D653D22C7E0E3EEEBEEE2EEEA20EEF2F7E5F2E02200010C2C00000020446174615365743D225461626C65436C69656E742220446174615365744E616D653D22CAEBE8E5EDF2FB220000095661726961626C65730100055374796C650100">
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxReportTitle Name="ReportTitle1" Height="26,45671" Left="0" Top="18,89765" Width="718,1107">
      <TfrxMemoView Name="Memo2" Left="0" Top="0" Width="718,1107" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="[Заголовок отчета.&#34;Наименование отчета&#34;]"/>
    </TfrxReportTitle>
    <TfrxPageFooter Name="PageFooter1" Height="18,89765" Left="0" Top="275,90569" Width="718,1107">
      <TfrxMemoView Name="Memo20" Left="336,37817" Top="0" Width="120,94496" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[Date]"/>
      <TfrxMemoView Name="Memo21" Left="457,32313" Top="0" Width="102,04731" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[Time]"/>
      <TfrxMemoView Name="Memo22" Left="559,37044" Top="0" Width="158,74026" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Страница [Page#] из [TotalPages#]"/>
    </TfrxPageFooter>
    <TfrxPageHeader Name="PageHeader1" Height="18,89765" Left="0" Top="68,03154" Width="718,1107">
      <TfrxLineView Name="Line1" Left="0" Top="0" Width="0" Height="18,89765" Frame.Typ="1" Frame.Width="2"/>
      <TfrxLineView Name="Line7" Left="718,1107" Top="0" Width="0" Height="18,89765" Frame.Typ="1" Frame.Width="2"/>
      <TfrxLineView Name="Line9" Left="0" Top="18,89765" Width="718,1107" Height="0" Frame.Typ="4" Frame.Width="2"/>
      <TfrxMemoView Name="Memo5" Left="0" Top="0" Width="472,44125" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="7" HAlign="haCenter" ParentFont="False" Text="Ф. И. О."/>
      <TfrxMemoView Name="Memo6" Left="472,44125" Top="0" Width="143,62214" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="6" HAlign="haCenter" ParentFont="False" Text="Тел."/>
      <TfrxMemoView Name="Memo8" Left="616,06339" Top="0" Width="102,04731" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="6" HAlign="haCenter" ParentFont="False" Text="Дата рожд."/>
      <TfrxLineView Name="Line8" Left="0" Top="0" Width="718,1107" Height="0" Frame.Typ="4" Frame.Width="2"/>
    </TfrxPageHeader>
    <TfrxReportSummary Name="ReportSummary1" Height="22,67718" Left="0" Top="230,55133" Width="718,1107">
      <TfrxLineView Name="Line4" Left="0" Top="22,67718" Width="718,1107" Height="0" Frame.Typ="4" Frame.Width="2"/>
      <TfrxLineView Name="Line5" Left="718,1107" Top="0" Width="0" Height="22,67718" Frame.Typ="1" Frame.Width="2"/>
      <TfrxMemoView Name="Memo13" Left="0" Top="0" Width="616,06339" Height="22,67718" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="9" ParentFont="False" Text="Итого:"/>
      <TfrxLineView Name="Line3" Left="0" Top="0" Width="0" Height="22,67718" Frame.Typ="1" Frame.Width="2"/>
      <TfrxMemoView Name="Memo3" Left="616,06339" Top="0" Width="105,82684" Height="22,67718" Font.Charset="1" Font.Color="-16777208" Font.Height="-17" Font.Name="Arial" Font.Style="0" Frame.Typ="1" HAlign="haRight" ParentFont="False" Text="[COUNT(MasterData1)]  "/>
    </TfrxReportSummary>
    <TfrxIBXQuery Name="TableClient" UserName="" CloseDataSource="True" FieldAliases.Text="" SQL.Text="SELECT *&#13;&#10;FROM CLIENT&#13;&#10;WHERE EXTRACT(MONTH FROM BIRTHDATE) = :BIRTHDATE&#13;&#10;ORDER BY BIRTHDATE, UPPER(NAME)" PropData="0A506172616D657465727301010C26000000204E616D653D22424952544844415445222044617461547970653D226674496E7465676572220000"/>
    <TfrxMasterData Name="MasterData1" Height="22,67718" Left="0" Top="147,40167" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="TableClient" DataSetName="" PrintIfDetailEmpty="True" RowCount="0" Stretched="True">
      <TfrxMemoView Name="Memo1" Left="0" Top="0" Width="472,44125" Height="22,67718" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-17" Font.Name="Arial" Font.Style="0" Frame.Typ="13" ParentFont="False" VAlign="vaCenter" Text="[Клиенты.&#34;NAME&#34;]"/>
      <TfrxMemoView Name="Memo7" Left="472,44125" Top="0" Width="143,62214" Height="22,67718" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-17" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[Клиенты.&#34;TELEPHONE&#34;]"/>
      <TfrxMemoView Name="Memo9" Left="616,06339" Top="0" Width="102,04731" Height="22,67718" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-17" Font.Name="Arial" Font.Style="0" Frame.Typ="14" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[Клиенты.&#34;BIRTHDATE&#34;]"/>
      <TfrxLineView Name="Line2" Left="0" Top="0" Width="0" Height="22,67718" StretchMode="smMaxHeight" Frame.Typ="1" Frame.Width="2"/>
      <TfrxLineView Name="Line6" Left="718,1107" Top="0" Width="0" Height="22,67718" StretchMode="smMaxHeight" Frame.Typ="1" Frame.Width="2"/>
    </TfrxMasterData>
  </TfrxReportPage>
  <TfrxDialogPage Name="dlgMain" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Visible="False" BorderStyle="bsDialog" Caption=" " Height="138" Left="378" Top="221" Width="285">
    <TfrxComboBoxControl Name="cbxMonth" Left="104" Top="16" Width="145" Height="21" Color="-16777211" Items.Text="&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;" Style="csDropDownList" Text="" ItemIndex="0"/>
    <TfrxComboBoxControl Name="cbxOrder" Left="104" Top="44" Width="145" Height="21" Color="-16777211" Items.Text=" &#13;&#10;..." Style="csDropDownList" Text=" " ItemIndex="0"/>
    <TfrxButtonControl Name="btnOK" Left="52" Top="80" Width="75" Height="25" Caption="" Default="True" ModalResult="1" OnClick="btnOKOnClick"/>
    <TfrxButtonControl Name="btnCancel" Left="152" Top="80" Width="75" Height="25" Cancel="True" Caption="" ModalResult="2"/>
    <TfrxLabelControl Name="Label3" Left="8" Top="48" Width="80" Height="13" Caption=" :" Color="-16777201"/>
    <TfrxLabelControl Name="Label1" Left="28" Top="20" Width="35" Height="13" Caption=":" Color="-16777201"/>
  </TfrxDialogPage>
</TfrxReport>
