<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="6.9.2" DotMatrixReport="False" EngineOptions.SilentMode="True" EngineOptions.NewSilentMode="simSilent" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="12287" PreviewOptions.Modal="False" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="41546.6611873611" ReportOptions.Description.Text="" ReportOptions.LastChange="45861.7155872338" ScriptLanguage="PascalScript" ScriptText.Text="&#13;&#10;procedure DialogPage1OnActivate(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;  date1.date:=now ;&#13;&#10;  date2.date:=now ;&#13;&#10;&#13;&#10;&#13;&#10;    qry_stock.close ;&#13;&#10;  qry_stock.open ;&#13;&#10;&#13;&#10;&#13;&#10;  cbb_stock.keyvalue:= &#60;MY_STOCK_CODE&#62; ;&#13;&#10;&#13;&#10;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure DialogPage1OnShow(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;&#13;&#10;end;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end.">
  <Datasets>
    <item DataSet="qry_rp" DataSetName="rp"/>
    <item DataSet="qry_stock" DataSetName="stock"/>
  </Datasets>
  <Variables>
    <item Name="MY_STOCK_CODE"/>
    <item Name="MY_STOCK_NAME"/>
  </Variables>
  <TfrxDataPage Name="Data" HGuides.Text="" VGuides.Text="" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxUniDACQuery Name="qry_rp" UserName="rp" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="  {IF SQLSERVER}&#13;&#10;SELECT h.HOSP_LIST_DESC,T.HOSP_LIST,COUNT(DISTINCT T.PO_NO) as PO, COUNT(DISTINCT T.INV_NO) as INV,&#13;&#10;SUM(T.RCV_ITEM) as RCV_ITEM,SUM(CASE when (T.FREE_FLAG='N') then T.RCV_VALUE else 0 end) as RCV_VALUE,&#13;&#10;SUM(CASE when T.FREE_FLAG='Y' then T.RCV_VALUE else 0 end) as RCV_FVALUE    &#13;&#10;from (&#13;&#10;select c1.WORKING_CODE,c1.FREE_FLAG,&#13;&#10;(select top 1 g.HOSP_LIST from DRUG_GN g (NOLOCK)  where c1.WORKING_CODE=g.WORKING_CODE  and g.HOSP_LIST is not null ) as HOSP_LIST,&#13;&#10;(select top 1 i.INVOICE_NO from MS_IVO i (NOLOCK) where i.RECEIVE_NO=c1.R_S_NUMBER) as INV_NO,&#13;&#10;(select top 1 i.PO_NO from MS_IVO i (NOLOCK) where i.RECEIVE_NO=c1.R_S_NUMBER) as PO_NO,&#13;&#10;/*sum*/(CASE when c1.R_S_STATUS in ('R','I','G','A') then 1 &#13;&#10;             when c1.R_S_STATUS in ('B') then -1 else 0 end) as RCV_ITEM,&#13;&#10;/*sum*/(CASE when c1.R_S_STATUS in ('R','I','G','A') then c1.[VALUE]&#13;&#10;             when c1.R_S_STATUS in ('B') then c1.VALUE*-1 else NULL end) as RCV_VALUE&#13;&#10;						from CARD c1       (NOLOCK)  &#13;&#10;            where c1.STOCK_ID=:stock_id                                  &#13;&#10;            and  c1.R_S_DATE  BETWEEN :date1 and :date2       &#13;&#10;          /*  group by c1.WORKING_CODE,c1.FREE_FLAG,c1.R_S_NUMBER,c1.TRADE_CODE */    &#13;&#10;) as T&#13;&#10;left join HOSP_LIST h on (h.HOSP_LIST_CODE=T.HOSP_LIST)&#13;&#10;group by h.HOSP_LIST_DESC,T.HOSP_LIST&#13;&#10;order by T.HOSP_LIST&#13;&#10;  &#13;&#10;{ELSE} &#13;&#10; SELECT h.HOSP_LIST_DESC,T.HOSP_LIST,COUNT(DISTINCT T.PO_NO) as PO, COUNT(DISTINCT T.INV_NO) as INV,&#13;&#10;SUM(T.RCV_ITEM) as RCV_ITEM,SUM(CASE when (T.FREE_FLAG='N') then T.RCV_VALUE else 0 end) as RCV_VALUE,&#13;&#10;SUM(CASE when T.FREE_FLAG='Y' then T.RCV_VALUE else 0 end) as RCV_FVALUE    &#13;&#10;from (&#13;&#10;select c1.WORKING_CODE,c1.FREE_FLAG,&#13;&#10;(select  g.HOSP_LIST from DRUG_GN g   where c1.WORKING_CODE=g.WORKING_CODE  and g.HOSP_LIST is not null LIMIT 1 ) as HOSP_LIST,&#13;&#10;(select  i.INVOICE_NO from MS_IVO i  where i.RECEIVE_NO=c1.R_S_NUMBER LIMIT 1) as INV_NO,&#13;&#10;(select  i.PO_NO from MS_IVO i  where i.RECEIVE_NO=c1.R_S_NUMBER LIMIT 1) as PO_NO,&#13;&#10;/*sum*/(CASE when c1.R_S_STATUS in ('R','I','G','A') then 1 &#13;&#10;             when c1.R_S_STATUS in ('B') then -1 else 0 end) as RCV_ITEM,&#13;&#10;/*sum*/(CASE when c1.R_S_STATUS in ('R','I','G','A') then c1.VALUE&#13;&#10;             when c1.R_S_STATUS in ('B') then c1.VALUE*-1 else NULL end) as RCV_VALUE&#13;&#10;						from CARD c1   &#13;&#10;            where c1.STOCK_ID=:stock_id                                  &#13;&#10;            and  c1.R_S_DATE  BETWEEN :date1 and :date2       &#13;&#10;          /*  group by c1.WORKING_CODE,c1.FREE_FLAG,c1.R_S_NUMBER,c1.TRADE_CODE */    &#13;&#10;) as T&#13;&#10;left join HOSP_LIST h on (h.HOSP_LIST_CODE=T.HOSP_LIST)&#13;&#10;group by h.HOSP_LIST_DESC,T.HOSP_LIST&#13;&#10;order by T.HOSP_LIST  &#13;&#10;{ENDIF}&#13;&#10;	    " SpecificOptions.Text="" PropData="05704C65667402540470546F70025C0A506172616D657465727301010644204E616D653D2273746F636B5F6964222044617461547970653D226674537472696E67222045787072657373696F6E3D226362625F73746F636B2E6B657976616C75652200010654204E616D653D226461746531222044617461547970653D226674537472696E67222045787072657373696F6E3D22466F726D61744461746554696D652827595959596D6D6464272C64617465312E64617465292200010654204E616D653D226461746532222044617461547970653D226674537472696E67222045787072657373696F6E3D22466F726D61744461746554696D652827595959596D6D6464272C64617465322E64617465292200010644204E616D653D2273746F636B5F6964222044617461547970653D226674537472696E67222045787072657373696F6E3D226362625F73746F636B2E6B657976616C75652200010654204E616D653D226461746531222044617461547970653D226674537472696E67222045787072657373696F6E3D22466F726D61744461746554696D652827595959596D6D6464272C64617465312E64617465292200010654204E616D653D226461746532222044617461547970653D226674537472696E67222045787072657373696F6E3D22466F726D61744461746554696D652827595959596D6D6464272C64617465322E6461746529220000"/>
    <TfrxUniDACQuery Name="qry_stock" UserName="stock" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="&#13;&#10; {IF SQLSERVER}  &#13;&#10;select * from DEPT_ID (NOLOCK) where HIDE='' or HIDE is null    or HIDE ='N'&#13;&#10;  &#13;&#10;{ELSE} &#13;&#10;select * from DEPT_ID  where HIDE='' or HIDE is null    or HIDE ='N'  &#13;&#10;{ENDIF}    " SpecificOptions.Text="" PropData="05704C656674025D0470546F7003B8000A506172616D65746572730100"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" HGuides.Text="" VGuides.Text="" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0">
    <TfrxReportTitle Name="ReportTitle1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="124.72449" Left="0" Top="18.89765" Width="718.1107">
      <TfrxMemoView Name="Memo2" AllowVectorExport="True" Left="2" Top="3.77953" Width="714.33117" Height="49.13389" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="สรุปการรับยาเข้าคลังแยกตามบัญชียาโรงพยาบาล&#13;&#10;[MY_STOCK_NAME]"/>
      <TfrxLineView Name="Line1" AllowVectorExport="True" Left="3.77953" Top="92.25201" Width="710.55164" Height="0" Color="0" Frame.Color="12632256" Frame.Typ="0" Diagonal="True"/>
      <TfrxLineView Name="Line2" AllowVectorExport="True" Left="3.77953" Top="119.92919" Width="710.55164" Height="0" Color="0" Frame.Color="12632256" Frame.Typ="0" Diagonal="True"/>
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="41.57483" Top="94.47248" Width="124.72449" 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="Memo5" AllowVectorExport="True" Left="327.07112" Top="93.47248" Width="98.26778" Height="22.67718" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="จำนวนใบ INV"/>
      <TfrxMemoView Name="Memo6" AllowVectorExport="True" Left="437.01608" Top="93.25201" Width="79.37013" Height="22.67718" 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="Memo7" AllowVectorExport="True" Left="519.5201" Top="93.47248" Width="90.70872" 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="Memo8" AllowVectorExport="True" Left="243.46475" Top="93.47248" Width="79.37013" Height="22.67718" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="จำนวนใบ PO"/>
      <TfrxMemoView Name="Memo3" AllowVectorExport="True" Left="1.77953" Top="59.45671" Width="714.33117" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="ตั้งแต่วันที่  [formatdatetime('d mmmm',date1.date)] [StrToInt(formatdatetime('YYYY',date1.date))+543]  ถึง  [formatdatetime('d mmmm',date2.date)] [StrToInt(formatdatetime('YYYY',date2.date))+543]   ">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo17" AllowVectorExport="True" Left="618.19728" Top="93.5906" Width="90.70872" 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="มูลค่า (บริจาค)"/>
    </TfrxReportTitle>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="30.23624" Left="0" Top="204.09462" Width="718.1107" ColumnWidth="0" ColumnGap="0" DataSet="qry_rp" DataSetName="rp" RowCount="0">
      <TfrxMemoView Name="inv_md_cQTY_ON_HAND" AllowVectorExport="True" Left="217.5671" Top="1.77953" Width="79.37013" Height="26.45671" DataSet="qry_rp" DataSetName="rp" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[rp.&#34;PO&#34;]"/>
      <TfrxMemoView Name="inv_md_cTRADE_NAME" AllowVectorExport="True" Left="5.77953" Top="1.77953" Width="211.65368" Height="26.45671" StretchMode="smActualHeight" DataSet="qry_rp" DataSetName="rp" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Line#]. [rp.&#34;HOSP_LIST_DESC&#34;]"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="414.20501" Top="0" Width="79.37013" Height="26.45671" DataSet="qry_rp" DataSetName="rp" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[rp.&#34;RCV_ITEM&#34;]"/>
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" Left="517.38621" Top="0" Width="79.37013" Height="26.45671" DataSet="qry_rp" DataSetName="rp" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[rp.&#34;RCV_VALUE&#34;]"/>
      <TfrxMemoView Name="Memo11" AllowVectorExport="True" Left="317.37817" Top="0" Width="79.37013" Height="26.45671" DataSet="qry_rp" DataSetName="rp" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[rp.&#34;INV&#34;]"/>
      <TfrxMemoView Name="Memo18" AllowVectorExport="True" Left="616.06339" Top="0.11812" Width="79.37013" Height="26.45671" DataSet="qry_rp" DataSetName="rp" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[rp.&#34;RCV_FVALUE&#34;]"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="34.01577" Left="0" Top="408.18924" Width="718.1107">
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="640.5201" Top="6" Width="75.5906" Height="18.89765" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Page#]"/>
      <TfrxLineView Name="Line4" AllowVectorExport="True" Left="6.55906" Top="3.77953" Width="279.68522" Height="0" Color="0" Frame.Color="12632256" Frame.Typ="0" Diagonal="True"/>
      <TfrxMemoView Name="Memo21" AllowVectorExport="True" Left="6.55906" Top="5.55906" Width="294.80334" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="มูลค่า*  หมายถึง มูลค่าซื้อเวชภัณฑ์ ไม่รวมมูลค่าบริจาค"/>
    </TfrxPageFooter>
    <TfrxReportSummary Name="ReportSummary1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="90.70872" Left="0" Top="294.80334" Width="718.1107">
      <TfrxMemoView Name="Memo12" AllowVectorExport="True" Left="502.26809" Top="8" Width="94.48825" Height="26.45671" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;rp.&#34;RCV_VALUE&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo13" AllowVectorExport="True" Left="399.08689" Top="7" Width="94.48825" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;rp.&#34;RCV_ITEM&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo14" AllowVectorExport="True" Left="302.26005" Top="7" Width="94.48825" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;rp.&#34;INV&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo15" AllowVectorExport="True" Left="204.09462" Top="7" Width="94.48825" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;rp.&#34;PO&#34;&#62;,MasterData1)]"/>
      <TfrxLineView Name="Line3" AllowVectorExport="True" Left="3.77953" Top="5.77953" Width="710.55164" Height="0" Color="0" Frame.Color="12632256" Frame.Typ="0" Diagonal="True"/>
      <TfrxMemoView Name="Memo16" AllowVectorExport="True" Left="125.72449" Top="9.55906" Width="56.69295" Height="22.67718" 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="Memo19" AllowVectorExport="True" Left="600.94527" Top="8.11812" Width="94.48825" Height="26.45671" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;rp.&#34;RCV_FVALUE&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo20" AllowVectorExport="True" Left="204.09462" Top="52.91342" Width="491.3389" Height="30.23624" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="5" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="รวมทั้งสิ้น [SUM(&#60;rp.&#34;RCV_VALUE&#34;&#62;,MasterData1)+SUM(&#60;rp.&#34;RCV_FVALUE&#34;&#62;,MasterData1)] บาท"/>
      <TfrxLineView Name="Line5" AllowVectorExport="True" Left="3.77953" Top="37.7953" Width="710.55164" Height="0" Color="0" Frame.Color="12632256" Frame.Typ="0" Diagonal="True"/>
    </TfrxReportSummary>
  </TfrxReportPage>
  <TfrxDialogPage Name="DialogPage1" Font.Charset="222" Font.Color="-16777208" Font.Height="-13" Font.Name="MS Sans Serif" Font.Style="0" HGuides.Text="" VGuides.Text="" DoubleBuffered="False" Height="297" ClientHeight="265" Left="371" Top="208" Width="521" Scaled="True" ClientWidth="515" OnActivate="DialogPage1OnActivate">
    <TfrxDateEditControl Name="date1" Left="172" Top="102" Width="105" Height="25" ShowHint="True" Color="-16777211" Date="41559" Time="0.697135868096666" WeekNumbers="False"/>
    <TfrxDateEditControl Name="date2" Left="343" Top="102" Width="109" Height="25" ShowHint="True" Color="-16777211" Date="41559" Time="0.697135868096666" WeekNumbers="False"/>
    <TfrxBitBtnControl Name="" Left="212" Top="176" Width="87" Height="33" Font.Charset="0" Font.Color="-16777208" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" ShowHint="True" Glyph.PropData="04446174610AE2010000DE010000424DDE01000000000000760000002800000024000000120000000100040000000000680100000000000000000000100000000000000000000000000080000080000000808000800000008000800080800000C0C0C000808080000000FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF003333333333333333333333333333333333330000333333333333333333333333F3333333333300003333344333333333333333388F3333333333000033334224333333333333338338F3333333330000333422224333333333333833338F3333333300003342222224333333333383333338F3333333000034222A22224333333338F338F3338F33333300003222A3A2224333333338F3838F338F33333300003A2A333A222433333338F83338F338F33333000033A33333A222433333338333338F338F33330000333333333A222433333333333338F338F33300003333333333A222433333333333338F338F33000033333333333A222433333333333338F338F30000333333333333A222433333333333338F338F00003333333333333A224333333333333338F38F000033333333333333A223333333333333338F830000333333333333333A3333333333333333383300003333333333333333333333333333333333330000" Kind="bkOK" Caption="OK" ModalResult="1" NumGlyphs="2"/>
    <TfrxDBLookupComboBox Name="cbb_stock" Left="108" Top="48" Width="345" Height="37" Font.Charset="0" Font.Color="-16777208" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" ShowHint="True" DataSet="qry_stock" DataSetName="stock" ListField="DEPT_NAME" KeyField="DEPT_ID" DropDownWidth="0" DropDownRows="7"/>
    <TfrxLabelControl Name="Label1" Left="60" Top="52" Width="31" Height="20" Font.Charset="222" Font.Color="-16777208" Font.Height="-17" Font.Name="MS Sans Serif" Font.Style="0" ParentFont="False" ShowHint="True" Caption="เลือก" Color="-16777201"/>
    <TfrxLabelControl Name="Label2" Left="132" Top="104" Width="26" Height="20" Font.Charset="222" Font.Color="-16777208" Font.Height="-17" Font.Name="MS Sans Serif" Font.Style="0" ParentFont="False" ShowHint="True" Caption="วันที่" Color="-16777201"/>
    <TfrxLabelControl Name="Label3" Left="288" Top="104" Width="26" Height="20" Font.Charset="222" Font.Color="-16777208" Font.Height="-17" Font.Name="MS Sans Serif" Font.Style="0" ParentFont="False" ShowHint="True" Caption="วันที่" Color="-16777201"/>
  </TfrxDialogPage>
</TfrxReport>
