⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datamz2.dfm

📁 本文重点研究的是医院西药药房管理系统
💻 DFM
📖 第 1 页 / 共 2 页
字号:
    object LossHzQueryypunit: TStringField
      FieldName = 'ypunit'
      FixedChar = True
      Size = 4
    end
    object LossHzQueryinamou: TIntegerField
      FieldName = 'inamou'
      ReadOnly = True
    end
    object LossHzQueryinmoney: TBCDField
      DefaultExpression = '###########0.00###'
      FieldName = 'inmoney'
      ReadOnly = True
      Precision = 32
      Size = 5
    end
  end
  object YpQuery1: TADOStoredProc
    Connection = DataMzf.XyMzValiConnection
    LockType = ltBatchOptimistic
    ProcedureName = 'Wh_YpQuery;1'
    Parameters = <
      item
        Name = 'RETURN_VALUE'
        DataType = ftInteger
        Direction = pdReturnValue
        Precision = 10
        Value = 0
      end
      item
        Name = '@YpCode'
        Attributes = [paNullable]
        DataType = ftString
        Size = 12
        Value = ''
      end>
    Left = 328
    Top = 47
    object StringField4: TStringField
      DisplayWidth = 18
      FieldName = 'yp_name'
      FixedChar = True
      Size = 24
    end
    object StringField5: TStringField
      DisplayWidth = 12
      FieldName = 'yp_spec'
      FixedChar = True
    end
    object StringField6: TStringField
      DisplayWidth = 4
      FieldName = 'yp_unit'
      FixedChar = True
      Size = 4
    end
    object SmallintField1: TSmallintField
      FieldName = 'yp_id'
      ReadOnly = True
    end
  end
  object YpSource1: TDataSource
    DataSet = YpQuery1
    Left = 384
    Top = 45
  end
  object GzlProc: TADOStoredProc
    Connection = DataMzf.XyMzValiConnection
    ProcedureName = 'Wh_GzlQuery;1'
    Parameters = <
      item
        Name = 'RETURN_VALUE'
        DataType = ftInteger
        Direction = pdReturnValue
        Precision = 10
        Value = 0
      end
      item
        Name = '@SDate'
        Attributes = [paNullable]
        DataType = ftDateTime
        Value = 0d
      end
      item
        Name = '@EDate'
        Attributes = [paNullable]
        DataType = ftDateTime
        Value = 0d
      end>
    Left = 138
    Top = 49
  end
  object XyMzValiQuery: TADOQuery
    Connection = DataMzf.XyMzValiConnection
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    Parameters = <
      item
        Name = 'HjId'
        Attributes = [paSigned]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = 0
      end>
    SQL.Strings = (
      'select my_id,'
      '       yp_name,'
      '       yp_spec,'
      '       yp_unit,'
      '       yp_batch,'
      '       sc_fact,'
      '       yp_amou,'
      '       ls_price'
      'from XyMzVali,XyId'
      'where XyMzVali.yp_id=XyId.yp_id and'
      '      XyMzVali.hj_id=:hjid'
      ' ')
    Left = 16
    Top = 141
  end
  object XyMzXmValiQuery: TADOQuery
    Connection = DataMzf.XyMzValiConnection
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    Parameters = <
      item
        Name = 'hjid'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end>
    SQL.Strings = (
      'select xm_name,'
      '       hz_name,'
      '       sk_man,'
      '       hj_date,'
      '       ys_money'
      'from MzYpSf,XmId'
      'where MzYpSf.xm_id=XmId.xm_id and'
      '      XmId.Xy_iden=1 and'
      '      MzYpSf.hj_id=:hjid'
      ' '
      '')
    Left = 182
    Top = 141
  end
  object XyMzValiSource: TDataSource
    DataSet = XyMzValiQuery
    Left = 94
    Top = 141
  end
  object XyMzXmValiSource: TDataSource
    DataSet = XyMzXmValiQuery
    Left = 284
    Top = 141
  end
  object XyMzLsConnection: TADOConnection
    ConnectionString = 
      'Provider=SQLOLEDB.1;Persist Security Info=False;User ID=wh;Initi' +
      'al Catalog=qyyfy_run;Data Source=Qy_Nt;Locale Identifier=2052;Co' +
      'nnect Timeout=0;Use Procedure for Prepare=1;Auto Translate=True;' +
      'Packet Size=4096;Workstation ID=NEWWH'
    ConnectionTimeout = 0
    LoginPrompt = False
    Provider = 'SQLOLEDB.1'
    Left = 36
    Top = 187
  end
  object XyMzLsUser: TADOQuery
    Connection = XyMzLsConnection
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select suser_sname()')
    Left = 124
    Top = 187
  end
  object XyMzLsUserSource: TDataSource
    DataSet = XyMzLsUser
    Left = 212
    Top = 187
  end
  object XyMzValiQuery1: TADOQuery
    Connection = DataMzf.XyMzValiConnection
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    Parameters = <
      item
        Name = 'HjId'
        Attributes = [paSigned]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = 0
      end>
    SQL.Strings = (
      'select my_id,'
      '       yp_name,'
      '       yp_spec,'
      '       yp_unit,'
      '       yp_batch,'
      '       sc_fact,'
      '       yp_amou,'
      '       ls_price'
      'from XyMzVali,XyId'
      'where XyMzVali.yp_id=XyId.yp_id and'
      '      XyMzVali.hj_id=:hjid'
      ' ')
    Left = 24
    Top = 233
  end
  object XyMzValiSource1: TDataSource
    DataSet = XyMzValiQuery1
    Left = 110
    Top = 233
  end
  object XyMzXmValiQuery1: TADOQuery
    Connection = DataMzf.XyMzValiConnection
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    Parameters = <
      item
        Name = 'hjid'
        Attributes = [paSigned, paNullable]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end>
    SQL.Strings = (
      'select xm_name,'
      '       hz_name,'
      '       sk_man,'
      '       hj_date,'
      '       ys_money'
      'from MzYpSf,XmId'
      'where MzYpSf.xm_id=XmId.xm_id and'
      '      XmId.Xy_iden=1 and'
      '      MzYpSf.hj_id=:hjid'
      ' '
      '')
    Left = 206
    Top = 233
  end
  object XyMzXmValiSource1: TDataSource
    DataSet = XyMzXmValiQuery1
    Left = 308
    Top = 233
  end
  object XyMzLsConnection1: TADOConnection
    ConnectionString = 
      'Provider=SQLOLEDB.1;Persist Security Info=False;User ID=wh;Initi' +
      'al Catalog=qyyfy_run;Data Source=Qy_Nt;Locale Identifier=2052;Co' +
      'nnect Timeout=0;Use Procedure for Prepare=1;Auto Translate=True;' +
      'Packet Size=4096;Workstation ID=NEWWH'
    ConnectionTimeout = 0
    LoginPrompt = False
    Provider = 'SQLOLEDB.1'
    Left = 312
    Top = 187
  end
  object XyMzLsUser1: TADOQuery
    Connection = XyMzLsConnection1
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select suser_sname()')
    Left = 460
    Top = 141
  end
  object XyMzLsSource1: TDataSource
    DataSet = XyMzLsUser1
    Left = 380
    Top = 141
  end
  object DateRecipeQuery: TADOStoredProc
    Connection = DataMzf.XyMzValiConnection
    ProcedureName = 'Wh_DateRecipe;1'
    Parameters = <
      item
        Name = 'RETURN_VALUE'
        DataType = ftInteger
        Direction = pdReturnValue
        Precision = 10
        Value = 0
      end
      item
        Name = '@QuitIden'
        Attributes = [paNullable]
        DataType = ftSmallint
        Precision = 5
        Value = 0
      end
      item
        Name = '@Sdate'
        Attributes = [paNullable]
        DataType = ftDateTime
        Value = 0d
      end
      item
        Name = '@Edate'
        Attributes = [paNullable]
        DataType = ftDateTime
        Value = 0d
      end>
    Left = 406
    Top = 189
  end
  object DateRecipeSource: TDataSource
    DataSet = DateRecipeQuery
    Left = 408
    Top = 235
  end
  object YpQuery2: TADOStoredProc
    Connection = DataMzf.XyMzValiConnection
    LockType = ltBatchOptimistic
    ProcedureName = 'Wh_YpQuery;1'
    Parameters = <
      item
        Name = 'RETURN_VALUE'
        DataType = ftInteger
        Direction = pdReturnValue
        Precision = 10
        Value = 0
      end
      item
        Name = '@YpCode'
        Attributes = [paNullable]
        DataType = ftString
        Size = 12
        Value = ''
      end>
    Left = 20
    Top = 280
    object StringField7: TStringField
      DisplayWidth = 18
      FieldName = 'yp_name'
      FixedChar = True
      Size = 24
    end
    object StringField8: TStringField
      DisplayWidth = 12
      FieldName = 'yp_spec'
      FixedChar = True
    end
    object StringField9: TStringField
      DisplayWidth = 4
      FieldName = 'yp_unit'
      FixedChar = True
      Size = 4
    end
    object SmallintField2: TSmallintField
      FieldName = 'yp_id'
      ReadOnly = True
    end
  end
  object YpSource2: TDataSource
    DataSet = YpQuery2
    Left = 76
    Top = 278
  end
  object TjSource: TDataSource
    DataSet = TjQuery
    Left = 336
    Top = 278
  end
  object TjQuery: TADOStoredProc
    Connection = DataMzf.XyMzValiConnection
    LockType = ltBatchOptimistic
    ProcedureName = 'Wh_TjQuery;1'
    Parameters = <
      item
        Name = 'RETURN_VALUE'
        DataType = ftInteger
        Direction = pdReturnValue
        Precision = 10
        Value = 0
      end
      item
        Name = '@Sdate'
        Attributes = [paNullable]
        DataType = ftDateTime
        Value = 0d
      end
      item
        Name = '@Edate'
        Attributes = [paNullable]
        DataType = ftDateTime
        Value = 0d
      end
      item
        Name = '@YpId'
        Attributes = [paNullable]
        DataType = ftSmallint
        Precision = 5
        Value = 0
      end>
    Left = 276
    Top = 280
    object TjQuerymyid: TAutoIncField
      FieldName = 'myid'
      ReadOnly = True
    end
    object TjQueryinid: TIntegerField
      FieldName = 'inid'
    end
    object TjQuerymark: TStringField
      FieldName = 'mark'
      FixedChar = True
      Size = 24
    end
    object TjQueryoutamou: TIntegerField
      FieldName = 'outamou'
      ReadOnly = True
    end
    object TjQueryjc_price: TBCDField
      FieldName = 'jc_price'
      Precision = 18
      Size = 5
    end
    object TjQuerytq_price: TBCDField
      FieldName = 'tq_price'
      ReadOnly = True
      Precision = 18
      Size = 5
    end
    object TjQueryjcdate: TDateTimeField
      FieldName = 'jcdate'
    end
    object TjQueryyp_name: TStringField
      FieldName = 'yp_name'
      FixedChar = True
      Size = 24
    end
    object TjQueryyp_spec: TStringField
      FieldName = 'yp_spec'
      FixedChar = True
    end
    object TjQueryyp_unit: TStringField
      FieldName = 'yp_unit'
      FixedChar = True
      Size = 4
    end
  end
  object Date_QrSource: TDataSource
    DataSet = Date_QrQuery
    Left = 456
    Top = 51
  end
  object Date_QrQuery: TADOStoredProc
    Connection = DataMzf.XyMzValiConnection
    ProcedureName = 'Wh_XyMzDateQrRecipe;1'
    Parameters = <
      item
        Name = 'RETURN_VALUE'
        DataType = ftInteger
        Direction = pdReturnValue
        Precision = 10
        Value = 0
      end
      item
        Name = '@QuitIden'
        Attributes = [paNullable]
        DataType = ftSmallint
        Precision = 5
        Value = 0
      end
      item
        Name = '@Sdate'
        Attributes = [paNullable]
        DataType = ftDateTime
        Value = 0d
      end
      item
        Name = '@Edate'
        Attributes = [paNullable]
        DataType = ftDateTime
        Value = 0d
      end>
    Left = 438
    Top = 101
    object Date_QrQueryqrdate: TDateTimeField
      FieldName = 'qrdate'
    end
    object Date_QrQueryqr_man: TStringField
      FieldName = 'qr_man'
      FixedChar = True
      Size = 8
    end
    object Date_QrQueryfh_man: TStringField
      FieldName = 'fh_man'
      FixedChar = True
      Size = 8
    end
    object Date_QrQueryamou: TIntegerField
      FieldName = 'amou'
      ReadOnly = True
    end
    object Date_QrQueryysmoney: TBCDField
      DefaultExpression = '###########0.00###'
      FieldName = 'ysmoney'
      ReadOnly = True
      Precision = 32
      Size = 2
    end
  end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -