<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="3.24.6" DotMatrixReport="False" EngineOptions.DoublePass="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="1776" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.ShowDialog="False" ReportOptions.CreateDate="39057,6985432755" ReportOptions.Description.Text="" ReportOptions.LastChange="40143,6477481018" ScriptLanguage="PascalScript" ScriptText.Text="var&#13;&#10;  ReportName: string;&#13;&#10;  Detail: boolean;&#13;&#10;&#13;&#10;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;end;&#13;&#10;&#13;&#10;procedure frxReportOnStartReport(Sender: TfrxComponent);&#13;&#10;var&#13;&#10;  wc: string;&#13;&#10;  i: integer;&#13;&#10;begin&#13;&#10;  wc := '';&#13;&#10;  if dlgMain.ShowModal = mrOk then&#13;&#10;  begin&#13;&#10;    if cbxRM.Items.Objects[cbxRM.ItemIndex] = TObject(0) then&#13;&#10;    begin&#13;&#10;      for i := 0 to cbxRM.Items.Count - 2 do&#13;&#10;        wc := wc + VarToStr(cbxRM.Items.Objects[i]) + ',';&#13;&#10;      wc := 'RMKID IN (' + Copy(wc, 1, Length(wc) - 1)  + ')';&#13;&#10;    end&#13;&#10;    else&#13;&#10;      wc := 'RMKID = ' + VarToStr(cbxRM.Items.Objects[cbxRM.ItemIndex]);&#13;&#10;    if cbxRange.ItemIndex = 0 then&#13;&#10;    begin&#13;&#10;      wc := wc + ' AND (CLOSEDATE + CLOSETIME BETWEEN ''' + DateToStr(DateBeg.Date)+ ' ' + TimeToStr(TimeBeg.Time) + ''' AND ''' + DateToStr(DateEnd.Date)+ ' ' + TimeToStr(TimeEnd.Time) + ''')';&#13;&#10;      Memo9.Text := cbxRange.Text + ' C: ' + DateToStr(DateBeg.Date)+ ' ' + TimeToStr(TimeBeg.Time) + ' : ' + DateToStr(DateEnd.Date)+ ' ' + TimeToStr(TimeEnd.Time);&#13;&#10;    end&#13;&#10;    else&#13;&#10;      if cbxRange.ItemIndex = 1 then&#13;&#10;      begin&#13;&#10;        wc := wc + ' AND (ECRSESSION BETWEEN ' + SesBeg.Text + ' AND ' + SesEnd.Text + ')';&#13;&#10;        Memo9.Text := cbxRange.Text + ' : ' + SesBeg.Text + ' : ' + SesEnd.Text;&#13;&#10;      end&#13;&#10;      else&#13;&#10;        Memo9.Text := cbxRange.Text;&#13;&#10;&#13;&#10;    QueryRange.SQL.Add('WHERE ' + wc);&#13;&#10;    QueryRange.Open;&#13;&#10;    Memo18.Text := ' : ' + QueryRange.FieldByName('MIN').AsString;&#13;&#10;    Memo23.Text := ' : ' + QueryRange.FieldByName('MAX').AsString;&#13;&#10;&#13;&#10;    TableTranzt.SQL.Strings[7] := wc + ' AND ';&#13;&#10;&#13;&#10;    DialogTypeReport.ShowModal;&#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 TableRMK do&#13;&#10;  begin&#13;&#10;    Open;&#13;&#10;    First;&#13;&#10;    while not EOF do&#13;&#10;    begin&#13;&#10;      cbxRM.Items.AddObject(FieldByName('CODE').AsString, TObject(FieldByName('ID').AsInteger));&#13;&#10;      Next;&#13;&#10;    end;&#13;&#10;    if cbxRM.Items.Count &#62; 1 then&#13;&#10;      cbxRM.Items.AddObject('', TObject(0));&#13;&#10;    cbxRM.ItemIndex := 0;&#13;&#10;  end;&#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;procedure Footer1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if not Engine.FinalPass then&#13;&#10;  begin&#13;&#10;    Set('C' + IntToStr(&#60;.&#34;CODE&#34;&#62;), SUM(&#60;.&#34;COUNT&#34;&#62;,DetailData1));&#13;&#10;    Set('S' + IntToStr(&#60;.&#34;CODE&#34;&#62;), SUM(&#60;.&#34;SUM&#34;&#62;,DetailData1));&#13;&#10;  end;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Memo5OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if Engine.FinalPass then&#13;&#10;    Memo5.Text := VarToStr(Get('C' + IntToStr(&#60;.&#34;CODE&#34;&#62;)));&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Memo6OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if Engine.FinalPass then&#13;&#10;    Memo6.Text := FormatFloat('0.00',Get('S' + IntToStr(&#60;.&#34;CODE&#34;&#62;)));&#13;&#10;end;&#13;&#10;&#13;&#10;&#13;&#10;procedure btnTypeReportOnClick(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  case cbxTypeReport.ItemIndex of&#13;&#10;  0:  TableTranzT.SQL.Strings[9] :=  ' D.STATE = 1 AND T.TRANZTYPE IN (2,12) ';&#13;&#10;  1:  TableTranzT.SQL.Strings[9] :=  ' D.STATE = 2 AND T.TRANZTYPE = 56 ';&#13;&#10;  2:  TableTranzT.SQL.Strings[9] :=  ' D.STATE = 1 AND T.TRANZTYPE = 55 AND D.CHEQUETYPE IN (1,2) ';&#13;&#10;  end;&#13;&#10;  ReportName := cbxTypeReport.Text;&#13;&#10;  Detail := cbxDetail.Checked;&#13;&#10;  btnTypeReport.ModalResult := mrOK;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure DetailData1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if Engine.FinalPass then&#13;&#10;    DetailData1.Visible := Detail;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Memo17OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if Engine.FinalPass then&#13;&#10;    Memo17.Text := &#60; .&#34; &#34;&#62; + '. ' + ReportName;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Memo2OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if Engine.FinalPass then&#13;&#10;    if Detail then&#13;&#10;      Memo2.Text := ',  '&#13;&#10;    else&#13;&#10;      Memo2.Text := '';&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end." OnStartReport="frxReportOnStartReport" PropData="044C656674023403546F70026C08446174617365747301010C3700000020446174615365743D22667278446174614865616465722220446174615365744E616D653D22C7E0E3EEEBEEE2EEEA20EEF2F7E5F2E02200010C2A00000020446174615365743D225461626C65557365722220446174615365744E616D653D22CAE0F1F1E8F0FB2200010C2F00000020446174615365743D225461626C655472616E7A542220446174615365744E616D653D22D2F0E0EDE7E0EAF6E8E82200010C2500000020446174615365743D225461626C65524D4B2220446174615365744E616D653D22D0CCCA2200010C2B00000020446174615365743D225461626C6553657373696F6E2220446174615365744E616D653D22D1ECE5EDFB2200010C2C00000020446174615365743D22517565727952616E67652220446174615365744E616D653D22C4E8E0EFE0E7EEED220000095661726961626C65730100055374796C650100">
  <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="56,69295" Left="0" Top="16" Width="718,1107">
      <TfrxMemoView Name="Memo17" Left="0" Top="0" Width="718,1107" Height="18,89765" OnBeforePrint="Memo17OnBeforePrint" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="[Заголовок отчета.&#34;Наименование отчета&#34;]"/>
      <TfrxMemoView Name="Memo9" Left="0" Top="18,89765" Width="718,1107" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo18" Left="0" Top="37,7953" 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="37,7953" 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>
    <TfrxMasterData Name="MasterData1" Height="18,89765" Left="0" Top="132" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="TableUser" DataSetName="" RowCount="0">
      <TfrxMemoView Name="Memo1" Left="0" Top="0" Width="313,70099" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="3" Frame.Typ="13" ParentFont="False" Text="[Кассиры.&#34;NAME&#34;]"/>
      <TfrxMemoView Name="Memo5" Left="313,70099" Top="0" Width="196,53556" Height="18,89765" OnBeforePrint="Memo5OnBeforePrint" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="3" Frame.Typ="13" HAlign="haRight" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo6" Left="510,23655" Top="0" Width="207,87415" Height="18,89765" OnBeforePrint="Memo6OnBeforePrint" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="3" Frame.Typ="15" HAlign="haRight" ParentFont="False" Text=""/>
      <TfrxLineView Name="Line4" 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="292" 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="TableUser" UserName="" CloseDataSource="True" FieldAliases.Text="" SQL.Text="SELECT * FROM &#34;USER&#34;" PropData="0A506172616D65746572730100"/>
    <TfrxPageHeader Name="PageHeader1" Height="18,89765" Left="0" Top="92" Width="718,1107">
      <TfrxMemoView Name="Memo2" Left="0" Top="0" Width="313,70099" Height="18,89765" OnBeforePrint="Memo2OnBeforePrint" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="1" Frame.Typ="5" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo3" Left="313,70099" Top="0" Width="196,53556" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="1" Frame.Typ="5" HAlign="haCenter" ParentFont="False" Text="Количество"/>
      <TfrxMemoView Name="Memo4" Left="510,23655" Top="0" Width="207,87415" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="1" Frame.Typ="7" HAlign="haCenter" ParentFont="False" Text="Сумма"/>
      <TfrxLineView Name="Line1" Left="0" Top="0" Width="0" Height="18,89765" Frame.Typ="1" Frame.Width="2"/>
      <TfrxLineView Name="Line2" Left="0" Top="0" Width="718,1107" Height="0" Frame.Typ="4" Frame.Width="2"/>
      <TfrxLineView Name="Line3" Left="718,1107" Top="0" Width="0" Height="18,89765" Frame.Typ="1" Frame.Width="2"/>
      <TfrxLineView Name="Line11" Left="0" Top="0" Width="0" Height="18,89765" Frame.Typ="1" Frame.Width="2"/>
      <TfrxLineView Name="Line12" Left="0" Top="18,89765" Width="718,1107" Height="0" Frame.Typ="4" Frame.Width="2"/>
    </TfrxPageHeader>
    <TfrxIBXQuery Name="TableTranzT" UserName="" CloseDataSource="True" FieldAliases.Text="" Master="TableUser" SQL.Text="SELECT&#13;&#10;        D.CHEQUENUMBER,&#13;&#10;        COUNT(*),&#13;&#10;        SUM(T.SUMMWD)&#13;&#10;FROM DOCUMENT D LEFT JOIN TRANZT T ON&#13;&#10;                 D.ID = T.DOCUMENTID&#13;&#10;WHERE&#13;&#10;&#13;&#10;       T.SELLER = :CODE AND D.ISFISCAL = 1 AND&#13;&#10;       D.STATE = 1 AND T.TRANZTYPE = 55&#13;&#10;GROUP BY D.CHEQUENUMBER" PropData="0A506172616D657465727301010C4F000000204E616D653D22434F4445222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303BCAE0F1F1E8F0FB2E262333343B434F4445262333343B262336323B220000"/>
    <TfrxDetailData Name="DetailData1" Height="18,89765" Left="0" Top="172" Width="718,1107" OnBeforePrint="DetailData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="TableTranzT" DataSetName="" RowCount="0">
      <TfrxMemoView Name="Memo7" Left="0" Top="0" Width="313,70099" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="13" ParentFont="False" Text="         Чек №[Транзакции.&#34;CHEQUENUMBER&#34;]"/>
      <TfrxMemoView Name="Memo8" Left="313,70099" Top="0" Width="196,53556" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="13" HAlign="haRight" ParentFont="False" Text="[Транзакции.&#34;COUNT&#34;]"/>
      <TfrxMemoView Name="Memo10" Left="510,23655" 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="15" HAlign="haRight" ParentFont="False" Text="[Транзакции.&#34;SUM&#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="Line10" Left="0" Top="0" Width="0" Height="18,89765" Frame.Typ="1" Frame.Width="2"/>
    </TfrxDetailData>
    <TfrxReportSummary Name="ReportSummary1" Height="18,89765" Left="0" Top="252" Width="718,1107">
      <TfrxMemoView Name="Memo11" Left="0" Top="0" Width="313,70099" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="13" ParentFont="False" Text="Итого:"/>
      <TfrxMemoView Name="Memo12" Left="313,70099" Top="0" Width="196,53556" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="13" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;Транзакции.&#34;COUNT&#34;&#62;,DetailData1,3)]"/>
      <TfrxMemoView Name="Memo13" Left="510,23655" 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="15" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;Транзакции.&#34;SUM&#34;&#62;,DetailData1,3) #n%2,2f]"/>
      <TfrxLineView Name="Line6" Left="718,1107" Top="0" Width="0" Height="18,89765" Frame.Typ="1" Frame.Width="2"/>
      <TfrxLineView Name="Line7" Left="0" Top="18,89765" Width="718,1107" Height="0" Frame.Typ="4" Frame.Width="2"/>
      <TfrxLineView Name="Line8" Left="0" Top="0" Width="0" Height="18,89765" Frame.Typ="1" Frame.Width="2"/>
      <TfrxLineView Name="Line13" Left="0" Top="0" Width="718,1107" Height="0" Frame.Typ="4" Frame.Width="2"/>
    </TfrxReportSummary>
    <TfrxFooter Name="Footer1" Height="18,89765" Left="0" Top="212" Visible="False" Width="718,1107" OnBeforePrint="Footer1OnBeforePrint">
      <TfrxMemoView Name="Memo14" Left="328,81911" Top="0" Width="75,5906" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[SUM(&#60;Транзакции.&#34;COUNT&#34;&#62;,DetailData1)]"/>
      <TfrxMemoView Name="Memo15" Left="423,30736" Top="0" Width="64,25201" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[SUM(&#60;Транзакции.&#34;SUM&#34;&#62;,DetailData1)]"/>
    </TfrxFooter>
  </TfrxReportPage>
  <TfrxDialogPage Name="DialogTypeReport" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Visible="False" BorderStyle="bsDialog" Caption="  " Height="130" Left="362" Top="142" Width="300">
    <TfrxComboBoxControl Name="cbxTypeReport" Left="80" Top="8" Width="145" Height="21" Color="-16777211" Items.Text="&#13;&#10; &#13;&#10; /" Style="csDropDownList" Text="" ItemIndex="0"/>
    <TfrxCheckBoxControl Name="cbxDetail" Left="80" Top="44" Width="133" Height="17" Caption="" Color="-16777201"/>
    <TfrxButtonControl Name="btnTypeReport" Left="112" Top="72" Width="75" Height="25" Caption="" Default="True" ModalResult="1" OnClick="btnTypeReportOnClick"/>
  </TfrxDialogPage>
  <TfrxDialogPage Name="dlgMain" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Visible="False" Caption="   " Height="173" Left="281" Top="162" Width="389" OnShow="dlgMainOnShow">
    <TfrxComboBoxControl Name="cbxRM" Left="128" Top="4" Width="133" Height="21" Color="-16777211" Items.Text="" Style="csDropDownList" ItemIndex="-1"/>
    <TfrxLabelControl Name="Label1" Left="100" Top="8" Width="18" Height="13" Caption=":" Color="-16777201"/>
    <TfrxComboBoxControl Name="cbxRange" Left="128" Top="32" Width="133" Height="21" Color="-16777211" Items.Text="&#13;&#10;&#13;&#10;" Style="csDropDownList" Text="" ItemIndex="0" OnChange="cbxRangeOnChange"/>
    <TfrxLabelControl Name="Label2" Left="96" Top="60" Width="11" Height="13" Caption=":" Color="-16777201"/>
    <TfrxLabelControl Name="Label3" Left="284" Top="60" Width="17" Height="13" Caption=":" Color="-16777201"/>
    <TfrxPanelControl Name="pnl" Left="8" 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>
    <TfrxLabelControl Name="Label4" Left="64" Top="36" Width="53" Height="13" Caption=":" Color="-16777201"/>
    <TfrxButtonControl Name="btnOK" Left="104" Top="116" Width="63" Height="25" Caption="OK" Default="True" ModalResult="1"/>
    <TfrxButtonControl Name="btnCancel" Left="208" Top="116" Width="63" Height="25" Cancel="True" Caption="" ModalResult="2"/>
    <TfrxIBXQuery Name="TableRMK" UserName="" CloseDataSource="True" FieldAliases.Text="" SQL.Text="SELECT CODE, ID FROM RMK&#13;&#10;ORDER BY CODE" PropData="0A506172616D65746572730100"/>
    <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"/>
  </TfrxDialogPage>
</TfrxReport>
