<?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="42516.3378264583" ReportOptions.Description.Text="" ReportOptions.LastChange="42645.5788832523" ScriptLanguage="PascalScript" ScriptText.Text="begin&#13;&#10;&#13;&#10;end.">
  <Datasets>
    <item DataSet="UniDACQuery1" DataSetName="UniDACQuery1"/>
  </Datasets>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxUniDACQuery Name="UniDACQuery1" UserName="UniDACQuery1" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT E.CODE, E.NAME, D.WORKING_CODE, D.DRUG_NAME, D.IS_ED, D.ED_LIST, D.HOSP_LIST,dbo.IS_ED(d.IS_ED) as ED_FLAG      &#13;&#10;FROM&#13;&#10;   DRUG_GN D                       &#13;&#10;    RIGHT JOIN ED_GROUP E ON (left(D.GROUP_CODE,2)+'000000'=E.CODE)  &#13;&#10;where D.HOSP_LIST&#60;&#62;3                &#13;&#10;ORDER BY E.CODE,D.IS_ED,D.DRUG_NAME&#13;&#10;                                   &#13;&#10;       " SQLSchema="eAF1kDFvwjAQhXdL/ic3nA+T0OGGgi0nIk1oHMQQISsIBkTVAfr/VeOqTYZUt92n9/Te683wNayHx+UohX+vmFaoNeUvRFL03XD6uDwisWxNcG2z3wGtIMuAEEEtUQrDpt274GrQCAuFIym4aPwuVKXvQBGCziey3t2v52iMvGmMhT93CwownRSK69e3fxjxoWm3Ze1C0v9mMBP54idZ8pjjmksfrIE5tnz2TcnnaDZpNsfzkQdj/QbGIYpJwL66ft6e62JcPf4p9Y6bKlZAca/4i1tI8Q2iKmKE" SpecificOptions.Text="" PropData="05704C65667403C4000470546F70027C0A506172616D65746572730100"/>
  </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="" Frame.Typ="0" MirrorMode="0" HGuides.Text="" VGuides.Text="">
    <TfrxReportTitle Name="ReportTitle1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22.67718" Left="0" Top="18.89765" Width="718.1107">
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="113.3859" Top="0" Width="597.16574" Height="18.89765" DataSet="UniDACQuery1" DataSetName="UniDACQuery1" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="รายการบัญชียา ร.พ. + ยาสนับสนุน + ยาเฉพาะราย"/>
      <TfrxMemoView Name="Memo2" AllowVectorExport="True" Left="0" Top="0" Width="113.3859" Height="18.89765" DataSet="UniDACQuery1" DataSetName="UniDACQuery1" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="DRUG  LIST"/>
    </TfrxReportTitle>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="18.89765" Left="0" Top="102.04731" Width="718.1107" Condition="&#60;UniDACQuery1.&#34;CODE&#34;&#62;">
      <TfrxMemoView Name="UniDACQuery1CODE" AllowVectorExport="True" Left="0" Top="0" Width="113.3859" Height="18.89765" DataField="CODE" DataSet="UniDACQuery1" DataSetName="UniDACQuery1" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Fill.BackColor="15000804" ParentFont="False" Text="[UniDACQuery1.&#34;CODE&#34;]"/>
      <TfrxMemoView Name="UniDACQuery1NAME" AllowVectorExport="True" Left="113.3859" Top="0" Width="597.16574" Height="18.89765" DataField="NAME" DataSet="UniDACQuery1" DataSetName="UniDACQuery1" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Fill.BackColor="15000804" ParentFont="False" Text="[UniDACQuery1.&#34;NAME&#34;]"/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="0" Left="0" Top="166.29932" Width="718.1107" ColumnWidth="0" ColumnGap="0" DataSet="UniDACQuery1" DataSetName="UniDACQuery1" RowCount="0"/>
    <TfrxGroupHeader Name="GroupHeader2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="0" Left="0" Top="143.62214" Width="718.1107" Condition="UniDACQuery1.&#34;IS_ED&#34;"/>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22.67718" Left="0" Top="188.9765" Width="718.1107">
      <TfrxMemoView Name="UniDACQuery1ED_FLAG" AllowVectorExport="True" Left="113.3859" Top="0" Width="204.09462" Height="22.67718" DataField="ED_FLAG" DataSet="UniDACQuery1" DataSetName="UniDACQuery1" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="TH SarabunPSK" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[UniDACQuery1.&#34;ED_FLAG&#34;]"/>
      <TfrxMemoView Name="UniDACQuery1CODE1" AllowVectorExport="True" Left="317.48052" Top="0" Width="113.3859" Height="22.67718" DataSet="UniDACQuery1" DataSetName="UniDACQuery1" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="TH SarabunPSK" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[COUNT(MasterData1)]"/>
      <TfrxMemoView Name="UniDACQuery1IS_ED" AllowVectorExport="True" Left="430.86642" Top="0" Width="287.24428" Height="22.67718" DataSet="UniDACQuery1" DataSetName="UniDACQuery1" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="TH SarabunPSK" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="รายการ"/>
      <TfrxLineView Name="Line1" AllowVectorExport="True" Left="113.3859" Top="22.67718" Width="597.16574" Height="0" Color="0" Frame.Typ="4"/>
    </TfrxGroupFooter>
  </TfrxReportPage>
</TfrxReport>
