F_RenYuanJiBenXinXi.frm
上传用户:xiao_xia32
上传日期:2022-07-21
资源大小:1174k
文件大小:54k
源码类别:

企业管理

开发平台:

Visual Basic

  1. VERSION 5.00
  2. Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
  3. Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
  4. Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
  5. Begin VB.Form F_RenYuanJiBenXinXi 
  6.    BorderStyle     =   3  'Fixed Dialog
  7.    Caption         =   "员工基本情况"
  8.    ClientHeight    =   7965
  9.    ClientLeft      =   1095
  10.    ClientTop       =   330
  11.    ClientWidth     =   9735
  12.    ControlBox      =   0   'False
  13.    KeyPreview      =   -1  'True
  14.    LinkTopic       =   "Form1"
  15.    MaxButton       =   0   'False
  16.    MinButton       =   0   'False
  17.    Moveable        =   0   'False
  18.    ScaleHeight     =   7965
  19.    ScaleWidth      =   9735
  20.    StartUpPosition =   2  'CenterScreen
  21.    Begin VB.Frame Frame1 
  22.       Height          =   7935
  23.       Left            =   0
  24.       TabIndex        =   0
  25.       Top             =   0
  26.       Width           =   9615
  27.       Begin TabDlg.SSTab SSTab1 
  28.          Height          =   7815
  29.          Left            =   0
  30.          TabIndex        =   1
  31.          Top             =   120
  32.          Width           =   9405
  33.          _ExtentX        =   16589
  34.          _ExtentY        =   13785
  35.          _Version        =   393216
  36.          Tabs            =   2
  37.          TabHeight       =   520
  38.          TabCaption(0)   =   "编辑"
  39.          TabPicture(0)   =   "F_RenYuanJiBenXinXi.frx":0000
  40.          Tab(0).ControlEnabled=   -1  'True
  41.          Tab(0).Control(0)=   "Picture1"
  42.          Tab(0).Control(0).Enabled=   0   'False
  43.          Tab(0).Control(1)=   "Frame2"
  44.          Tab(0).Control(1).Enabled=   0   'False
  45.          Tab(0).ControlCount=   2
  46.          TabCaption(1)   =   "列表"
  47.          TabPicture(1)   =   "F_RenYuanJiBenXinXi.frx":001C
  48.          Tab(1).ControlEnabled=   0   'False
  49.          Tab(1).Control(0)=   "Frame3"
  50.          Tab(1).Control(0).Enabled=   0   'False
  51.          Tab(1).ControlCount=   1
  52.          Begin VB.Frame Frame2 
  53.             Height          =   7095
  54.             Left            =   120
  55.             TabIndex        =   12
  56.             Top             =   360
  57.             Width           =   9135
  58.             Begin VB.TextBox txtFields 
  59.                DataField       =   "员工号"
  60.                Height          =   285
  61.                Index           =   1
  62.                Left            =   1320
  63.                TabIndex        =   68
  64.                Top             =   240
  65.                Width           =   1695
  66.             End
  67.             Begin VB.TextBox txtFields 
  68.                DataField       =   "姓名"
  69.                Height          =   285
  70.                Index           =   2
  71.                Left            =   4200
  72.                TabIndex        =   67
  73.                Top             =   240
  74.                Width           =   1695
  75.             End
  76.             Begin VB.TextBox txtFields 
  77.                DataField       =   "性别"
  78.                Height          =   285
  79.                Index           =   3
  80.                Left            =   7200
  81.                TabIndex        =   66
  82.                Top             =   240
  83.                Width           =   1695
  84.             End
  85.             Begin VB.TextBox txtFields 
  86.                DataField       =   "民族"
  87.                Height          =   285
  88.                Index           =   5
  89.                Left            =   7200
  90.                TabIndex        =   65
  91.                Top             =   960
  92.                Width           =   1695
  93.             End
  94.             Begin VB.TextBox txtFields 
  95.                DataField       =   "政治面目"
  96.                Height          =   285
  97.                Index           =   6
  98.                Left            =   1320
  99.                TabIndex        =   64
  100.                Top             =   1680
  101.                Width           =   1695
  102.             End
  103.             Begin VB.TextBox txtFields 
  104.                DataField       =   "婚姻状况"
  105.                Height          =   285
  106.                Index           =   7
  107.                Left            =   4200
  108.                TabIndex        =   63
  109.                Top             =   1680
  110.                Width           =   1695
  111.             End
  112.             Begin VB.TextBox txtFields 
  113.                DataField       =   "身份证号"
  114.                Height          =   285
  115.                Index           =   8
  116.                Left            =   7200
  117.                TabIndex        =   62
  118.                Top             =   1680
  119.                Width           =   1695
  120.             End
  121.             Begin VB.TextBox txtFields 
  122.                DataField       =   "学历"
  123.                Height          =   285
  124.                Index           =   9
  125.                Left            =   1320
  126.                TabIndex        =   61
  127.                Top             =   2040
  128.                Width           =   1695
  129.             End
  130.             Begin VB.TextBox txtFields 
  131.                DataField       =   "所学专业"
  132.                Height          =   285
  133.                Index           =   10
  134.                Left            =   4200
  135.                TabIndex        =   60
  136.                Top             =   2040
  137.                Width           =   1695
  138.             End
  139.             Begin VB.TextBox txtFields 
  140.                DataField       =   "毕业学校"
  141.                Height          =   285
  142.                Index           =   11
  143.                Left            =   7200
  144.                TabIndex        =   59
  145.                Top             =   2040
  146.                Width           =   1695
  147.             End
  148.             Begin VB.TextBox txtFields 
  149.                DataField       =   "职称"
  150.                Height          =   285
  151.                Index           =   12
  152.                Left            =   1320
  153.                TabIndex        =   58
  154.                Top             =   2400
  155.                Width           =   1695
  156.             End
  157.             Begin VB.TextBox txtFields 
  158.                DataField       =   "技术证书"
  159.                Height          =   285
  160.                Index           =   14
  161.                Left            =   7200
  162.                TabIndex        =   57
  163.                Top             =   2400
  164.                Width           =   1695
  165.             End
  166.             Begin VB.TextBox txtFields 
  167.                DataField       =   "驾驶证号"
  168.                Height          =   285
  169.                Index           =   15
  170.                Left            =   4200
  171.                TabIndex        =   56
  172.                Top             =   2760
  173.                Width           =   1695
  174.             End
  175.             Begin VB.TextBox txtFields 
  176.                DataField       =   "准驾车辆"
  177.                Height          =   285
  178.                Index           =   16
  179.                Left            =   7200
  180.                TabIndex        =   55
  181.                Top             =   2760
  182.                Width           =   1695
  183.             End
  184.             Begin VB.TextBox txtFields 
  185.                DataField       =   "有效期限"
  186.                Height          =   285
  187.                Index           =   17
  188.                Left            =   4200
  189.                TabIndex        =   54
  190.                Top             =   3120
  191.                Width           =   1695
  192.             End
  193.             Begin VB.TextBox txtFields 
  194.                DataField       =   "身高"
  195.                Height          =   285
  196.                Index           =   30
  197.                Left            =   1320
  198.                TabIndex        =   53
  199.                Top             =   600
  200.                Width           =   1695
  201.             End
  202.             Begin VB.TextBox txtFields 
  203.                DataField       =   "生育指标"
  204.                Height          =   285
  205.                Index           =   34
  206.                Left            =   1320
  207.                TabIndex        =   52
  208.                Top             =   4560
  209.                Width           =   1695
  210.             End
  211.             Begin VB.TextBox txtFields 
  212.                DataField       =   "计划生育措施"
  213.                Height          =   285
  214.                Index           =   35
  215.                Left            =   4200
  216.                TabIndex        =   51
  217.                Top             =   4560
  218.                Width           =   1695
  219.             End
  220.             Begin VB.TextBox txtFields 
  221.                DataField       =   "家庭通讯地址"
  222.                Height          =   285
  223.                Index           =   36
  224.                Left            =   1320
  225.                TabIndex        =   50
  226.                Top             =   3480
  227.                Width           =   1695
  228.             End
  229.             Begin VB.TextBox txtFields 
  230.                DataField       =   "邮编"
  231.                Height          =   285
  232.                Index           =   37
  233.                Left            =   4200
  234.                TabIndex        =   49
  235.                Top             =   3480
  236.                Width           =   1695
  237.             End
  238.             Begin VB.TextBox txtFields 
  239.                DataField       =   "电话"
  240.                Height          =   285
  241.                Index           =   38
  242.                Left            =   7200
  243.                TabIndex        =   48
  244.                Top             =   3480
  245.                Width           =   1695
  246.             End
  247.             Begin VB.TextBox txtFields 
  248.                DataField       =   "传呼机"
  249.                Height          =   285
  250.                Index           =   39
  251.                Left            =   1320
  252.                TabIndex        =   47
  253.                Top             =   3840
  254.                Width           =   1695
  255.             End
  256.             Begin VB.TextBox txtFields 
  257.                DataField       =   "移动电话"
  258.                Height          =   285
  259.                Index           =   40
  260.                Left            =   4200
  261.                TabIndex        =   46
  262.                Top             =   3840
  263.                Width           =   1695
  264.             End
  265.             Begin VB.TextBox txtFields 
  266.                DataField       =   "爱人姓名"
  267.                Height          =   285
  268.                Index           =   41
  269.                Left            =   7200
  270.                TabIndex        =   45
  271.                Top             =   3840
  272.                Width           =   1695
  273.             End
  274.             Begin VB.TextBox txtFields 
  275.                DataField       =   "爱人工作单位"
  276.                Height          =   285
  277.                Index           =   43
  278.                Left            =   4200
  279.                TabIndex        =   44
  280.                Top             =   4200
  281.                Width           =   1695
  282.             End
  283.             Begin VB.TextBox txtFields 
  284.                DataField       =   "爱人联系电话"
  285.                Height          =   285
  286.                Index           =   44
  287.                Left            =   7200
  288.                TabIndex        =   43
  289.                Top             =   4200
  290.                Width           =   1695
  291.             End
  292.             Begin VB.TextBox txtFields 
  293.                DataField       =   "独生子女姓名"
  294.                Height          =   285
  295.                Index           =   45
  296.                Left            =   7200
  297.                TabIndex        =   42
  298.                Top             =   4560
  299.                Width           =   1695
  300.             End
  301.             Begin VB.TextBox txtFields 
  302.                DataField       =   "子女性别"
  303.                Height          =   285
  304.                Index           =   47
  305.                Left            =   4200
  306.                TabIndex        =   41
  307.                Top             =   4920
  308.                Width           =   1695
  309.             End
  310.             Begin VB.TextBox txtFields 
  311.                DataField       =   "离职类型"
  312.                Height          =   285
  313.                Index           =   54
  314.                Left            =   1320
  315.                TabIndex        =   40
  316.                Top             =   9000
  317.                Width           =   1695
  318.             End
  319.             Begin VB.TextBox txtFields 
  320.                DataField       =   "籍贯"
  321.                Height          =   285
  322.                Index           =   57
  323.                Left            =   1320
  324.                TabIndex        =   39
  325.                Top             =   1320
  326.                Width           =   1695
  327.             End
  328.             Begin VB.TextBox txtFields 
  329.                DataField       =   "出生地点"
  330.                Height          =   285
  331.                Index           =   58
  332.                Left            =   4200
  333.                TabIndex        =   38
  334.                Top             =   1320
  335.                Width           =   1695
  336.             End
  337.             Begin VB.TextBox txtFields 
  338.                DataField       =   "户口所在地"
  339.                Height          =   285
  340.                Index           =   59
  341.                Left            =   7200
  342.                TabIndex        =   37
  343.                Top             =   1320
  344.                Width           =   1695
  345.             End
  346.             Begin VB.TextBox txtFields 
  347.                DataField       =   "用工类型"
  348.                Height          =   285
  349.                Index           =   23
  350.                Left            =   7200
  351.                TabIndex        =   36
  352.                Top             =   6360
  353.                Width           =   1695
  354.             End
  355.             Begin VB.TextBox txtFields 
  356.                DataField       =   "招收类型"
  357.                Height          =   285
  358.                Index           =   26
  359.                Left            =   1320
  360.                TabIndex        =   35
  361.                Top             =   6720
  362.                Width           =   1695
  363.             End
  364.             Begin VB.TextBox txtFields 
  365.                DataField       =   "人员类型一级"
  366.                Height          =   285
  367.                Index           =   27
  368.                Left            =   4200
  369.                TabIndex        =   34
  370.                Top             =   6720
  371.                Width           =   1695
  372.             End
  373.             Begin VB.TextBox txtFields 
  374.                DataField       =   "人员类型二级"
  375.                Height          =   285
  376.                Index           =   28
  377.                Left            =   7200
  378.                TabIndex        =   33
  379.                Top             =   6720
  380.                Width           =   1695
  381.             End
  382.             Begin VB.TextBox txtFields 
  383.                DataField       =   "劳动力类型"
  384.                Height          =   285
  385.                Index           =   29
  386.                Left            =   7200
  387.                TabIndex        =   32
  388.                Top             =   4920
  389.                Width           =   1695
  390.             End
  391.             Begin VB.TextBox txtFields 
  392.                DataField       =   "原任职单位"
  393.                Height          =   285
  394.                Index           =   60
  395.                Left            =   1320
  396.                TabIndex        =   31
  397.                Top             =   6000
  398.                Width           =   1695
  399.             End
  400.             Begin VB.TextBox txtFields 
  401.                DataField       =   "原职务"
  402.                Height          =   285
  403.                Index           =   61
  404.                Left            =   4200
  405.                TabIndex        =   30
  406.                Top             =   6000
  407.                Width           =   1695
  408.             End
  409.             Begin VB.TextBox txtFields 
  410.                DataField       =   "体重"
  411.                Height          =   285
  412.                Index           =   31
  413.                Left            =   4200
  414.                TabIndex        =   29
  415.                Top             =   600
  416.                Width           =   1695
  417.             End
  418.             Begin VB.TextBox txtFields 
  419.                DataField       =   "血型"
  420.                Height          =   285
  421.                Index           =   32
  422.                Left            =   7200
  423.                TabIndex        =   28
  424.                Top             =   600
  425.                Width           =   1695
  426.             End
  427.             Begin VB.TextBox txtFields 
  428.                DataField       =   "健康情况"
  429.                Height          =   285
  430.                Index           =   33
  431.                Left            =   1320
  432.                TabIndex        =   27
  433.                Top             =   960
  434.                Width           =   1695
  435.             End
  436.             Begin VB.TextBox txtFields 
  437.                DataField       =   "特长"
  438.                Height          =   285
  439.                Index           =   62
  440.                Left            =   1320
  441.                TabIndex        =   26
  442.                Top             =   2760
  443.                Width           =   1695
  444.             End
  445.             Begin MSComCtl2.DTPicker DTPicker13 
  446.                DataField       =   "档案转入时间"
  447.                Height          =   300
  448.                Left            =   1320
  449.                TabIndex        =   13
  450.                Top             =   6360
  451.                Width           =   1695
  452.                _ExtentX        =   2990
  453.                _ExtentY        =   529
  454.                _Version        =   393216
  455.                CheckBox        =   -1  'True
  456.                Format          =   66519041
  457.                CurrentDate     =   36191
  458.             End
  459.             Begin MSComCtl2.DTPicker DTPicker12 
  460.                DataField       =   "转正时间"
  461.                Height          =   300
  462.                Left            =   4200
  463.                TabIndex        =   14
  464.                Top             =   6360
  465.                Width           =   1695
  466.                _ExtentX        =   2990
  467.                _ExtentY        =   529
  468.                _Version        =   393216
  469.                CheckBox        =   -1  'True
  470.                Format          =   66519041
  471.                CurrentDate     =   36191
  472.             End
  473.             Begin MSComCtl2.DTPicker DTPicker11 
  474.                DataField       =   "进入公司时间"
  475.                Height          =   300
  476.                Left            =   7200
  477.                TabIndex        =   15
  478.                Top             =   6000
  479.                Width           =   1695
  480.                _ExtentX        =   2990
  481.                _ExtentY        =   529
  482.                _Version        =   393216
  483.                CheckBox        =   -1  'True
  484.                Format          =   66519041
  485.                CurrentDate     =   36191
  486.             End
  487.             Begin MSComCtl2.DTPicker DTPicker10 
  488.                DataField       =   "子女医疗包干结束时间"
  489.                Height          =   300
  490.                Left            =   7200
  491.                TabIndex        =   16
  492.                Top             =   5640
  493.                Width           =   1695
  494.                _ExtentX        =   2990
  495.                _ExtentY        =   529
  496.                _Version        =   393216
  497.                CheckBox        =   -1  'True
  498.                Format          =   66519041
  499.                CurrentDate     =   36191
  500.             End
  501.             Begin MSComCtl2.DTPicker DTPicker9 
  502.                DataField       =   "独生子女费结束时间"
  503.                Height          =   300
  504.                Left            =   7200
  505.                TabIndex        =   17
  506.                Top             =   5280
  507.                Width           =   1695
  508.                _ExtentX        =   2990
  509.                _ExtentY        =   529
  510.                _Version        =   393216
  511.                CheckBox        =   -1  'True
  512.                Format          =   66519041
  513.                CurrentDate     =   36191
  514.             End
  515.             Begin MSComCtl2.DTPicker DTPicker8 
  516.                DataField       =   "子女医疗包干开始时间"
  517.                Height          =   300
  518.                Left            =   3000
  519.                TabIndex        =   18
  520.                Top             =   5640
  521.                Width           =   1575
  522.                _ExtentX        =   2778
  523.                _ExtentY        =   529
  524.                _Version        =   393216
  525.                CheckBox        =   -1  'True
  526.                Format          =   66519041
  527.                CurrentDate     =   36191
  528.             End
  529.             Begin MSComCtl2.DTPicker DTPicker7 
  530.                DataField       =   "独生子女费开始时间"
  531.                Height          =   300
  532.                Left            =   3000
  533.                TabIndex        =   19
  534.                Top             =   5280
  535.                Width           =   1575
  536.                _ExtentX        =   2778
  537.                _ExtentY        =   529
  538.                _Version        =   393216
  539.                CheckBox        =   -1  'True
  540.                Format          =   66519041
  541.                CurrentDate     =   36191
  542.             End
  543.             Begin MSComCtl2.DTPicker DTPicker6 
  544.                DataField       =   "子女出生日期"
  545.                Height          =   300
  546.                Left            =   1320
  547.                TabIndex        =   20
  548.                Top             =   4920
  549.                Width           =   1695
  550.                _ExtentX        =   2990
  551.                _ExtentY        =   529
  552.                _Version        =   393216
  553.                CheckBox        =   -1  'True
  554.                Format          =   66519041
  555.                CurrentDate     =   36191
  556.             End
  557.             Begin MSComCtl2.DTPicker DTPicker5 
  558.                DataField       =   "爱人出生日期"
  559.                Height          =   300
  560.                Left            =   1320
  561.                TabIndex        =   21
  562.                Top             =   4200
  563.                Width           =   1695
  564.                _ExtentX        =   2990
  565.                _ExtentY        =   529
  566.                _Version        =   393216
  567.                CheckBox        =   -1  'True
  568.                Format          =   66519041
  569.                CurrentDate     =   36191
  570.             End
  571.             Begin MSComCtl2.DTPicker DTPicker4 
  572.                DataField       =   "参加工作时间"
  573.                Height          =   300
  574.                Left            =   7200
  575.                TabIndex        =   22
  576.                Top             =   3120
  577.                Width           =   1695
  578.                _ExtentX        =   2990
  579.                _ExtentY        =   529
  580.                _Version        =   393216
  581.                CheckBox        =   -1  'True
  582.                Format          =   66519041
  583.                CurrentDate     =   36191
  584.             End
  585.             Begin MSComCtl2.DTPicker DTPicker3 
  586.                DataField       =   "初次领证时间"
  587.                Height          =   300
  588.                Left            =   1320
  589.                TabIndex        =   23
  590.                Top             =   3120
  591.                Width           =   1695
  592.                _ExtentX        =   2990
  593.                _ExtentY        =   529
  594.                _Version        =   393216
  595.                CheckBox        =   -1  'True
  596.                Format          =   66519041
  597.                CurrentDate     =   36191
  598.             End
  599.             Begin MSComCtl2.DTPicker DTPicker2 
  600.                DataField       =   "职称评定时间"
  601.                Height          =   300
  602.                Left            =   4200
  603.                TabIndex        =   24
  604.                Top             =   2400
  605.                Width           =   1695
  606.                _ExtentX        =   2990
  607.                _ExtentY        =   529
  608.                _Version        =   393216
  609.                CheckBox        =   -1  'True
  610.                Format          =   66519041
  611.                CurrentDate     =   36191
  612.             End
  613.             Begin MSComCtl2.DTPicker DTPicker1 
  614.                DataField       =   "出生日期"
  615.                Height          =   300
  616.                Left            =   4200
  617.                TabIndex        =   25
  618.                Top             =   960
  619.                Width           =   1695
  620.                _ExtentX        =   2990
  621.                _ExtentY        =   529
  622.                _Version        =   393216
  623.                CheckBox        =   -1  'True
  624.                Format          =   66519041
  625.                CurrentDate     =   36191
  626.             End
  627.             Begin VB.Label lblLabels 
  628.                Caption         =   "初次领证时间:"
  629.                Height          =   255
  630.                Index           =   0
  631.                Left            =   120
  632.                TabIndex        =   124
  633.                Top             =   3120
  634.                Width           =   1215
  635.             End
  636.             Begin VB.Label lblLabels 
  637.                Caption         =   "员工号:"
  638.                Height          =   255
  639.                Index           =   1
  640.                Left            =   120
  641.                TabIndex        =   123
  642.                Top             =   240
  643.                Width           =   735
  644.             End
  645.             Begin VB.Label lblLabels 
  646.                Caption         =   "姓名:"
  647.                Height          =   255
  648.                Index           =   2
  649.                Left            =   3120
  650.                TabIndex        =   122
  651.                Top             =   240
  652.                Width           =   615
  653.             End
  654.             Begin VB.Label lblLabels 
  655.                Caption         =   "性别:"
  656.                Height          =   255
  657.                Index           =   3
  658.                Left            =   6000
  659.                TabIndex        =   121
  660.                Top             =   240
  661.                Width           =   615
  662.             End
  663.             Begin VB.Label lblLabels 
  664.                Caption         =   "出生日期:"
  665.                Height          =   255
  666.                Index           =   4
  667.                Left            =   3120
  668.                TabIndex        =   120
  669.                Top             =   960
  670.                Width           =   855
  671.             End
  672.             Begin VB.Label lblLabels 
  673.                Caption         =   "民族:"
  674.                Height          =   255
  675.                Index           =   5
  676.                Left            =   6000
  677.                TabIndex        =   119
  678.                Top             =   960
  679.                Width           =   615
  680.             End
  681.             Begin VB.Label lblLabels 
  682.                Caption         =   "政治面目:"
  683.                Height          =   255
  684.                Index           =   6
  685.                Left            =   120
  686.                TabIndex        =   118
  687.                Top             =   1680
  688.                Width           =   855
  689.             End
  690.             Begin VB.Label lblLabels 
  691.                Caption         =   "婚姻状况:"
  692.                Height          =   255
  693.                Index           =   7
  694.                Left            =   3120
  695.                TabIndex        =   117
  696.                Top             =   1680
  697.                Width           =   855
  698.             End
  699.             Begin VB.Label lblLabels 
  700.                Caption         =   "身份证号:"
  701.                Height          =   255
  702.                Index           =   8
  703.                Left            =   6000
  704.                TabIndex        =   116
  705.                Top             =   1680
  706.                Width           =   855
  707.             End
  708.             Begin VB.Label lblLabels 
  709.                Caption         =   "学历:"
  710.                Height          =   255
  711.                Index           =   9
  712.                Left            =   120
  713.                TabIndex        =   115
  714.                Top             =   2040
  715.                Width           =   615
  716.             End
  717.             Begin VB.Label lblLabels 
  718.                Caption         =   "所学专业:"
  719.                Height          =   255
  720.                Index           =   10
  721.                Left            =   3120
  722.                TabIndex        =   114
  723.                Top             =   2040
  724.                Width           =   855
  725.             End
  726.             Begin VB.Label lblLabels 
  727.                Caption         =   "毕业学校:"
  728.                Height          =   255
  729.                Index           =   11
  730.                Left            =   6000
  731.                TabIndex        =   113
  732.                Top             =   2040
  733.                Width           =   855
  734.             End
  735.             Begin VB.Label lblLabels 
  736.                Caption         =   "职称:"
  737.                Height          =   255
  738.                Index           =   12
  739.                Left            =   120
  740.                TabIndex        =   112
  741.                Top             =   2400
  742.                Width           =   615
  743.             End
  744.             Begin VB.Label lblLabels 
  745.                Caption         =   "职称评定时间:"
  746.                Height          =   255
  747.                Index           =   13
  748.                Left            =   3120
  749.                TabIndex        =   111
  750.                Top             =   2400
  751.                Width           =   1335
  752.             End
  753.             Begin VB.Label lblLabels 
  754.                Caption         =   "技术证书:"
  755.                Height          =   255
  756.                Index           =   14
  757.                Left            =   6000
  758.                TabIndex        =   110
  759.                Top             =   2400
  760.                Width           =   1095
  761.             End
  762.             Begin VB.Label lblLabels 
  763.                Caption         =   "驾驶证号:"
  764.                Height          =   255
  765.                Index           =   15
  766.                Left            =   3120
  767.                TabIndex        =   109
  768.                Top             =   2760
  769.                Width           =   855
  770.             End
  771.             Begin VB.Label lblLabels 
  772.                Caption         =   "准驾车辆:"
  773.                Height          =   255
  774.                Index           =   16
  775.                Left            =   6000
  776.                TabIndex        =   108
  777.                Top             =   2760
  778.                Width           =   975
  779.             End
  780.             Begin VB.Label lblLabels 
  781.                Caption         =   "有效期限:"
  782.                Height          =   255
  783.                Index           =   17
  784.                Left            =   3120
  785.                TabIndex        =   107
  786.                Top             =   3120
  787.                Width           =   855
  788.             End
  789.             Begin VB.Label lblLabels 
  790.                Caption         =   "参加工作时间:"
  791.                Height          =   255
  792.                Index           =   18
  793.                Left            =   6000
  794.                TabIndex        =   106
  795.                Top             =   3120
  796.                Width           =   1215
  797.             End
  798.             Begin VB.Label lblLabels 
  799.                Caption         =   "生育指标:"
  800.                Height          =   255
  801.                Index           =   34
  802.                Left            =   120
  803.                TabIndex        =   105
  804.                Top             =   4560
  805.                Width           =   855
  806.             End
  807.             Begin VB.Label lblLabels 
  808.                Caption         =   "计划生育措施:"
  809.                Height          =   255
  810.                Index           =   35
  811.                Left            =   3120
  812.                TabIndex        =   104
  813.                Top             =   4560
  814.                Width           =   1095
  815.             End
  816.             Begin VB.Label lblLabels 
  817.                Caption         =   "家庭通讯地址:"
  818.                Height          =   255
  819.                Index           =   36
  820.                Left            =   120
  821.                TabIndex        =   103
  822.                Top             =   3480
  823.                Width           =   1215
  824.             End
  825.             Begin VB.Label lblLabels 
  826.                Caption         =   "邮编:"
  827.                Height          =   255
  828.                Index           =   37
  829.                Left            =   3120
  830.                TabIndex        =   102
  831.                Top             =   3480
  832.                Width           =   735
  833.             End
  834.             Begin VB.Label lblLabels 
  835.                Caption         =   "电话:"
  836.                Height          =   255
  837.                Index           =   38
  838.                Left            =   6000
  839.                TabIndex        =   101
  840.                Top             =   3480
  841.                Width           =   615
  842.             End
  843.             Begin VB.Label lblLabels 
  844.                Caption         =   "传呼机:"
  845.                Height          =   255
  846.                Index           =   39
  847.                Left            =   120
  848.                TabIndex        =   100
  849.                Top             =   3840
  850.                Width           =   855
  851.             End
  852.             Begin VB.Label lblLabels 
  853.                Caption         =   "移动电话:"
  854.                Height          =   255
  855.                Index           =   40
  856.                Left            =   3120
  857.                TabIndex        =   99
  858.                Top             =   3840
  859.                Width           =   1095
  860.             End
  861.             Begin VB.Label lblLabels 
  862.                Caption         =   "爱人姓名:"
  863.                Height          =   255
  864.                Index           =   41
  865.                Left            =   6000
  866.                TabIndex        =   98
  867.                Top             =   3840
  868.                Width           =   1095
  869.             End
  870.             Begin VB.Label lblLabels 
  871.                Caption         =   "爱人出生日期:"
  872.                Height          =   255
  873.                Index           =   42
  874.                Left            =   120
  875.                TabIndex        =   97
  876.                Top             =   4200
  877.                Width           =   1095
  878.             End
  879.             Begin VB.Label lblLabels 
  880.                Caption         =   "爱人工作单位:"
  881.                Height          =   255
  882.                Index           =   43
  883.                Left            =   3120
  884.                TabIndex        =   96
  885.                Top             =   4200
  886.                Width           =   1095
  887.             End
  888.             Begin VB.Label lblLabels 
  889.                Caption         =   "爱人联系电话:"
  890.                Height          =   255
  891.                Index           =   44
  892.                Left            =   6000
  893.                TabIndex        =   95
  894.                Top             =   4200
  895.                Width           =   1215
  896.             End
  897.             Begin VB.Label lblLabels 
  898.                Caption         =   "独生子女姓名:"
  899.                Height          =   255
  900.                Index           =   45
  901.                Left            =   6000
  902.                TabIndex        =   94
  903.                Top             =   4560
  904.                Width           =   1215
  905.             End
  906.             Begin VB.Label lblLabels 
  907.                Caption         =   "子女出生日期:"
  908.                Height          =   255
  909.                Index           =   46
  910.                Left            =   120
  911.                TabIndex        =   93
  912.                Top             =   4920
  913.                Width           =   1095
  914.             End
  915.             Begin VB.Label lblLabels 
  916.                Caption         =   "子女性别:"
  917.                Height          =   255
  918.                Index           =   47
  919.                Left            =   3120
  920.                TabIndex        =   92
  921.                Top             =   4920
  922.                Width           =   1215
  923.             End
  924.             Begin VB.Label lblLabels 
  925.                Caption         =   "独生子女费开始时间:"
  926.                Height          =   255
  927.                Index           =   48
  928.                Left            =   120
  929.                TabIndex        =   91
  930.                Top             =   5280
  931.                Width           =   1815
  932.             End
  933.             Begin VB.Label lblLabels 
  934.                Caption         =   "独生子女费结束时间:"
  935.                Height          =   255
  936.                Index           =   49
  937.                Left            =   4920
  938.                TabIndex        =   90
  939.                Top             =   5280
  940.                Width           =   1815
  941.             End
  942.             Begin VB.Label lblLabels 
  943.                Caption         =   "子女医疗包干开始时间:"
  944.                Height          =   255
  945.                Index           =   50
  946.                Left            =   120
  947.                TabIndex        =   89
  948.                Top             =   5640
  949.                Width           =   1935
  950.             End
  951.             Begin VB.Label lblLabels 
  952.                Caption         =   "子女医疗包干结束时间:"
  953.                Height          =   255
  954.                Index           =   51
  955.                Left            =   4920
  956.                TabIndex        =   88
  957.                Top             =   5640
  958.                Width           =   1935
  959.             End
  960.             Begin VB.Label lblLabels 
  961.                Caption         =   "离职类型:"
  962.                Height          =   255
  963.                Index           =   54
  964.                Left            =   120
  965.                TabIndex        =   87
  966.                Top             =   9000
  967.                Width           =   855
  968.             End
  969.             Begin VB.Label lblLabels 
  970.                Caption         =   "籍贯:"
  971.                Height          =   255
  972.                Index           =   57
  973.                Left            =   120
  974.                TabIndex        =   86
  975.                Top             =   1320
  976.                Width           =   735
  977.             End
  978.             Begin VB.Label lblLabels 
  979.                Caption         =   "出生地点:"
  980.                Height          =   255
  981.                Index           =   58
  982.                Left            =   3120
  983.                TabIndex        =   85
  984.                Top             =   1320
  985.                Width           =   975
  986.             End
  987.             Begin VB.Label lblLabels 
  988.                Caption         =   "户口所在地:"
  989.                Height          =   255
  990.                Index           =   59
  991.                Left            =   6000
  992.                TabIndex        =   84
  993.                Top             =   1320
  994.                Width           =   975
  995.             End
  996.             Begin VB.Label lblLabels 
  997.                Caption         =   "进入公司时间:"
  998.                Height          =   255
  999.                Index           =   19
  1000.                Left            =   6000
  1001.                TabIndex        =   83
  1002.                Top             =   6000
  1003.                Width           =   1095
  1004.             End
  1005.             Begin VB.Label lblLabels 
  1006.                Caption         =   "转正时间:"
  1007.                Height          =   255
  1008.                Index           =   20
  1009.                Left            =   3120
  1010.                TabIndex        =   82
  1011.                Top             =   6360
  1012.                Width           =   1095
  1013.             End
  1014.             Begin VB.Label lblLabels 
  1015.                Caption         =   "用工类型:"
  1016.                Height          =   255
  1017.                Index           =   23
  1018.                Left            =   6000
  1019.                TabIndex        =   81
  1020.                Top             =   6360
  1021.                Width           =   975
  1022.             End
  1023.             Begin VB.Label lblLabels 
  1024.                Caption         =   "档案转入时间:"
  1025.                Height          =   255
  1026.                Index           =   24
  1027.                Left            =   120
  1028.                TabIndex        =   80
  1029.                Top             =   6360
  1030.                Width           =   1215
  1031.             End
  1032.             Begin VB.Label lblLabels 
  1033.                Caption         =   "招收类型:"
  1034.                Height          =   255
  1035.                Index           =   26
  1036.                Left            =   120
  1037.                TabIndex        =   79
  1038.                Top             =   6720
  1039.                Width           =   1095
  1040.             End
  1041.             Begin VB.Label lblLabels 
  1042.                Caption         =   "人员类型一级:"
  1043.                Height          =   255
  1044.                Index           =   27
  1045.                Left            =   3120
  1046.                TabIndex        =   78
  1047.                Top             =   6720
  1048.                Width           =   1335
  1049.             End
  1050.             Begin VB.Label lblLabels 
  1051.                Caption         =   "人员类型二级:"
  1052.                Height          =   255
  1053.                Index           =   28
  1054.                Left            =   6000
  1055.                TabIndex        =   77
  1056.                Top             =   6720
  1057.                Width           =   1215
  1058.             End
  1059.             Begin VB.Label lblLabels 
  1060.                Caption         =   "劳动力类型:"
  1061.                Height          =   255
  1062.                Index           =   29
  1063.                Left            =   6000
  1064.                TabIndex        =   76
  1065.                Top             =   4920
  1066.                Width           =   975
  1067.             End
  1068.             Begin VB.Label lblLabels 
  1069.                Caption         =   "原任职单位:"
  1070.                Height          =   255
  1071.                Index           =   60
  1072.                Left            =   120
  1073.                TabIndex        =   75
  1074.                Top             =   6000
  1075.                Width           =   975
  1076.             End
  1077.             Begin VB.Label lblLabels 
  1078.                Caption         =   "原职务:"
  1079.                Height          =   255
  1080.                Index           =   61
  1081.                Left            =   3120
  1082.                TabIndex        =   74
  1083.                Top             =   6000
  1084.                Width           =   615
  1085.             End
  1086.             Begin VB.Label lblLabels 
  1087.                Caption         =   "身高:"
  1088.                Height          =   255
  1089.                Index           =   30
  1090.                Left            =   120
  1091.                TabIndex        =   73
  1092.                Top             =   600
  1093.                Width           =   975
  1094.             End
  1095.             Begin VB.Label lblLabels 
  1096.                Caption         =   "体重:"
  1097.                Height          =   255
  1098.                Index           =   31
  1099.                Left            =   3120
  1100.                TabIndex        =   72
  1101.                Top             =   600
  1102.                Width           =   615
  1103.             End
  1104.             Begin VB.Label lblLabels 
  1105.                Caption         =   "血型:"
  1106.                Height          =   255
  1107.                Index           =   32
  1108.                Left            =   6000
  1109.                TabIndex        =   71
  1110.                Top             =   600
  1111.                Width           =   735
  1112.             End
  1113.             Begin VB.Label lblLabels 
  1114.                Caption         =   "健康情况:"
  1115.                Height          =   255
  1116.                Index           =   33
  1117.                Left            =   120
  1118.                TabIndex        =   70
  1119.                Top             =   960
  1120.                Width           =   975
  1121.             End
  1122.             Begin VB.Label lblLabels 
  1123.                Caption         =   "特长:"
  1124.                Height          =   255
  1125.                Index           =   62
  1126.                Left            =   120
  1127.                TabIndex        =   69
  1128.                Top             =   2760
  1129.                Width           =   615
  1130.             End
  1131.          End
  1132.          Begin VB.Frame Frame3 
  1133.             Height          =   7695
  1134.             Left            =   -74880
  1135.             TabIndex        =   10
  1136.             Top             =   360
  1137.             Width           =   8655
  1138.             Begin MSDataGridLib.DataGrid DataGrid1 
  1139.                Height          =   7335
  1140.                Left            =   120
  1141.                TabIndex        =   11
  1142.                Top             =   240
  1143.                Width           =   8415
  1144.                _ExtentX        =   14843
  1145.                _ExtentY        =   12938
  1146.                _Version        =   393216
  1147.                HeadLines       =   1
  1148.                RowHeight       =   14
  1149.                BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  1150.                   Name            =   "MS Sans Serif"
  1151.                   Size            =   8.25
  1152.                   Charset         =   0
  1153.                   Weight          =   400
  1154.                   Underline       =   0   'False
  1155.                   Italic          =   0   'False
  1156.                   Strikethrough   =   0   'False
  1157.                EndProperty
  1158.                BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  1159.                   Name            =   "宋体"
  1160.                   Size            =   9
  1161.                   Charset         =   134
  1162.                   Weight          =   400
  1163.                   Underline       =   0   'False
  1164.                   Italic          =   0   'False
  1165.                   Strikethrough   =   0   'False
  1166.                EndProperty
  1167.                ColumnCount     =   2
  1168.                BeginProperty Column00 
  1169.                   DataField       =   ""
  1170.                   Caption         =   ""
  1171.                   BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
  1172.                      Type            =   0
  1173.                      Format          =   ""
  1174.                      HaveTrueFalseNull=   0
  1175.                      FirstDayOfWeek  =   0
  1176.                      FirstWeekOfYear =   0
  1177.                      LCID            =   2052
  1178.                      SubFormatType   =   0
  1179.                   EndProperty
  1180.                EndProperty
  1181.                BeginProperty Column01 
  1182.                   DataField       =   ""
  1183.                   Caption         =   ""
  1184.                   BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
  1185.                      Type            =   0
  1186.                      Format          =   ""
  1187.                      HaveTrueFalseNull=   0
  1188.                      FirstDayOfWeek  =   0
  1189.                      FirstWeekOfYear =   0
  1190.                      LCID            =   2052
  1191.                      SubFormatType   =   0
  1192.                   EndProperty
  1193.                EndProperty
  1194.                SplitCount      =   1
  1195.                BeginProperty Split0 
  1196.                   BeginProperty Column00 
  1197.                   EndProperty
  1198.                   BeginProperty Column01 
  1199.                   EndProperty
  1200.                EndProperty
  1201.             End
  1202.          End
  1203.          Begin VB.PictureBox Picture1 
  1204.             Appearance      =   0  'Flat
  1205.             BorderStyle     =   0  'None
  1206.             ForeColor       =   &H80000008&
  1207.             Height          =   300
  1208.             Left            =   2040
  1209.             ScaleHeight     =   300
  1210.             ScaleWidth      =   7080
  1211.             TabIndex        =   2
  1212.             Top             =   7440
  1213.             Width           =   7080
  1214.             Begin VB.CommandButton CmdAdd 
  1215.                Caption         =   "增加"
  1216.                Height          =   300
  1217.                Left            =   1080
  1218.                TabIndex        =   9
  1219.                Top             =   0
  1220.                Width           =   1095
  1221.             End
  1222.             Begin VB.CommandButton cmdEdit 
  1223.                Caption         =   "编辑"
  1224.                Height          =   300
  1225.                Left            =   2280
  1226.                TabIndex        =   8
  1227.                Top             =   0
  1228.                Width           =   1095
  1229.             End
  1230.             Begin VB.CommandButton CmdDelete 
  1231.                Caption         =   "删除"
  1232.                Height          =   300
  1233.                Left            =   3480
  1234.                TabIndex        =   7
  1235.                Top             =   0
  1236.                Width           =   1095
  1237.             End
  1238.             Begin VB.CommandButton cmdRefresh 
  1239.                Caption         =   "刷新"
  1240.                Height          =   300
  1241.                Left            =   4680
  1242.                TabIndex        =   6
  1243.                Top             =   0
  1244.                Width           =   1095
  1245.             End
  1246.             Begin VB.CommandButton cmdClose 
  1247.                Caption         =   "关闭"
  1248.                Height          =   300
  1249.                Left            =   5880
  1250.                TabIndex        =   5
  1251.                Top             =   0
  1252.                Width           =   1095
  1253.             End
  1254.             Begin VB.CommandButton cmdUpdate 
  1255.                Caption         =   "保存"
  1256.                Height          =   300
  1257.                Left            =   4680
  1258.                TabIndex        =   4
  1259.                Top             =   0
  1260.                Visible         =   0   'False
  1261.                Width           =   1095
  1262.             End
  1263.             Begin VB.CommandButton cmdCancel 
  1264.                Caption         =   "取消"
  1265.                Height          =   300
  1266.                Left            =   5880
  1267.                TabIndex        =   3
  1268.                Top             =   0
  1269.                Visible         =   0   'False
  1270.                Width           =   1095
  1271.             End
  1272.          End
  1273.       End
  1274.    End
  1275. End
  1276. Attribute VB_Name = "F_RenYuanJiBenXinXi"
  1277. Attribute VB_GlobalNameSpace = False
  1278. Attribute VB_Creatable = False
  1279. Attribute VB_PredeclaredId = True
  1280. Attribute VB_Exposed = False
  1281. Dim WithEvents adoPrimaryRS As Recordset
  1282. Attribute adoPrimaryRS.VB_VarHelpID = -1
  1283. Dim mvBookMark As Variant
  1284. Dim mbEditFlag As Boolean
  1285. Dim mbAddNewFlag As Boolean
  1286. Private Sub Form_Load()
  1287. On Error Resume Next
  1288.     For Each TextBox In Me.Controls
  1289.         TextBox.Font.Name = "宋体"
  1290.         TextBox.Font.Size = 9
  1291.     Next
  1292.  Set adoPrimaryRS = New Recordset
  1293.   adoPrimaryRS.Open "select 员工号,姓名,性别,出生日期,民族,政治面目,婚姻状况,身份证号,学历,所学专业,毕业学校,职称,职称评定时间,技术证书,驾驶证号,准驾车辆,初次领证时间,有效期限,参加工作时间,进入公司时间,转正时间,用工类型,档案转入时间,转入单位名称,招收类型,人员类型一级,人员类型二级,劳动力类型,身高,体重,血型,健康情况,生育指标,计划生育措施,家庭通讯地址,邮编,电话,传呼机,移动电话,爱人姓名,爱人出生日期,爱人工作单位,爱人联系电话,独生子女姓名,子女出生日期,子女性别,独生子女费开始时间,独生子女费结束时间,子女医疗包干开始时间,子女医疗包干结束时间,籍贯,出生地点,户口所在地,原任职单位,原职务,特长 from 员工基本信息", db, adOpenStatic, adLockOptimistic
  1294.   Set DataGrid1.DataSource = adoPrimaryRS
  1295.   
  1296.   SetButtons True
  1297.   
  1298.   Set DTPicker1.DataSource = adoPrimaryRS
  1299.   Set DTPicker2.DataSource = adoPrimaryRS
  1300.   Set DTPicker3.DataSource = adoPrimaryRS
  1301.   Set DTPicker4.DataSource = adoPrimaryRS
  1302.   Set DTPicker5.DataSource = adoPrimaryRS
  1303.   Set DTPicker6.DataSource = adoPrimaryRS
  1304.   Set DTPicker7.DataSource = adoPrimaryRS
  1305.   Set DTPicker8.DataSource = adoPrimaryRS
  1306.   Set DTPicker9.DataSource = adoPrimaryRS
  1307.   Set DTPicker10.DataSource = adoPrimaryRS
  1308.   Set DTPicker11.DataSource = adoPrimaryRS
  1309.   
  1310.   
  1311.   Dim oText As TextBox
  1312.   'Bind the text boxes to the data provider
  1313.   For Each oText In Me.txtFields
  1314.     Set oText.DataSource = adoPrimaryRS
  1315.   Next
  1316. End Sub
  1317. Private Sub Form_Unload(Cancel As Integer)
  1318.   Screen.MousePointer = vbDefault
  1319. End Sub
  1320. Private Sub cmdAdd_Click()
  1321.   On Error GoTo AddErr
  1322.   
  1323.   
  1324.  With adoPrimaryRS
  1325.     If Not (.BOF And .EOF) Then
  1326.       mvBookMark = .Bookmark
  1327.     End If
  1328.     .AddNew
  1329.     mbAddNewFlag = True
  1330.     SetButtons False
  1331.   End With
  1332.   Exit Sub
  1333. AddErr:
  1334.   MsgBox "增加操作有错误", vbExclamation + vbOKOnly, pTitle
  1335.   
  1336. End Sub
  1337. Private Sub cmdDelete_Click()
  1338.   On Error GoTo DeleteErr
  1339.   With adoPrimaryRS
  1340.     .Delete
  1341.     .MoveNext
  1342.     If .EOF Then .MoveLast
  1343.   End With
  1344.   Exit Sub
  1345. DeleteErr:
  1346.   MsgBox "删除操作有错误", vbExclamation + vbOKOnly, pTitle
  1347. End Sub
  1348. Private Sub cmdRefresh_Click()
  1349.   'This is only needed for multi user apps
  1350.   On Error GoTo RefreshErr
  1351.   adoPrimaryRS.Requery
  1352.   Exit Sub
  1353. RefreshErr:
  1354.    MsgBox "刷新操作有错误", vbExclamation + vbOKOnly, pTitle
  1355. End Sub
  1356. Private Sub cmdEdit_Click()
  1357.   On Error GoTo EditErr
  1358.   mbEditFlag = True
  1359.   SetButtons False
  1360.   Exit Sub
  1361. EditErr:
  1362.    MsgBox "更改操作有错误", vbExclamation + vbOKOnly, pTitle
  1363. End Sub
  1364. Private Sub cmdCancel_Click()
  1365.  ' On Error Resume Next
  1366.  On Error GoTo CancelErr
  1367.   mbEditFlag = False
  1368.   mbAddNewFlag = False
  1369.   adoPrimaryRS.CancelUpdate
  1370.   If mvBookMark > 0 Then
  1371.    adoPrimaryRS.Bookmark = mvBookMark
  1372.   Else
  1373.    adoPrimaryRS.MoveFirst
  1374.   End If
  1375.  SetButtons True
  1376.   Exit Sub
  1377. CancelErr:
  1378.    
  1379.    MsgBox "取消操作有错误", vbExclamation + vbOKOnly, pTitle
  1380. End Sub
  1381. Private Sub cmdUpdate_Click()
  1382.   On Error GoTo UpdateErr
  1383.   adoPrimaryRS.UpdateBatch adAffectAll
  1384.   If mbAddNewFlag Then
  1385.     adoPrimaryRS.MoveLast              'move to the new record
  1386.   End If
  1387.   mbEditFlag = False
  1388.   mbAddNewFlag = False
  1389.   SetButtons True
  1390.   Exit Sub
  1391. UpdateErr:
  1392.    MsgBox "保存操作有错误", vbExclamation + vbOKOnly, pTitle
  1393. End Sub
  1394. Private Sub cmdClose_Click()
  1395.   Unload Me
  1396. End Sub
  1397. Private Sub SetButtons(bVal As Boolean)
  1398. Dim oTEX As TextBox
  1399.   cmdAdd.Visible = bVal
  1400.   cmdEdit.Visible = bVal
  1401.   cmdUpdate.Visible = Not bVal
  1402.   cmdCancel.Visible = Not bVal
  1403.   cmdDelete.Visible = bVal
  1404.   cmdClose.Visible = bVal
  1405.   cmdRefresh.Visible = bVal
  1406.   If bVal Then
  1407.    Set DataGrid1.DataSource = adoPrimaryRS
  1408.   Else
  1409.    Set DataGrid1.DataSource = Nothing
  1410.   End If
  1411.   
  1412.   For Each oText In Me.txtFields
  1413.      oText.Enabled = Not bVal
  1414.   Next
  1415.   
  1416.   DTPicker1.Enabled = Not bVal
  1417.   DTPicker2.Enabled = Not bVal
  1418.   DTPicker3.Enabled = Not bVal
  1419.   DTPicker4.Enabled = Not bVal
  1420.   DTPicker5.Enabled = Not bVal
  1421.   DTPicker6.Enabled = Not bVal
  1422.   DTPicker7.Enabled = Not bVal
  1423.   DTPicker8.Enabled = Not bVal
  1424.   DTPicker9.Enabled = Not bVal
  1425.   DTPicker10.Enabled = Not bVal
  1426.   DTPicker11.Enabled = Not bVal
  1427.   
  1428.   
  1429. End Sub
  1430. Private Sub txtFields_LostFocus(Index As Integer)
  1431. If Not IsNumeric(txtFields(30).Text) And (txtFields(30).Text <> "") Then
  1432.     MsgBox "请在“身高”中输入数字", vbExclamation + vbOKOnly, pTitle
  1433.      txtFields(30).SetFocus
  1434.      txtFields(30).SelLength = Len(txtFields(30))
  1435.      txtFields(30).SelStart = 0
  1436. End If
  1437. If Not IsNumeric(txtFields(31).Text) And (txtFields(31).Text <> "") Then
  1438.     MsgBox "请在“体重”中输入数字", vbExclamation + vbOKOnly, pTitle
  1439.      txtFields(31).SetFocus
  1440.      txtFields(31).SelLength = Len(txtFields(31))
  1441.      txtFields(31).SelStart = 0
  1442. End If
  1443. End Sub