<?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="39056,464731331" ReportOptions.Description.Text="" ReportOptions.LastChange="40143,657358912" ScriptLanguage="PascalScript" ScriptText.Text="procedure cbxRangeOnChange(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  SesBeg.Visible := cbxRange.ItemIndex = 1;&#13;&#10;  SesEnd.Visible := cbxRange.ItemIndex = 1;&#13;&#10;  DateBeg.Visible := cbxRange.ItemIndex = 0;&#13;&#10;  DateEnd.Visible := cbxRange.ItemIndex = 0;&#13;&#10;  TimeBeg.Visible := cbxRange.ItemIndex = 0;&#13;&#10;  TimeEnd.Visible := cbxRange.ItemIndex = 0;&#13;&#10;  pnl.Visible := cbxRange.ItemIndex &#60;&#62; 2;&#13;&#10;  Label2.Visible := cbxRange.ItemIndex &#60;&#62; 2;&#13;&#10;  Label3.Visible := cbxRange.ItemIndex &#60;&#62; 2;&#13;&#10;  cbxRangeKind.Visible := cbxRange.ItemIndex &#60;&#62; 2;&#13;&#10;  Label5.Visible := cbxRange.ItemIndex &#60;&#62; 2;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure frxReportOnStartReport(Sender: TfrxComponent);&#13;&#10;var&#13;&#10;  wc: string;&#13;&#10;  i: integer;&#13;&#10;  dtIntv: string;&#13;&#10;begin&#13;&#10;  wc := '';&#13;&#10;  if dlgMain.ShowModal = mrOk then&#13;&#10;  begin&#13;&#10;&#13;&#10;    if cbxRange.ItemIndex = 0 then&#13;&#10;    begin&#13;&#10;      if cbxRangeKind.ItemIndex = 0 then&#13;&#10;      begin&#13;&#10;        wc := wc + ' (CLOSEDATE + CLOSETIME BETWEEN ''' + DateToStr(DateBeg.Date)+ ' ' + TimeToStr(TimeBeg.Time) + ''' AND ''' + DateToStr(DateEnd.Date)+ ' ' + TimeToStr(TimeEnd.Time) + ''')';&#13;&#10;        Memo4.Text := cbxRange.Text + '  C: ' + DateToStr(DateBeg.Date)+ ' ' + TimeToStr(TimeBeg.Time) + ' : ' + DateToStr(DateEnd.Date)+ ' ' + TimeToStr(TimeEnd.Time);&#13;&#10;      end&#13;&#10;      else&#13;&#10;      begin&#13;&#10;        dtIntv := 'BETWEEN ''' + DateToStr(DateBeg.Date)+ ' ' + TimeToStr(TimeBeg.Time) + ''' AND ''' + DateToStr(DateEnd.Date)+ ' ' + TimeToStr(TimeEnd.Time) + '''';&#13;&#10;        wc := wc + ' ((RESERVEBEG ' + dtIntv + ') OR (RESERVEEND ' + dtIntv + ') OR (RESERVEBEG &#60;=  ''' + DateToStr(DateBeg.Date)+ ' ' + TimeToStr(TimeBeg.Time) + ''' AND RESERVEEND &#62;= ''' + DateToStr(DateEnd.Date)+ ' ' + TimeToStr(TimeEnd.Time) + '''))';&#13;&#10;        Memo4.Text := cbxRange.Text + '  C: ' + DateToStr(DateBeg.Date)+ ' ' + TimeToStr(TimeBeg.Time) + ' : ' + DateToStr(DateEnd.Date)+ ' ' + TimeToStr(TimeEnd.Time);&#13;&#10;      end;&#13;&#10;    end&#13;&#10;    else&#13;&#10;      if cbxRange.ItemIndex = 1 then&#13;&#10;      begin&#13;&#10;        if cbxRangeKind.ItemIndex = 0 then&#13;&#10;        begin&#13;&#10;          wc := wc + ' (ECRSESSION BETWEEN ' + SesBeg.Text + ' AND ' + SesEnd.Text + ')';&#13;&#10;          Memo4.Text := cbxRange.Text + ' (  ) : ' + SesBeg.Text + ' : ' + SesEnd.Text;&#13;&#10;        end&#13;&#10;        else&#13;&#10;        begin&#13;&#10;          dtIntv := 'BETWEEN (SELECT MIN(CAST(OPENDATE + OPENTIME AS TIMESTAMP)) FROM DOCUMENT WHERE ECRSESSION &#62;= ' + SesBeg.Text + ') AND (SELECT MAX(CAST(CLOSEDATE + CLOSETIME AS TIMESTAMP)) FROM DOCUMENT WHERE ECRSESSION &#60;= ' + SesEnd.Text + ')';&#13;&#10;          wc := wc + ' ((RESERVEBEG ' + dtIntv + ') OR (RESERVEEND ' + dtIntv + ') OR (RESERVEBEG &#60;= (SELECT MIN(CAST(OPENDATE + OPENTIME AS TIMESTAMP)) FROM DOCUMENT WHERE ECRSESSION &#62;= ' + SesBeg.Text + ') AND RESERVEEND &#62;= (SELECT MAX(CAST(CLOSEDATE + CLOSETIME AS TIMESTAMP)) FROM DOCUMENT WHERE ECRSESSION &#60;= ' + SesEnd.Text + ')))';&#13;&#10;          Memo4.Text := cbxRange.Text + ' (  ) : ' + SesBeg.Text + ' : ' + SesEnd.Text;&#13;&#10;        end;&#13;&#10;      end&#13;&#10;      else&#13;&#10;        Memo4.Text := cbxRange.Text;&#13;&#10;&#13;&#10;    if Length(trim(wc)) &#62; 0 then&#13;&#10;      QueryRange.SQL.Add('WHERE ' + wc);&#13;&#10;&#13;&#10;    QueryRange.Open;&#13;&#10;    Memo17.Text := ' : ' + QueryRange.FieldByName('MIN').AsString;&#13;&#10;    Memo23.Text := ' : ' + QueryRange.FieldByName('MAX').AsString;&#13;&#10;&#13;&#10;    if Length(trim(wc)) &#62; 0 then&#13;&#10;      TableTranzt.SQL.Strings[14] := wc + ' AND ';&#13;&#10;&#13;&#10;    if &#60; .&#34; &#34;&#62; = 1 then&#13;&#10;      TableTranzt.SQL.Strings[11] := 'S.MARK = T.WareMark';&#13;&#10;  end&#13;&#10;  else&#13;&#10;    StopReport ;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure dlgMainOnShow(Sender: TfrxComponent);&#13;&#10;var&#13;&#10;  i: integer;&#13;&#10;begin&#13;&#10;  with TableSession do&#13;&#10;  begin&#13;&#10;    Open;&#13;&#10;    First;&#13;&#10;    while not EOF do&#13;&#10;    begin&#13;&#10;      SesBeg.Items.Add(FieldByName('ECRSESSION').AsString);&#13;&#10;      SesEnd.Items.Add(FieldByName('ECRSESSION').AsString);&#13;&#10;      Next;&#13;&#10;    end;&#13;&#10;    SesBeg.ItemIndex := 0;&#13;&#10;    SesEnd.ItemIndex := SesEnd.Items.Count - 1;&#13;&#10;  end;&#13;&#10;  DateBeg.Date := Date;&#13;&#10;  DateEnd.Date := Date;&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end." OnStartReport="frxReportOnStartReport" PropData="044C656674023403546F70026C08446174617365747301010C3700000020446174615365743D22667278446174614865616465722220446174615365744E616D653D22C7E0E3EEEBEEE2EEEA20EEF2F7E5F2E02200010C3800000020446174615365743D225461626C655472616E7A742220446174615365744E616D653D22CAE0F1F1EEE2FBE520F2F0E0EDE7E0EAF6E8E82200010C2B00000020446174615365743D225461626C6553657373696F6E2220446174615365744E616D653D22D1ECE5EDFB2200010C2C00000020446174615365743D22517565727952616E67652220446174615365744E616D653D22C4E8E0EFE0E7EEED220000095661726961626C65730100055374796C650100">
  <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="">
    <TfrxMasterData Name="MasterData1" Height="18,89765" Left="0" Top="220" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="TableTranzt" DataSetName=" " RowCount="0">
      <TfrxMemoView Name="Memo1" Left="139,84261" Top="0" Width="207,87415" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="14" ParentFont="False" Text="[IIF(&#60;Кассовые транзакции.&#34;WARECODE&#34;&#62;&#60;&#62;0,&#60;Кассовые транзакции.&#34;SNAME&#34;&#62;,'По свободной цене')]                        "/>
      <TfrxMemoView Name="Memo2" Left="0" Top="0" Width="60,47248" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" HAlign="haRight" ParentFont="False" Text="[Кассовые транзакции.&#34;WARECODE&#34;]"/>
      <TfrxMemoView Name="Memo3" Left="60,47248" Top="0" Width="79,37013" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="14" ParentFont="False" Text="[Кассовые транзакции.&#34;WAREMARK&#34;]"/>
      <TfrxMemoView Name="Memo6" Left="347,71676" Top="0" Width="102,04731" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="14" HAlign="haRight" ParentFont="False" Text="[Кассовые транзакции.&#34;QUANTITY&#34; #n%2,3f]"/>
      <TfrxMemoView Name="Memo7" Left="582,04762" Top="0" Width="136,06308" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="14" HAlign="haRight" ParentFont="False" Text="[Кассовые транзакции.&#34;SUMMWD&#34; #n%2,2f]"/>
      <TfrxMemoView Name="Memo15" Left="449,76407" Top="0" Width="132,28355" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="14" HAlign="haRight" ParentFont="False" Text="[Кассовые транзакции.&#34;SUMM&#34; #n%2,2f]"/>
      <TfrxLineView Name="Line5" Left="718,1107" Top="0" Width="0" Height="18,89765" Frame.Typ="1" Frame.Width="2"/>
      <TfrxLineView Name="Line9" Left="0" Top="0" Width="0" Height="18,89765" Frame.Typ="1" Frame.Width="2"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter1" Height="18,89765" Left="0" Top="344" 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>
    <TfrxIBXQuery Name="TableTranzt" UserName=" " CloseDataSource="True" FieldAliases.Text="" SQL.Text="SELECT  T.DOCUMENTID, D.CLOSEDATE AS CLOSEDATE, D.CLOSETIME AS CLOSETIME, D.RESERVEINFO AS RESERVEINFO,&#13;&#10;        (SELECT NAME FROM &#34;USER&#34; WHERE ID = D.CLOSEUSERID) AS &#34;USER&#34;,&#13;&#10;        (SELECT NAME FROM CLIENT WHERE ID = D.CLIENTID) AS CLIENT,&#13;&#10;        S.NAME AS SNAME, WARECODE, WAREMARK,&#13;&#10;        T.SUMMWD AS SUMMWD, T.SUMM AS SUMM, QUANTITY AS QUANTITY,&#13;&#10;        R.CODE || '/' || D.OpenSession || '/' || D.OpenDocNumber AS UNIVERSAL_NUMBER,&#13;&#10;        D.RESERVEBEG&#13;&#10;FROM DOCUMENT D LEFT JOIN TRANZT T ON&#13;&#10;                 D.ID = T.DOCUMENTID&#13;&#10;                LEFT JOIN SPRT S ON&#13;&#10;                 S.CODE = T.WARECODE&#13;&#10;                LEFT JOIN RMK R ON&#13;&#10;                 R.ID = D.OpenRMKID&#13;&#10;WHERE&#13;&#10;&#13;&#10;      D.STATE = 4 AND (D.ISFISCAL = 1) AND&#13;&#10;      T.TRANZTYPE IN (1,2,11,12)&#13;&#10;ORDER BY&#13;&#10;      T.DOCUMENTID" PropData="0A506172616D65746572730100"/>
    <TfrxReportTitle Name="ReportTitle1" Height="68,03154" Left="0" Top="16" Width="718,1107">
      <TfrxMemoView Name="Memo5" Left="0" Top="0" Width="718,1107" Height="26,45671" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[Заголовок отчета.&#34;Наименование отчета&#34;]"/>
      <TfrxMemoView Name="Memo4" Left="0" Top="26,45671" Width="718,1107" Height="22,67718" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo17" Left="0" Top="49,13389" Width="347,71676" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo23" Left="347,71676" Top="49,13389" Width="370,39394" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text=""/>
    </TfrxReportTitle>
    <TfrxPageHeader Name="PageHeader1" Height="18,89765" Left="0" Top="104" Width="718,1107">
      <TfrxMemoView Name="Memo8" Left="139,84261" Top="0" Width="207,87415" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="6" HAlign="haCenter" ParentFont="False" Text="Наименование"/>
      <TfrxMemoView Name="Memo9" Left="0" Top="0" Width="60,47248" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="7" HAlign="haCenter" ParentFont="False" Text="Код"/>
      <TfrxMemoView Name="Memo10" Left="60,47248" Top="0" Width="79,37013" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="6" HAlign="haCenter" ParentFont="False" Text="Артикул"/>
      <TfrxMemoView Name="Memo12" Left="347,71676" 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="6" HAlign="haCenter" ParentFont="False" Text="Количество"/>
      <TfrxMemoView Name="Memo13" Left="582,04762" Top="0" Width="136,06308" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="6" HAlign="haCenter" ParentFont="False" Text="Сумма со скидками"/>
      <TfrxMemoView Name="Memo11" Left="449,76407" Top="0" Width="132,28355" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="6" HAlign="haCenter" ParentFont="False" Text="Сумма без скидок"/>
      <TfrxLineView Name="Line1" Left="0" Top="0" Width="718,1107" Height="0" Frame.Typ="4" Frame.Width="2"/>
      <TfrxLineView Name="Line2" Left="0" Top="0" Width="0" Height="18,89765" Frame.Typ="1" Frame.Width="2"/>
      <TfrxLineView Name="Line10" Left="0" Top="18,89765" Width="718,1107" Height="0" Frame.Typ="4" Frame.Width="2"/>
    </TfrxPageHeader>
    <TfrxReportSummary Name="ReportSummary1" Height="22,67718" Left="0" Top="300" Width="718,1107">
      <TfrxLineView Name="Line4" Left="0" Top="0" Width="718,1107" Height="0" Frame.Typ="4" Frame.Width="2"/>
      <TfrxLineView Name="Line6" Left="718,1107" Top="0" Width="0" Height="22,67718" Frame.Typ="1" Frame.Width="2"/>
      <TfrxLineView Name="Line7" Left="0" Top="22,67718" Width="718,1107" Height="0" Frame.Typ="4" Frame.Width="2"/>
      <TfrxLineView Name="Line8" Left="0" Top="0" Width="0" Height="22,67718" Frame.Typ="1" Frame.Width="2"/>
      <TfrxMemoView Name="Memo14" Left="0" Top="0" Width="347,71676" Height="22,67718" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="15" ParentFont="False" VAlign="vaCenter" Text="  Итого:"/>
      <TfrxMemoView Name="Memo18" Left="347,71676" Top="0" Width="102,04731" Height="22,67718" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="14" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(&#60;Кассовые транзакции.&#34;QUANTITY&#34;&#62;,MasterData1) #n%2.3f]"/>
      <TfrxMemoView Name="Memo19" Left="582,04762" Top="0" Width="136,06308" Height="22,67718" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="14" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(&#60;Кассовые транзакции.&#34;SUMMWD&#34;&#62;,MasterData1) #n%2.2f]"/>
      <TfrxMemoView Name="Memo16" Left="449,76407" Top="0" Width="132,28355" Height="22,67718" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="14" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(&#60;Кассовые транзакции.&#34;SUMM&#34;&#62;,MasterData1) #n%2.2f]"/>
    </TfrxReportSummary>
    <TfrxGroupHeader Name="GroupHeader1" Height="56,69295" Left="0" Top="144" Width="718,1107" Condition="&#60; .&#34;DOCUMENTID&#34;&#62;" Stretched="True">
      <TfrxMemoView Name="Memo24" Left="0" Top="7,55905999999999" Width="359,05535" Height="49,13389" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="2" ParentFont="False" Text="№ [Кассовые транзакции.&#34;UNIVERSAL_NUMBER&#34;]  Дата [Кассовые транзакции.&#34;CLOSEDATE&#34;] [Кассовые транзакции.&#34;CLOSETIME&#34;]&#13;&#10;Кассир [Кассовые транзакции.&#34;USER&#34;]  Резерв на [Кассовые транзакции.&#34;RESERVEBEG&#34;]&#13;&#10;Клиент [Кассовые транзакции.&#34;CLIENT&#34;]"/>
      <TfrxMemoView Name="Memo25" Left="359,05535" Top="7,55905999999999" Width="359,05535" Height="49,13389" StretchMode="smActualHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="2" ParentFont="False" Text="Информация [Кассовые транзакции.&#34;RESERVEINFO&#34;]"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" Height="18,89765" Left="0" Top="260" Width="718,1107">
      <TfrxShapeView Name="Shape1" Left="0" Top="0" Width="718,1107" Height="18,89765" Frame.Width="2"/>
      <TfrxMemoView Name="Memo26" Align="baRight" Left="623,62245" Top="0" Width="94,48825" Height="18,89765" AutoWidth="True" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;Кассовые транзакции.&#34;SUMM&#34;&#62;,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo27" Left="9,07086614173228" Top="0" Width="94,48825" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Итого:"/>
    </TfrxGroupFooter>
  </TfrxReportPage>
  <TfrxDialogPage Name="dlgMain" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Visible="False" Caption="   " Height="190" Left="415" Top="232" Width="383" OnShow="dlgMainOnShow">
    <TfrxComboBoxControl Name="cbxRange" Left="120" Top="12" Width="133" Height="21" Color="-16777211" Items.Text="&#13;&#10;&#13;&#10;" Style="csDropDownList" Text="" ItemIndex="0" OnChange="cbxRangeOnChange"/>
    <TfrxLabelControl Name="Label2" Left="92" Top="64" Width="11" Height="13" Caption=":" Color="-16777201"/>
    <TfrxLabelControl Name="Label3" Left="280" Top="64" Width="17" Height="13" Caption=":" Color="-16777201"/>
    <TfrxComboBoxControl Name="cbxRangeKind" Left="120" Top="40" Width="133" Height="21" Color="-16777211" Items.Text=" &#13;&#10; " Style="csDropDownList" Text=" " ItemIndex="0"/>
    <TfrxLabelControl Name="Label4" Left="56" Top="16" Width="53" Height="13" Caption=":" Color="-16777201"/>
    <TfrxPanelControl Name="pnl" Left="4" Top="80" Width="365" Height="29" BevelOuter="bvNone" Color="-16777201">
      <TfrxComboBoxControl Name="SesBeg" Left="56" Top="4" Width="77" Height="21" Visible="False" Color="-16777211" Items.Text="" Style="csDropDownList" ItemIndex="-1"/>
      <TfrxComboBoxControl Name="SesEnd" Left="248" Top="4" Width="77" Height="21" Visible="False" Color="-16777211" Items.Text="" Style="csDropDownList" ItemIndex="-1"/>
      <TfrxDateEditControl Name="DateBeg" Left="8" Top="4" Width="81" Height="21" Color="-16777211" Date="39322,6497198843" Time="39322,6497198843"/>
      <TfrxDateEditControl Name="TimeBeg" Left="96" Top="4" Width="69" Height="21" Color="-16777211" Date="39322" Kind="dtkTime" Time="39322"/>
      <TfrxDateEditControl Name="DateEnd" Left="200" Top="4" Width="81" Height="21" Color="-16777211" Date="39322,6499647106" Time="39322,6499647106"/>
      <TfrxDateEditControl Name="TimeEnd" Left="288" Top="4" Width="69" Height="21" Color="-16777211" Date="39322,9999884259" Kind="dtkTime" Time="39322,9999884259"/>
    </TfrxPanelControl>
    <TfrxButtonControl Name="btnOK" Left="96" Top="120" Width="63" Height="25" Caption="OK" Default="True" ModalResult="1"/>
    <TfrxIBXQuery Name="TableSession" UserName="" CloseDataSource="True" FieldAliases.Text="" SQL.Text="SELECT DISTINCT ECRSESSION&#13;&#10;FROM DOCUMENT&#13;&#10;ORDER BY ECRSESSION" PropData="0A506172616D65746572730100"/>
    <TfrxIBXQuery Name="QueryRange" UserName="" CloseDataSource="True" FieldAliases.Text="" SQL.Text="SELECT MIN(D.CLOSEDATE + D.CLOSETIME),&#13;&#10;       MAX(D.CLOSEDATE + D.CLOSETIME)&#13;&#10;FROM DOCUMENT D" PropData="0A506172616D65746572730100"/>
    <TfrxButtonControl Name="btnCancel" Left="200" Top="120" Width="63" Height="25" Cancel="True" Caption="" ModalResult="2"/>
    <TfrxLabelControl Name="Label5" Left="28" Top="44" Width="81" Height="13" Caption=" :" Color="-16777201"/>
  </TfrxDialogPage>
</TfrxReport>
