home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1998 July / dpcb0798.bin / Business / Persdesk / _SETUP.1 / PERSYST1.EXE / 0 / RCDATA / TINJURYFORM / TINJURYFORM.txt
Text File  |  1998-04-21  |  13KB  |  518 lines

  1. object InjuryForm: TInjuryForm
  2.   Left = 176
  3.   Top = 207
  4.   Width = 503
  5.   Height = 343
  6.   Caption = 'Accident Log'
  7.   Font.Color = clWindowText
  8.   Font.Height = -11
  9.   Font.Name = 'MS Sans Serif'
  10.   Font.Style = []
  11.   KeyPreview = True
  12.   OnClose = FormClose
  13.   OnCreate = FormCreate
  14.   OnKeyUp = FormKeyUp
  15.   PixelsPerInch = 96
  16.   TextHeight = 13
  17.   object Panel1: TPanel
  18.     Left = 0
  19.     Top = 0
  20.     Width = 495
  21.     Height = 49
  22.     Align = alTop
  23.     TabOrder = 0
  24.     object DBNavigator1: TDBNavigator
  25.       Left = 8
  26.       Top = 16
  27.       Width = 231
  28.       Height = 25
  29.       DataSource = InjurySet
  30.       VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbInsert, nbDelete, nbPost]
  31.       ParentShowHint = False
  32.       ShowHint = True
  33.       TabOrder = 0
  34.       OnClick = DBNavigator1Click
  35.     end
  36.     object BitBtn1: TBitBtn
  37.       Left = 408
  38.       Top = 16
  39.       Width = 75
  40.       Height = 25
  41.       TabOrder = 1
  42.       OnClick = BitBtn1Click
  43.       Kind = bkClose
  44.     end
  45.     object BitBtn2: TBitBtn
  46.       Left = 256
  47.       Top = 16
  48.       Width = 129
  49.       Height = 25
  50.       Caption = 'Accident Reports'
  51.       TabOrder = 2
  52.       Visible = False
  53.       OnClick = BitBtn2Click
  54.       Glyph.Data = {
  55.         76010000424D7601000000000000760000002800000020000000100000000100
  56.         04000000000000010000130B0000130B00000000000000000000000000000000
  57.         800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
  58.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00300000000000
  59.         00033FFFFFFFFFFFFFFF0888888888888880777777777777777F088888888888
  60.         8880777777777777777F0000000000000000FFFFFFFFFFFFFFFF0F8F8F8F8F8F
  61.         8F80777777777777777F08F8F8F8F8F8F9F0777777777777777F0F8F8F8F8F8F
  62.         8F807777777777777F7F0000000000000000777777777777777F3330FFFFFFFF
  63.         03333337F3FFFF3F7F333330F0000F0F03333337F77773737F333330FFFFFFFF
  64.         03333337F3FF3FFF7F333330F00F000003333337F773777773333330FFFF0FF0
  65.         33333337F3FF7F3733333330F08F0F0333333337F7737F7333333330FFFF0033
  66.         33333337FFFF7733333333300000033333333337777773333333}
  67.       NumGlyphs = 2
  68.     end
  69.   end
  70.   object InjuryForm: TPageControl
  71.     Left = 0
  72.     Top = 49
  73.     Width = 495
  74.     Height = 267
  75.     ActivePage = TabSheet1
  76.     Align = alClient
  77.     TabOrder = 1
  78.     object TabSheet1: TTabSheet
  79.       Caption = 'Accident'
  80.       object Label2: TLabel
  81.         Left = 24
  82.         Top = 112
  83.         Width = 80
  84.         Height = 13
  85.         Caption = 'Date of Accident'
  86.       end
  87.       object Label3: TLabel
  88.         Left = 232
  89.         Top = 112
  90.         Width = 98
  91.         Height = 13
  92.         Caption = 'Location of Accident'
  93.         FocusControl = LocationMemo
  94.       end
  95.       object SpeedButton1: TSpeedButton
  96.         Left = 112
  97.         Top = 128
  98.         Width = 25
  99.         Height = 25
  100.         Hint = 'Set Diary Entry'
  101.         Glyph.Data = {
  102.           76010000424D7601000000000000760000002800000020000000100000000100
  103.           04000000000000010000130B0000130B00000000000000000000000000000000
  104.           800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
  105.           FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00300000000000
  106.           003337777777777777F330FFFFFFFFFFF03337F3333FFF3337F330FFFF000FFF
  107.           F03337F33377733337F330FFFFF0FFFFF03337F33337F33337F330FFFF00FFFF
  108.           F03337F33377F33337F330FFFFF0FFFFF03337F33337333337F330FFFFFFFFFF
  109.           F03337FFF3F3F3F3F7F33000F0F0F0F0F0333777F7F7F7F7F7F330F0F000F070
  110.           F03337F7F777F777F7F330F0F0F0F070F03337F7F7373777F7F330F0FF0FF0F0
  111.           F03337F733733737F7F330FFFFFFFF00003337F33333337777F330FFFFFFFF0F
  112.           F03337FFFFFFFF7F373330999999990F033337777777777F733330FFFFFFFF00
  113.           333337FFFFFFFF77333330000000000333333777777777733333}
  114.         NumGlyphs = 2
  115.         OnClick = SpeedButton1Click
  116.       end
  117.       object DBEdit1: TDBEdit
  118.         Left = 24
  119.         Top = 128
  120.         Width = 81
  121.         Height = 21
  122.         DataField = 'Date of Accident'
  123.         DataSource = InjurySet
  124.         MaxLength = 0
  125.         TabOrder = 1
  126.       end
  127.       object LocationMemo: TDBMemo
  128.         Left = 232
  129.         Top = 128
  130.         Width = 201
  131.         Height = 105
  132.         DataField = 'Location'
  133.         DataSource = InjurySet
  134.         TabOrder = 0
  135.       end
  136.       object Panel2: TPanel
  137.         Left = 8
  138.         Top = 8
  139.         Width = 465
  140.         Height = 89
  141.         BevelInner = bvLowered
  142.         TabOrder = 2
  143.         object Label1: TLabel
  144.           Left = 24
  145.           Top = 8
  146.           Width = 110
  147.           Height = 13
  148.           Caption = 'Employee Name Select'
  149.         end
  150.         object Label11: TLabel
  151.           Left = 24
  152.           Top = 48
  153.           Width = 3
  154.           Height = 13
  155.           Font.Color = clNavy
  156.           Font.Height = -11
  157.           Font.Name = 'MS Sans Serif'
  158.           Font.Style = []
  159.           ParentFont = False
  160.         end
  161.         object Label12: TLabel
  162.           Left = 24
  163.           Top = 64
  164.           Width = 3
  165.           Height = 13
  166.           Font.Color = clNavy
  167.           Font.Height = -11
  168.           Font.Name = 'MS Sans Serif'
  169.           Font.Style = []
  170.           ParentFont = False
  171.         end
  172.         object DBLookupComboBox1: TDBLookupComboBox
  173.           Left = 24
  174.           Top = 24
  175.           Width = 433
  176.           Height = 21
  177.           DataField = 'Employee ID'
  178.           DataSource = InjurySet
  179.           KeyField = 'Employee ID'
  180.           ListField = 'Surname;First Names;Job Title'
  181.           ListSource = EmployeeSet
  182.           TabOrder = 0
  183.           OnClick = DBLookupComboBox1Click
  184.         end
  185.         object Location: TMemo
  186.           Left = 336
  187.           Top = 48
  188.           Width = 185
  189.           Height = 89
  190.           TabOrder = 1
  191.           Visible = False
  192.         end
  193.         object Howaccidentoccurred: TMemo
  194.           Left = 304
  195.           Top = 40
  196.           Width = 185
  197.           Height = 89
  198.           TabOrder = 2
  199.           Visible = False
  200.         end
  201.         object Witnesses: TMemo
  202.           Left = 376
  203.           Top = 32
  204.           Width = 185
  205.           Height = 89
  206.           TabOrder = 3
  207.           Visible = False
  208.         end
  209.       end
  210.     end
  211.     object TabSheet2: TTabSheet
  212.       Caption = 'Accident Details'
  213.       object Label4: TLabel
  214.         Left = 32
  215.         Top = 56
  216.         Width = 66
  217.         Height = 13
  218.         Caption = 'Activity Group'
  219.       end
  220.       object Label5: TLabel
  221.         Left = 32
  222.         Top = 104
  223.         Width = 111
  224.         Height = 13
  225.         Caption = 'How accident occurred'
  226.         FocusControl = AccidentMemo
  227.       end
  228.       object Label8: TLabel
  229.         Left = 224
  230.         Top = 56
  231.         Width = 66
  232.         Height = 13
  233.         Caption = 'Hazard Group'
  234.       end
  235.       object AccidentMemo: TDBMemo
  236.         Left = 32
  237.         Top = 120
  238.         Width = 417
  239.         Height = 105
  240.         DataField = 'How accident occurred'
  241.         DataSource = InjurySet
  242.         TabOrder = 0
  243.       end
  244.       object Panel3: TPanel
  245.         Left = 16
  246.         Top = 0
  247.         Width = 457
  248.         Height = 49
  249.         BevelInner = bvLowered
  250.         TabOrder = 1
  251.         object Label13: TLabel
  252.           Left = 32
  253.           Top = 12
  254.           Width = 3
  255.           Height = 13
  256.           Font.Color = clNavy
  257.           Font.Height = -11
  258.           Font.Name = 'MS Sans Serif'
  259.           Font.Style = []
  260.           ParentFont = False
  261.         end
  262.         object Label14: TLabel
  263.           Left = 32
  264.           Top = 28
  265.           Width = 3
  266.           Height = 13
  267.           Font.Color = clNavy
  268.           Font.Height = -11
  269.           Font.Name = 'MS Sans Serif'
  270.           Font.Style = []
  271.           ParentFont = False
  272.         end
  273.       end
  274.       object DBComboBox1: TDBComboBox
  275.         Left = 32
  276.         Top = 72
  277.         Width = 145
  278.         Height = 21
  279.         DataField = 'Accident Group'
  280.         DataSource = InjurySet
  281.         ItemHeight = 0
  282.         TabOrder = 2
  283.       end
  284.       object DBComboBox2: TDBComboBox
  285.         Left = 224
  286.         Top = 72
  287.         Width = 145
  288.         Height = 21
  289.         DataField = 'Hazard Group'
  290.         DataSource = InjurySet
  291.         ItemHeight = 0
  292.         TabOrder = 3
  293.       end
  294.     end
  295.     object TabSheet3: TTabSheet
  296.       Caption = 'Injury Details'
  297.       object Label6: TLabel
  298.         Left = 16
  299.         Top = 96
  300.         Width = 162
  301.         Height = 13
  302.         Caption = 'Nature of Injury and Consequence'
  303.         FocusControl = InjuryMemo
  304.       end
  305.       object Label7: TLabel
  306.         Left = 24
  307.         Top = 68
  308.         Width = 108
  309.         Height = 13
  310.         Caption = 'Estimated cost of injury'
  311.         FocusControl = DBEdit2
  312.       end
  313.       object InjuryMemo: TDBMemo
  314.         Left = 16
  315.         Top = 112
  316.         Width = 449
  317.         Height = 113
  318.         DataField = 'Nature of Injury'
  319.         DataSource = InjurySet
  320.         TabOrder = 0
  321.       end
  322.       object DBEdit2: TDBEdit
  323.         Left = 136
  324.         Top = 64
  325.         Width = 121
  326.         Height = 21
  327.         DataField = 'Estimated cost of injury'
  328.         DataSource = InjurySet
  329.         MaxLength = 0
  330.         TabOrder = 1
  331.       end
  332.       object Panel4: TPanel
  333.         Left = 16
  334.         Top = 0
  335.         Width = 457
  336.         Height = 49
  337.         BevelInner = bvLowered
  338.         TabOrder = 2
  339.         object Label15: TLabel
  340.           Left = 24
  341.           Top = 12
  342.           Width = 3
  343.           Height = 13
  344.           Font.Color = clNavy
  345.           Font.Height = -11
  346.           Font.Name = 'MS Sans Serif'
  347.           Font.Style = []
  348.           ParentFont = False
  349.         end
  350.         object Label16: TLabel
  351.           Left = 24
  352.           Top = 28
  353.           Width = 3
  354.           Height = 13
  355.           Font.Color = clNavy
  356.           Font.Height = -11
  357.           Font.Name = 'MS Sans Serif'
  358.           Font.Style = []
  359.           ParentFont = False
  360.         end
  361.       end
  362.     end
  363.     object TabSheet4: TTabSheet
  364.       Caption = 'Witnesses'
  365.       object Label9: TLabel
  366.         Left = 24
  367.         Top = 56
  368.         Width = 69
  369.         Height = 13
  370.         Caption = 'Witness Name'
  371.       end
  372.       object Label10: TLabel
  373.         Left = 24
  374.         Top = 104
  375.         Width = 49
  376.         Height = 13
  377.         Caption = 'Witnesses'
  378.         FocusControl = DBMemo1
  379.       end
  380.       object DBLookupComboBox2: TDBLookupComboBox
  381.         Left = 24
  382.         Top = 72
  383.         Width = 433
  384.         Height = 21
  385.         KeyField = 'Employee ID'
  386.         ListField = 'Surname;First Names;Job Title'
  387.         ListSource = EmployeeSet
  388.         TabOrder = 0
  389.         OnClick = DBLookupComboBox2Click
  390.       end
  391.       object DBMemo1: TDBMemo
  392.         Left = 24
  393.         Top = 120
  394.         Width = 433
  395.         Height = 113
  396.         DataField = 'Witnesses'
  397.         DataSource = InjurySet
  398.         TabOrder = 1
  399.       end
  400.       object Panel5: TPanel
  401.         Left = 8
  402.         Top = 0
  403.         Width = 465
  404.         Height = 49
  405.         BevelInner = bvLowered
  406.         TabOrder = 2
  407.         object Label17: TLabel
  408.           Left = 24
  409.           Top = 12
  410.           Width = 3
  411.           Height = 13
  412.           Font.Color = clNavy
  413.           Font.Height = -11
  414.           Font.Name = 'MS Sans Serif'
  415.           Font.Style = []
  416.           ParentFont = False
  417.         end
  418.         object Label18: TLabel
  419.           Left = 24
  420.           Top = 28
  421.           Width = 3
  422.           Height = 13
  423.           Font.Color = clNavy
  424.           Font.Height = -11
  425.           Font.Name = 'MS Sans Serif'
  426.           Font.Style = []
  427.           ParentFont = False
  428.         end
  429.       end
  430.     end
  431.   end
  432.   object Employee: TTable
  433.     DatabaseName = 'Personnel_System'
  434.     IndexFieldNames = 'Surname;First Names;Title;Employee ID'
  435.     TableName = 'Employee.DB'
  436.     Left = 184
  437.     Top = 65520
  438.     object EmployeeEmployeeID: TStringField
  439.       FieldName = 'Employee ID'
  440.       Size = 9
  441.     end
  442.     object EmployeeSurname: TStringField
  443.       FieldName = 'Surname'
  444.       Size = 25
  445.     end
  446.     object EmployeeFirstNames: TStringField
  447.       FieldName = 'First Names'
  448.       Size = 35
  449.     end
  450.     object EmployeeTitle: TStringField
  451.       FieldName = 'Title'
  452.       Size = 4
  453.     end
  454.     object EmployeeJobTitle: TStringField
  455.       FieldName = 'Job Title'
  456.       Size = 30
  457.     end
  458.   end
  459.   object EmployeeSet: TDataSource
  460.     DataSet = Employee
  461.     Left = 192
  462.     Top = 8
  463.   end
  464.   object Injury: TTable
  465.     BeforeInsert = InjuryBeforeInsert
  466.     AfterInsert = InjuryAfterInsert
  467.     BeforePost = InjuryBeforePost
  468.     DatabaseName = 'Personnel_System'
  469.     IndexFieldNames = 'Employee ID;Date of Accident'
  470.     TableName = 'injury.DB'
  471.     Left = 160
  472.     object InjuryEmployeeID: TStringField
  473.       FieldName = 'Employee ID'
  474.       Size = 9
  475.     end
  476.     object InjuryDateofAccident: TDateField
  477.       FieldName = 'Date of Accident'
  478.       DisplayFormat = 'dd/mm/yyyy'
  479.       EditMask = '!90/90/0000;1;_'
  480.     end
  481.     object InjuryLocation: TMemoField
  482.       FieldName = 'Location'
  483.       BlobType = ftMemo
  484.       Size = 8
  485.     end
  486.     object InjuryHowaccidentoccurred: TMemoField
  487.       FieldName = 'How accident occurred'
  488.       BlobType = ftMemo
  489.       Size = 8
  490.     end
  491.     object InjuryWitnesses: TMemoField
  492.       FieldName = 'Witnesses'
  493.       BlobType = ftMemo
  494.       Size = 8
  495.     end
  496.     object InjuryHazardGroup: TStringField
  497.       FieldName = 'Hazard Group'
  498.       Size = 25
  499.     end
  500.     object InjuryAccidentGroup: TStringField
  501.       FieldName = 'Accident Group'
  502.       Size = 25
  503.     end
  504.     object InjuryNatureofInjury: TMemoField
  505.       FieldName = 'Nature of Injury'
  506.       BlobType = ftMemo
  507.       Size = 8
  508.     end
  509.     object InjuryEstimatedcostofinjury: TCurrencyField
  510.       FieldName = 'Estimated cost of injury'
  511.     end
  512.   end
  513.   object InjurySet: TDataSource
  514.     DataSet = Injury
  515.     Left = 208
  516.   end
  517. end
  518.