<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="5.4.6" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="41380.5820669097" ReportOptions.Description.Text="" ReportOptions.LastChange="43343.5897370486" ScriptLanguage="PascalScript" ScriptText.Text="var&#13;&#10; lineno: integer ;&#13;&#10; qty_orderx: string ;&#13;&#10; qty_on_hand_rx: string ;&#13;&#10;&#13;&#10;procedure Page1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  lineno:= 0 ;&#13;&#10;&#13;&#10;  if &#60;consol_item&#62; = 'Y' then&#13;&#10;  begin&#13;&#10;      GroupHeader1.Condition:='SMPOC.&#34;SUB_PO_NO&#34;';&#13;&#10;  end&#13;&#10;  else&#13;&#10;  begin&#13;&#10;      GroupHeader1.Condition:='SMPOC.&#34;LOCATE&#34;';&#13;&#10;  end;&#13;&#10;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure LineOnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10; // lineno:=lineno+1 ;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Memo11OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;    if (&#60;SMPOC.&#34;QTY_RCV&#34;&#62;mod&#60;SMPOC.&#34;PACK_RATIO&#34;&#62;)  &#62;   0 then&#13;&#10;     qty_orderx:= inttostr(TRUNC(&#60;SMPOC.&#34;QTY_RCV&#34;&#62;/&#60;SMPOC.&#34;PACK_RATIO&#34;&#62;))+ ' x ' + inttostr(&#60;SMPOC.&#34;PACK_RATIO&#34;&#62;) +' (+' + inttostr(&#60;SMPOC.&#34;QTY_RCV&#34;&#62;mod&#60;SMPOC.&#34;PACK_RATIO&#34;&#62;)+')'&#13;&#10;     else&#13;&#10;      qty_orderx:= inttostr(TRUNC(&#60;SMPOC.&#34;QTY_RCV&#34;&#62;/&#60;SMPOC.&#34;PACK_RATIO&#34;&#62;))+ ' x ' + inttostr(&#60;SMPOC.&#34;PACK_RATIO&#34;&#62;) ;&#13;&#10;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Memo13OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;    if (&#60;INV_MD.&#34;QTY_ON_HAND&#34;&#62;mod&#60;INV_MD.&#34;PACK_RATIO&#34;&#62;)  &#62;   0 then&#13;&#10;     qty_on_hand_rx:= inttostr(TRUNC(&#60;INV_MD.&#34;QTY_ON_HAND&#34;&#62;/&#60;INV_MD.&#34;PACK_RATIO&#34;&#62;))+ ' x ' + inttostr(&#60;INV_MD.&#34;PACK_RATIO&#34;&#62;) +' (+' + inttostr(&#60;INV_MD.&#34;QTY_ON_HAND&#34;&#62;mod&#60;SMPOC.&#34;PACK_RATIO&#34;&#62;)+')'&#13;&#10;     else&#13;&#10;     qty_on_hand_rx:= inttostr(TRUNC(&#60;INV_MD.&#34;QTY_ON_HAND&#34;&#62;/&#60;INV_MD.&#34;PACK_RATIO&#34;&#62;))+ ' x ' + inttostr(&#60;INV_MD.&#34;PACK_RATIO&#34;&#62;) ;&#13;&#10;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MasterData1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;&#13;&#10;    if &#60;SMPOC.&#34;CANCEL_DISP&#34;&#62;&#60;&#62;'' then&#13;&#10;    begin&#13;&#10;      MasterData1.visible:=False ;&#13;&#10;    end&#13;&#10;    else&#13;&#10;    begin&#13;&#10;        MasterData1.visible:=True ;&#13;&#10;       lineno:=lineno+1 ;&#13;&#10;    end;&#13;&#10;&#13;&#10;&#13;&#10;    qry_subINVMD.close ;&#13;&#10;    qry_subINVMD.open ;&#13;&#10;&#13;&#10;&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end.">
  <Datasets>
    <item DataSet="frxDBDataset1" DataSetName="SMPOC"/>
    <item DataSet="qry_subINVMD" DataSetName="subINVMD"/>
    <item DataSet="qry_user" DataSetName="user"/>
    <item DataSet="qry_dept" DataSetName="dept"/>
  </Datasets>
  <Variables>
    <item Name="sub_po_no"/>
    <item Name="dept_name"/>
    <item Name="po_date"/>
    <item Name="stockname"/>
    <item Name="consol_item"/>
    <item Name="hosp_name"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxUniDACQuery Name="qry_subINVMD" UserName="subINVMD" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="{IF SQLSERVER}&#13;&#10;  &#13;&#10;SELECT i.*,s2.REORDER_QTY*i.RATE_PER_DAY as RATE_DIS                                                  &#13;&#10;FROM INV_MD i (NOLOCK)&#13;&#10;left join SPECIAL s2 (NOLOCK) on (s2.SPECIAL_CODE = i.SPECIAL_CODE)                                                                                                                                              &#13;&#10;WHERE &#13;&#10;i.DEPT_ID =(&#13;&#10;    select s.DEPT_ID from SM_PO s (NOLOCK) &#13;&#10;    where  s.SUB_PO_NO=:SUB_PO_NO              &#13;&#10;)&#13;&#10;and i.WORKING_CODE=:WORKING_CODE  &#13;&#10;&#13;&#10;{ELSE}&#13;&#10;&#13;&#10;SELECT i.*,s2.REORDER_QTY*i.RATE_PER_DAY as RATE_DIS          &#13;&#10;FROM INV_MD i &#13;&#10;left join SPECIAL s2  on (s2.SPECIAL_CODE = i.SPECIAL_CODE)                               &#13;&#10;WHERE &#13;&#10;i.DEPT_ID =(&#13;&#10;    select s.DEPT_ID from SM_PO s  &#13;&#10;    where  s.SUB_PO_NO=:SUB_PO_NO              &#13;&#10;)  &#13;&#10;and i.WORKING_CODE=:WORKING_CODE  &#13;&#10;&#13;&#10;{ENDIF}                &#13;&#10;  " SpecificOptions.Text="" PropData="05704C65667403A0000470546F7002500A506172616D657465727301010C56000000204E616D653D225355425F504F5F4E4F222044617461547970653D226674537472696E67222045787072657373696F6E3D22262336303B534D504F432E262333343B5355425F504F5F4E4F262333343B262336323B2200010C5C000000204E616D653D22574F524B494E475F434F4445222044617461547970653D226674537472696E67222045787072657373696F6E3D22262336303B534D504F432E262333343B574F524B494E475F434F4445262333343B262336323B2200010C56000000204E616D653D225355425F504F5F4E4F222044617461547970653D226674537472696E67222045787072657373696F6E3D22262336303B534D504F432E262333343B5355425F504F5F4E4F262333343B262336323B2200010C5C000000204E616D653D22574F524B494E475F434F4445222044617461547970653D226674537472696E67222045787072657373696F6E3D22262336303B534D504F432E262333343B574F524B494E475F434F4445262333343B262336323B220000"/>
    <TfrxUniDACQuery Name="qry_user" UserName="user" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT p.*&#13;&#10;FROM&#13;&#10;    profile p (NOLOCK)                             &#13;&#10;WHERE&#13;&#10;    p.UserCode =:UserCode" SQLSchema="eAGLdkksSXRKLE6N5eUKDvSxNTYztTC2MDQ1NuDlig5JTMpJLQbKFNgWFOWnZeak6hiagpCRhaWOoaU5UIl7UWYKUIGBrZYOTEmBjqGOARjychnahhanFjnnp6QiSUMkDXRsrWCSQIN8MvOyQVYBAGWjKGA=" SpecificOptions.Text="" PropData="05704C65667403A4000470546F700390000A506172616D657465727301010C53000000204E616D653D2255736572436F6465222044617461547970653D226674537472696E67222045787072657373696F6E3D22262336303B534D504F432E262333343B555345525F4944262333343B262336323B220000"/>
    <TfrxUniDACQuery Name="qry_dept" UserName="dept" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="select * from DEPT_ID (NOLOCK) &#13;&#10;where DEPT_ID=(select STOCK_ID from SM_PO                                                    &#13;&#10;               where SUB_PO_NO=:sub_po_no)&#13;&#10;                 &#13;&#10;  " SpecificOptions.Text="" PropData="05704C65667403A8000470546F7003DC000A506172616D657465727301010C56000000204E616D653D227375625F706F5F6E6F222044617461547970653D226674537472696E67222045787072657373696F6E3D22262336303B534D504F432E262333343B5355425F504F5F4E4F262333343B262336323B220000"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="" OnBeforePrint="Page1OnBeforePrint">
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="26.45671" Left="0" Top="275.90569" Width="718.1107" OnBeforePrint="MasterData1OnBeforePrint" AllowSplit="True" ColumnWidth="0" ColumnGap="0" DataSet="frxDBDataset1" DataSetName="SMPOC" RowCount="0" Stretched="True">
      <TfrxMemoView Name="Memo5" Left="25.22047" Top="0.677180000000021" Width="52.91342" Height="22.67718" AllowHTMLTags="True" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" Text="[SMPOC.&#34;WORKING_CODE&#34;]"/>
      <TfrxMemoView Name="Memo7" ShiftMode="smWhenOverlapped" Left="75.13389" Top="0.677180000000021" Width="226.7718" Height="22.67718" StretchMode="smMaxHeight" AllowHTMLTags="True" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" Text="[TRIM(&#60;SMPOC.&#34;DRUG_NAME&#34;&#62;)]">
        <Formats>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo8" Left="349.28355" Top="0.015769999999975" Width="41.57483" Height="22.67718" AllowHTMLTags="True" DataSet="frxDBDataset1" DataSetName="SMPOC" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[SMPOC.&#34;SALE_UNIT&#34;]"/>
      <TfrxMemoView Name="Memo9" Left="299.81107" Top="0.236240000000009" Width="52.91342" Height="22.67718" AllowHTMLTags="True" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[SMPOC.&#34;LOT_NO&#34;]"/>
      <TfrxMemoView Name="Memo11" Left="465.17347" Top="0.220469999999978" Width="60.47248" Height="22.67718" OnBeforePrint="Memo11OnBeforePrint" StretchMode="smActualHeight" AllowHTMLTags="True" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="1" Frame.Typ="15" Frame.LeftLine.Style="fsDot" Frame.TopLine.Style="fsDot" Frame.RightLine.Style="fsDot" Frame.BottomLine.Style="fsDot" HAlign="haCenter" ParentFont="False" Text="[qty_orderx]"/>
      <TfrxMemoView Name="Line" Left="-2.22047" Top="1.45670999999999" Width="26.45671" Height="22.67718" OnBeforePrint="LineOnBeforePrint" DataSet="frxDBDataset1" DataSetName="SMPOC" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[lineno]. "/>
      <TfrxMemoView Name="Memo24" Left="643.50433" Top="0.897649999999999" Width="75.5906" Height="22.67718" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[&#60;SMPOC.&#34;VALUE&#34;&#62;]"/>
      <TfrxMemoView Name="SMPOCexpired_date" Left="591.04762" Top="1.67718000000002" Width="68.03154" Height="22.67718" DataSet="frxDBDataset1" DataSetName="SMPOC" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[COPY(&#60;SMPOC.&#34;EXPIRED_DATE&#34;&#62;,7,2)]/[COPY(&#60;SMPOC.&#34;EXPIRED_DATE&#34;&#62;,5,2)]/[COPY(&#60;SMPOC.&#34;EXPIRED_DATE&#34;&#62;,1,4)]"/>
      <TfrxMemoView Name="Memo13" Left="516.79561" Top="2" Width="68.03154" Height="22.67718" DataSet="frxDBDataset1" DataSetName="SMPOC" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[trunc(&#60;subINVMD.&#34;QTY_ON_HAND&#34;&#62;/&#60;SMPOC.&#34;PACK_RATIO&#34;&#62;)] x [SMPOC.&#34;PACK_RATIO&#34;]"/>
      <TfrxMemoView Name="Memo23" Left="391.07112" Top="1" Width="68.03154" Height="22.67718" DataSet="frxDBDataset1" DataSetName="SMPOC" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[trunc(&#60;subINVMD.&#34;RATE_DIS&#34;&#62;/&#60;SMPOC.&#34;PACK_RATIO&#34;&#62;)] x [SMPOC.&#34;PACK_RATIO&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="230.55133" Left="0" Top="457.32313" Width="718.1107">
      <TfrxMemoView Name="Memo15" Left="20.01577" Top="20.77953" Width="249.44898" Height="49.13389" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="ลงชื่อ............................................(ผู้เบิก)&#13;&#10;([trim(&#60;user.&#34;firstName&#34;&#62;)] [trim(&#60;user.&#34;lastName&#34;&#62;)])"/>
      <TfrxMemoView Name="Memo16" Left="20.01577" Top="96.57483" Width="249.44898" Height="56.69295" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="ลงชื่อ............................................(ผู้อนุมัติ)&#13;&#10;(นางสาวณัฐนิช ส้มจันทร์)"/>
      <TfrxMemoView Name="Memo25" Left="443.32313" Top="24.55906" Width="249.44898" Height="49.13389" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="ลงชื่อ............................................(ผู้จ่าย)&#13;&#10;([dept.&#34;INV_DIRECTOR&#34;])"/>
      <TfrxMemoView Name="Memo26" Left="443.32313" Top="99.57483" Width="249.44898" Height="49.13389" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="ลงชื่อ............................................(ผู้รับ)&#13;&#10;(.............................................)"/>
      <TfrxMemoView Name="Memo30" Left="249.44898" Top="166.29932" Width="332.59864" Height="60.47248" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" Text="ลงชื่อ..........................................(หัวหน้าหน่วยเบิกพัสดุ)&#13;&#10;           (นางสาวนิธิมา คารมณ์ปราชญ์)"/>
    </TfrxPageFooter>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="173.85838" Left="0" Top="18.89765" Width="718.1107">
      <TfrxMemoView Name="Memo2" Left="3.77953" Top="2.33859" Width="718.1107" Height="26.45671" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="[hosp_name]"/>
      <TfrxMemoView Name="Memo4" Left="5.55906" Top="29.01577" Width="714.33117" Height="26.45671" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="ใบขอเบิก"/>
      <TfrxMemoView Name="Memo6" Left="6.55906" Top="56.91342" Width="442.20501" Height="75.5906" AllowHTMLTags="True" Font.Charset="222" Font.Color="-16777208" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" Text="&#60;b&#62;เลขที่เบิก&#60;/b&#62;  [sub_po_no]      &#13;&#10;&#60;b&#62;หน่วยงานที่ขอเบิก&#60;/b&#62;  [dept_name]&#13;&#10;ขออนุมัติให้เบิกเวชภัณฑ์ตามรายการต่อไปนี้">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo1" Left="597.16574" Top="11.55906" Width="117.16543" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" HAlign="haRight" ParentFont="False" Text="หน้า [Page#]/[TotalPages#]"/>
      <TfrxMemoView Name="Memo18" Left="408.18924" Top="52.91342" Width="298.58287" Height="68.03154" AllowHTMLTags="True" Font.Charset="222" Font.Color="-16777208" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" HAlign="haRight" ParentFont="False" Text="&#60;b&#62;วันที่ขอเบิก&#60;/b&#62;  [po_date]     &#13;&#10;&#60;b&#62;หน่วยงานที่จ่าย&#60;/b&#62; [stockname]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxLineView Name="Line3" Left="1.22047" Top="138.84261" Width="714.33117" Height="0" Color="0" Frame.Color="12632256" Diagonal="True"/>
      <TfrxLineView Name="Line4" Left="0.22047" Top="164.96073" Width="714.33117" Height="0" Color="0" Frame.Color="12632256" Diagonal="True"/>
      <TfrxMemoView Name="Memo12" Left="202.53556" Top="139.28355" Width="83.14966" Height="22.67718" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" Text="ชื่อเวชภัณฑ์"/>
      <TfrxMemoView Name="Memo14" Left="592.70903" Top="139.06308" Width="68.03154" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" Text="วันหมดอายุ"/>
      <TfrxMemoView Name="Memo17" Left="662.5201" Top="138.06308" Width="52.91342" Height="22.67718" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" Text="รวมมูลค่า"/>
      <TfrxMemoView Name="Memo21" Left="455.71676" Top="138.84261" Width="56.69295" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" Text="จน.ขอเบิก"/>
      <TfrxMemoView Name="Memo3" Left="35.55906" Top="138.84261" Width="49.13389" Height="22.67718" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" Text="รหัสยา"/>
      <TfrxMemoView Name="Memo19" Left="296.48825" Top="141.62214" Width="49.13389" Height="22.67718" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" Text="Lot no."/>
      <TfrxMemoView Name="Memo20" Left="353.29932" Top="142.40167" Width="34.01577" Height="22.67718" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" Text="หน่วย"/>
      <TfrxMemoView Name="Memo10" Left="517.79561" Top="139.84261" Width="56.69295" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" Text="จน.คงคลัง"/>
      <TfrxMemoView Name="Memo22" Left="389.29159" Top="139.84261" Width="64.25201" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" Text="อัตราการใช้"/>
    </TfrxPageHeader>
    <TfrxReportSummary Name="ReportSummary1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="0" Left="0" Top="434.64595" Width="718.1107"/>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="0" Left="0" Top="253.22851" Width="718.1107" Condition="SMPOC.&#34;LOCATE&#34;" KeepTogether="True" StartNewPage="True"/>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="49.13389" Left="0" Top="325.03958" Width="718.1107">
      <TfrxMemoView Name="Memo27" Left="121.94496" Top="11.26778" Width="593.38621" Height="30.23624" AllowHTMLTags="True" DisplayFormat.FormatStr="%2.0n" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" HAlign="haRight" ParentFont="False" Text="รวมทั้งหมด  &#60;b&#62;[COUNT(MasterData1)]&#60;/b&#62;   รายการ  คิดเป็นมูลค่า &#60;b&#62;[FormatFloat('#,##0.00',SUM(&#60;SMPOC.&#34;VALUE&#34;&#62;,MasterData1))]&#60;/b&#62;  บาท"/>
      <TfrxLineView Name="Line1" Left="3.77953" Top="8.60637000000003" Width="710.55164" Height="0" Color="0" Frame.Color="12632256" Diagonal="True"/>
    </TfrxGroupFooter>
  </TfrxReportPage>
</TfrxReport>
