datamod.dfm
上传用户:fh681027
上传日期:2022-07-23
资源大小:1959k
文件大小:3k
源码类别:

Delphi控件源码

开发平台:

Delphi

  1. object WDataMod: TWDataMod
  2.   OldCreateOrder = False
  3.   Left = 631
  4.   Top = 320
  5.   Height = 354
  6.   Width = 356
  7.   object ibConnection: TSQLConnection
  8.     Connected = True
  9.     ConnectionName = 'IBLocal'
  10.     DriverName = 'Interbase'
  11.     GetDriverFunc = 'getSQLDriverINTERBASE'
  12.     LibraryName = 'dbexpint.dll'
  13.     LoginPrompt = False
  14.     Params.Strings = (
  15.       'BlobSize=-1'
  16.       'CommitRetain=False'
  17.       
  18.         'Database=c:program filesinterbase corpinterbase6examplesdat' +
  19.         'abaseemployee.gdb'
  20.       'DriverName=Interbase'
  21.       'Password=masterkey'
  22.       'RoleName=RoleName'
  23.       'ServerCharSet=ASCII'
  24.       'SQLDialect=1'
  25.       'Interbase TransIsolation=ReadCommited'
  26.       'User_Name=sysdba'
  27.       'WaitOnLocks=True')
  28.     VendorLib = 'GDS32.DLL'
  29.     Left = 40
  30.     Top = 24
  31.   end
  32.   object dsDepartment: TDataSource
  33.     DataSet = cdsDepartment
  34.     Left = 128
  35.     Top = 72
  36.   end
  37.   object cdsDepartment: TSQLClientDataSet
  38.     Active = True
  39.     CommandText = 
  40.       'select DEPARTMENT, DEPT_NO, HEAD_DEPT, LOCATION, BUDGET from DEP' +
  41.       'ARTMENT'
  42.     Aggregates = <>
  43.     Options = [poAllowCommandText]
  44.     ObjectView = True
  45.     Params = <>
  46.     DBConnection = ibConnection
  47.     Left = 48
  48.     Top = 88
  49.   end
  50.   object cdsEmployee: TSQLClientDataSet
  51.     Active = True
  52.     CommandText = 
  53.       'select EMP_NO, FIRST_NAME, LAST_NAME, DEPT_NO, JOB_CODE, JOB_COU' +
  54.       'NTRY, SALARY from EMPLOYEE'
  55.     Aggregates = <>
  56.     IndexFieldNames = 'DEPT_NO'
  57.     MasterFields = 'DEPT_NO'
  58.     MasterSource = dsDepartment
  59.     Options = [poAllowCommandText]
  60.     ObjectView = True
  61.     PacketRecords = 0
  62.     Params = <
  63.       item
  64.         DataType = ftString
  65.         Name = 'DEPT_NO'
  66.         ParamType = ptInput
  67.         Value = '000'
  68.       end>
  69.     DBConnection = ibConnection
  70.     Left = 48
  71.     Top = 144
  72.   end
  73.   object dsaDepartment: TDataSetAdapter
  74.     DataSet = cdsDepartment
  75.     Left = 216
  76.     Top = 32
  77.     object TAdapterDefaultActions
  78.     end
  79.     object TAdapterDefaultFields
  80.       object AdaptDEPARTMENT: TDataSetAdapterField
  81.         DataSetField = 'DEPARTMENT'
  82.       end
  83.       object AdaptDEPT_NO2: TDataSetAdapterField
  84.         DataSetField = 'DEPT_NO'
  85.       end
  86.       object AdaptHEAD_DEPT: TDataSetAdapterField
  87.         DataSetField = 'HEAD_DEPT'
  88.       end
  89.       object AdaptLOCATION: TDataSetAdapterField
  90.         DataSetField = 'LOCATION'
  91.       end
  92.       object AdaptBUDGET: TDataSetAdapterField
  93.         DataSetField = 'BUDGET'
  94.       end
  95.     end
  96.   end
  97.   object dsaEmployee: TDataSetAdapter
  98.     DataSet = cdsEmployee
  99.     MasterAdapter = dsaDepartment
  100.     Left = 216
  101.     Top = 96
  102.     object TAdapterDefaultActions
  103.     end
  104.     object TAdapterDefaultFields
  105.       object AdaptEMP_NO: TDataSetAdapterField
  106.         DataSetField = 'EMP_NO'
  107.       end
  108.       object AdaptFIRST_NAME: TDataSetAdapterField
  109.         DataSetField = 'FIRST_NAME'
  110.       end
  111.       object AdaptLAST_NAME: TDataSetAdapterField
  112.         DataSetField = 'LAST_NAME'
  113.       end
  114.       object AdaptDEPT_NO: TDataSetAdapterField
  115.         DataSetField = 'DEPT_NO'
  116.       end
  117.       object AdaptJOB_CODE: TDataSetAdapterField
  118.         DataSetField = 'JOB_CODE'
  119.       end
  120.       object AdaptJOB_COUNTRY: TDataSetAdapterField
  121.         DataSetField = 'JOB_COUNTRY'
  122.       end
  123.       object AdaptSALARY: TDataSetAdapterField
  124.         DataSetField = 'SALARY'
  125.       end
  126.     end
  127.   end
  128. end