<?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="42641.8158054977" ScriptLanguage="PascalScript" ScriptText.Text=" &#13;&#10;procedure stockcardSUB_PO_DATEOnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  //[YMDToDate(&#60;stockcard.&#34;R_S_DATE&#34;&#62;+5430000)]                     &#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end.">
  <Datasets>
    <item DataSet="frxDBDataset2" DataSetName="stockcard"/>
  </Datasets>
  <Variables>
    <item Name="carddate1"/>
    <item Name="carddate2"/>
    <item Name="stock_name"/>
    <item Name="hosp_name"/>
  </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" DataSet="frxDBDataset2" 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="75.5906" Height="22.67718" OnBeforePrint="stockcardSUB_PO_DATEOnBeforePrint" DataSet="frxDBDataset2" 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="[stockcard.&#34;OPERATE_DATE&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="stockcardrsstatus" AllowVectorExport="True" Left="108.94496" Top="1" Width="75.5906" Height="22.67718" DataSet="frxDBDataset2" 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="186.19697" Top="1.22047" Width="147.40167" Height="22.67718" StretchMode="smActualHeight" DataSet="frxDBDataset2" 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="335.59864" Top="1" Width="147.40167" Height="24.56692913" DataField="deptname" DataSet="frxDBDataset2" 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="464.20501" Top="2" Width="79.37013" Height="22.67718" DataSet="frxDBDataset2" 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="haRight" ParentFont="False" Text="[&#60;stockcard.&#34;ACTIVE_QTY&#34;&#62;/&#60;stockcard.&#34;ACTIVE_PACK&#34;&#62;] x [stockcard.&#34;ACTIVE_PACK&#34;]"/>
      <TfrxMemoView Name="stockcardvalue" AllowVectorExport="True" Left="545.69326" Top="2" Width="71.81107" Height="22.67718" DataField="value" DataSet="frxDBDataset2" 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="618.96104" Top="1.77953" Width="56.69295" Height="22.67718" DataSet="frxDBDataset2" 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="676.5201" Top="1.77953" Width="52.91342" 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="732.21305" Top="3" Width="15.11812" Height="18.89765" DataField="FREE_FLAG" DataSet="frxDBDataset2" 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="30.23624" Left="0" Top="404.40971" 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="193.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="[hosp_name]"/>
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="3.63398758" Top="31.01577" Width="748.18780189" 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="420.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="122.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="492.52783" 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="Memo17" AllowVectorExport="True" Left="623.62245" Top="172.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="578.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="351.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="542.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="170.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="170.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="11.33859" 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"/>
    </TfrxReportSummary>
  </TfrxReportPage>
</TfrxReport>
