<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="6.3.14" 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="43862.5925285648" ScriptLanguage="PascalScript" ScriptText.Text="&#13;&#10;begin&#13;&#10;&#13;&#10;end." OnReportPrint="frxReport1OnReportPrint">
  <Datasets>
    <item DataSetName="stockcard"/>
  </Datasets>
  <Variables>
    <item Name="carddate1"/>
    <item Name="carddate2"/>
    <item Name="stock_name"/>
    <item Name="COPIES" Value="1"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
  <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="5" RightMargin="5" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="26.45671" Left="0" Top="283.46475" Width="755.906" OnBeforePrint="MasterData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSetName="stockcard" RowCount="0" Stretched="True">
      <TfrxMemoView Name="Line" AllowVectorExport="True" Left="3.55906" Top="0.559059999999988" Width="26.45671" Height="26.45671" DataSetName="SMPOC" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Line#]"/>
      <TfrxMemoView Name="stockcardSUB_PO_DATE" AllowVectorExport="True" Left="28.7953" Top="1" Width="64.25201" Height="22.67718" DataSetName="stockcard" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[YMDToDate(&#60;stockcard.&#34;R_S_DATE&#34;&#62;+5430000)]"/>
      <TfrxMemoView Name="stockcardrsstatus" AllowVectorExport="True" Left="92.94496" Top="1" Width="75.5906" Height="22.67718" DataSetName="stockcard" Font.Charset="222" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[stockcard.&#34;RS_STATUS&#34;]"/>
      <TfrxMemoView Name="stockcardsubpono" AllowVectorExport="True" Left="168.19697" Top="1.22047" Width="147.40167" Height="22.67718" StretchMode="smActualHeight" DataSetName="stockcard" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[stockcard.&#34;R_S_NUMBER&#34;]"/>
      <TfrxMemoView Name="stockcarddeptname" AllowVectorExport="True" Left="315.59864" Top="1" Width="147.40167" Height="22.67718" DataField="deptname" DataSetName="stockcard" Font.Charset="222" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[stockcard.&#34;deptname&#34;]"/>
      <TfrxMemoView Name="stockcardqty" AllowVectorExport="True" Left="462.20501" Top="1" Width="79.37013" Height="22.67718" DataSetName="stockcard" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[&#60;stockcard.&#34;ACTIVE_QTY&#34;&#62;/&#60;stockcard.&#34;ACTIVE_PACK&#34;&#62;] x [stockcard.&#34;ACTIVE_PACK&#34;]">
        <Formats>
          <item FormatStr="%2.0n" Kind="fkNumeric"/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="stockcardvalue" AllowVectorExport="True" Left="543.69326" Top="2" Width="71.81107" Height="22.67718" DataSetName="stockcard" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[stockcard.&#34;value&#34;]"/>
      <TfrxMemoView Name="stockcardremainqty" AllowVectorExport="True" Left="615.96104" Top="1.77953" Width="56.69295" Height="22.67718" DataSetName="stockcard" DisplayFormat.FormatStr="%2.0n" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[FormatFloat('#,##0',&#60;stockcard.&#34;REMAIN_QTY&#34;&#62;)]"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="673.5201" Top="1.77953" Width="49.13389" Height="22.67718" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[stockcard.&#34;SALE_UNIT&#34;]"/>
      <TfrxMemoView Name="stockcardFREE_FLAG" AllowVectorExport="True" Left="729.21305" Top="3" Width="15.11812" Height="18.89765" DataField="FREE_FLAG" DataSetName="stockcard" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[stockcard.&#34;FREE_FLAG&#34;]"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="41.57483" Left="0" Top="423.30736" Width="755.906"/>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="203.74026" Left="0" Top="18.89765" Width="755.906">
      <TfrxMemoView Name="Memo7" AllowVectorExport="True" Left="175.84261" Top="171.84261" Width="128.50402" Height="26.45671" AllowHTMLTags="True" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="เลขที่รับ/จ่าย - PU"/>
      <TfrxMemoView Name="Memo2" AllowVectorExport="True" Left="3.77953" Top="3.33859" Width="748.34694" Height="26.45671" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="โรงพยาบาล ๕๐ พรรษา มหาวชิราลงกรณ"/>
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="5.63398757894737" Top="31.01577" Width="744.408271894737" Height="34.01577" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="ใบคุมคลังเวชภัณฑ์"/>
      <TfrxMemoView Name="Memo6" AllowVectorExport="True" Left="6.55906" Top="64.91342" Width="604.7248" Height="105.82684" AllowHTMLTags="True" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="&#60;b&#62;รหัสเวชภัณฑ์:&#60;/b&#62; รหัสสามัญ  [stockcard.&#34;WORKING_CODE&#34;]  รหัสการค้า [stockcard.&#34;TRADE_CODE&#34;]&#13;&#10;&#60;b&#62;ชื่อสามัญ&#60;/b&#62;  [TRIM(&#60;stockcard.&#34;DRUG_NAME&#34;&#62;)]  &#13;&#10; &#60;b&#62;รูปแบบ&#60;/b&#62; [TRIM(&#60;stockcard.&#34;DOSAGE_FORM&#34;&#62;)] &#60;b&#62;หน่วย&#60;/b&#62; [TRIM(&#60;stockcard.&#34;SALE_UNIT&#34;&#62;)]&#13;&#10;&#60;b&#62;ข้อมูลตั้งแต่วันที่&#60;/b&#62; [carddate1]   &#60;b&#62;ถึงวันที่&#60;/b&#62;  [carddate2]"/>
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="419.52783" Top="63.55906" Width="328.81911" Height="52.91342" AllowHTMLTags="True" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="หน้า [Page#]/[TotalPages#]&#13;&#10;&#60;b&#62;ชื่อคลัง&#60;/b&#62; [stock_name]"/>
      <TfrxLineView Name="Line3" AllowVectorExport="True" Left="1.22047" Top="171.84261" Width="755.906" Height="0" Color="0" Frame.Color="12632256" Frame.Typ="0" Diagonal="True"/>
      <TfrxLineView Name="Line4" AllowVectorExport="True" Left="0.22047" Top="199.96073" Width="755.906" Height="0" Color="0" Frame.Color="12632256" Frame.Typ="0" Diagonal="True"/>
      <TfrxMemoView Name="Memo12" AllowVectorExport="True" Left="106.94496" Top="172.28355" Width="49.13389" Height="22.67718" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="รับ/จ่าย"/>
      <TfrxMemoView Name="Memo13" AllowVectorExport="True" Left="490.52783" Top="170.84261" Width="64.25201" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="จน. รับ/จ่าย"/>
      <TfrxMemoView Name="Memo17" AllowVectorExport="True" Left="623.62245" Top="170.06308" Width="64.25201" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="จน.คงคลัง"/>
      <TfrxMemoView Name="Memo21" AllowVectorExport="True" Left="576.11843" Top="170.84261" Width="37.7953" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="มูลค่า"/>
      <TfrxMemoView Name="Memo3" AllowVectorExport="True" Left="49.23624" Top="172.84261" Width="49.13389" Height="22.67718" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="วันที่"/>
      <TfrxMemoView Name="Memo19" AllowVectorExport="True" Left="331.46475" Top="171.84261" Width="64.25201" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="หน่วยงาน"/>
      <TfrxMemoView Name="Memo15" AllowVectorExport="True" Left="541.14997" Top="115.04731" Width="207.87415" Height="30.23624" AllowHTMLTags="True" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="&#60;b&#62;วันที่พิมพ์&#60;/b&#62; [Date]"/>
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" Left="5.33859" Top="171.62214" Width="37.7953" Height="26.45671" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="ลำดับ"/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" Left="690.07916" Top="168.1812" Width="34.01577" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="หน่วย"/>
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" Left="725.87446" Top="168.40167" Width="26.45671" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="แถม"/>
    </TfrxPageHeader>
    <TfrxReportSummary Name="ReportSummary1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="30.78324" Left="0" Top="370.39394" Width="755.906">
      <TfrxLineView Name="Line1" AllowVectorExport="True" Left="3.77953" Top="3.77953" Width="748.34694" Height="0" Color="0" Frame.Color="12632256" Frame.Typ="0" Diagonal="True"/>
      <TfrxMemoView Name="Memo16" AllowVectorExport="True" Left="460.5" Top="7.10606" Width="86.92919" Height="22.67718" DataSetName="stockcard" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[SUM(&#60;stockcard.&#34;ACTIVE_QTY&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo18" AllowVectorExport="True" Left="552.5" Top="6.60606" Width="86.92919" Height="22.67718" DataSetName="stockcard" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[SUM(&#60;stockcard.&#34;VALUE&#34;&#62;,MasterData1)]"/>
    </TfrxReportSummary>
  </TfrxReportPage>
</TfrxReport>
