main_rsgl_rsdaxx_lr.frm
上传用户:ake0106
上传日期:2022-07-23
资源大小:4052k
文件大小:42k
源码类别:

企业管理

开发平台:

Visual Basic

  1. VERSION 5.00
  2. Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
  3. Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
  4. Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
  5. Object = "{F0D2F211-CCB0-11D0-A316-00AA00688B10}#1.0#0"; "MSDATLST.OCX"
  6. Begin VB.Form main_rsgl_rsdaxx_lr 
  7.    BorderStyle     =   3  'Fixed Dialog
  8.    ClientHeight    =   6960
  9.    ClientLeft      =   45
  10.    ClientTop       =   330
  11.    ClientWidth     =   9195
  12.    Icon            =   "main_rsgl_rsdaxx_lr.frx":0000
  13.    LinkTopic       =   "Form2"
  14.    MaxButton       =   0   'False
  15.    MinButton       =   0   'False
  16.    ScaleHeight     =   6960
  17.    ScaleWidth      =   9195
  18.    ShowInTaskbar   =   0   'False
  19.    StartUpPosition =   1  '所有者中心
  20.    Begin VB.CommandButton cmdPrint 
  21.       Caption         =   "打印"
  22.       Height          =   420
  23.       Left            =   3720
  24.       TabIndex        =   69
  25.       Top             =   6420
  26.       Width           =   1710
  27.    End
  28.    Begin VB.Frame Frame3 
  29.       Caption         =   "Frame3"
  30.       Height          =   2880
  31.       Left            =   -2865
  32.       TabIndex        =   68
  33.       Top             =   3270
  34.       Visible         =   0   'False
  35.       Width           =   3030
  36.       Begin MSAdodcLib.Adodc Adodc2 
  37.          Height          =   330
  38.          Left            =   150
  39.          Top             =   180
  40.          Visible         =   0   'False
  41.          Width           =   2595
  42.          _ExtentX        =   4577
  43.          _ExtentY        =   582
  44.          ConnectMode     =   0
  45.          CursorLocation  =   3
  46.          IsolationLevel  =   -1
  47.          ConnectionTimeout=   15
  48.          CommandTimeout  =   30
  49.          CursorType      =   3
  50.          LockType        =   3
  51.          CommandType     =   2
  52.          CursorOptions   =   0
  53.          CacheSize       =   50
  54.          MaxRecords      =   0
  55.          BOFAction       =   0
  56.          EOFAction       =   0
  57.          ConnectStringType=   1
  58.          Appearance      =   1
  59.          BackColor       =   -2147483643
  60.          ForeColor       =   -2147483640
  61.          Orientation     =   0
  62.          Enabled         =   -1
  63.          Connect         =   "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=db_manpowerinfo"
  64.          OLEDBString     =   "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=db_manpowerinfo"
  65.          OLEDBFile       =   ""
  66.          DataSourceName  =   ""
  67.          OtherAttributes =   ""
  68.          UserName        =   ""
  69.          Password        =   ""
  70.          RecordSource    =   "民族表"
  71.          Caption         =   "Adodc1"
  72.          BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  73.             Name            =   "宋体"
  74.             Size            =   9
  75.             Charset         =   134
  76.             Weight          =   400
  77.             Underline       =   0   'False
  78.             Italic          =   0   'False
  79.             Strikethrough   =   0   'False
  80.          EndProperty
  81.          _Version        =   393216
  82.       End
  83.       Begin MSAdodcLib.Adodc Adodc3 
  84.          Height          =   330
  85.          Left            =   120
  86.          Top             =   495
  87.          Visible         =   0   'False
  88.          Width           =   2595
  89.          _ExtentX        =   4577
  90.          _ExtentY        =   582
  91.          ConnectMode     =   0
  92.          CursorLocation  =   3
  93.          IsolationLevel  =   -1
  94.          ConnectionTimeout=   15
  95.          CommandTimeout  =   30
  96.          CursorType      =   3
  97.          LockType        =   3
  98.          CommandType     =   2
  99.          CursorOptions   =   0
  100.          CacheSize       =   50
  101.          MaxRecords      =   0
  102.          BOFAction       =   0
  103.          EOFAction       =   0
  104.          ConnectStringType=   1
  105.          Appearance      =   1
  106.          BackColor       =   -2147483643
  107.          ForeColor       =   -2147483640
  108.          Orientation     =   0
  109.          Enabled         =   -1
  110.          Connect         =   "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=db_manpowerinfo"
  111.          OLEDBString     =   "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=db_manpowerinfo"
  112.          OLEDBFile       =   ""
  113.          DataSourceName  =   ""
  114.          OtherAttributes =   ""
  115.          UserName        =   ""
  116.          Password        =   ""
  117.          RecordSource    =   "政治面貌表"
  118.          Caption         =   "Adodc1"
  119.          BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  120.             Name            =   "宋体"
  121.             Size            =   9
  122.             Charset         =   134
  123.             Weight          =   400
  124.             Underline       =   0   'False
  125.             Italic          =   0   'False
  126.             Strikethrough   =   0   'False
  127.          EndProperty
  128.          _Version        =   393216
  129.       End
  130.       Begin MSAdodcLib.Adodc Adodc4 
  131.          Height          =   330
  132.          Left            =   180
  133.          Top             =   825
  134.          Visible         =   0   'False
  135.          Width           =   2595
  136.          _ExtentX        =   4577
  137.          _ExtentY        =   582
  138.          ConnectMode     =   0
  139.          CursorLocation  =   3
  140.          IsolationLevel  =   -1
  141.          ConnectionTimeout=   15
  142.          CommandTimeout  =   30
  143.          CursorType      =   3
  144.          LockType        =   3
  145.          CommandType     =   2
  146.          CursorOptions   =   0
  147.          CacheSize       =   50
  148.          MaxRecords      =   0
  149.          BOFAction       =   0
  150.          EOFAction       =   0
  151.          ConnectStringType=   1
  152.          Appearance      =   1
  153.          BackColor       =   -2147483643
  154.          ForeColor       =   -2147483640
  155.          Orientation     =   0
  156.          Enabled         =   -1
  157.          Connect         =   "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=db_manpowerinfo"
  158.          OLEDBString     =   "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=db_manpowerinfo"
  159.          OLEDBFile       =   ""
  160.          DataSourceName  =   ""
  161.          OtherAttributes =   ""
  162.          UserName        =   ""
  163.          Password        =   ""
  164.          RecordSource    =   "文化程度表"
  165.          Caption         =   "Adodc1"
  166.          BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  167.             Name            =   "宋体"
  168.             Size            =   9
  169.             Charset         =   134
  170.             Weight          =   400
  171.             Underline       =   0   'False
  172.             Italic          =   0   'False
  173.             Strikethrough   =   0   'False
  174.          EndProperty
  175.          _Version        =   393216
  176.       End
  177.       Begin MSAdodcLib.Adodc Adodc5 
  178.          Height          =   330
  179.          Left            =   195
  180.          Top             =   1185
  181.          Visible         =   0   'False
  182.          Width           =   2595
  183.          _ExtentX        =   4577
  184.          _ExtentY        =   582
  185.          ConnectMode     =   0
  186.          CursorLocation  =   3
  187.          IsolationLevel  =   -1
  188.          ConnectionTimeout=   15
  189.          CommandTimeout  =   30
  190.          CursorType      =   3
  191.          LockType        =   3
  192.          CommandType     =   2
  193.          CursorOptions   =   0
  194.          CacheSize       =   50
  195.          MaxRecords      =   0
  196.          BOFAction       =   0
  197.          EOFAction       =   0
  198.          ConnectStringType=   1
  199.          Appearance      =   1
  200.          BackColor       =   -2147483643
  201.          ForeColor       =   -2147483640
  202.          Orientation     =   0
  203.          Enabled         =   -1
  204.          Connect         =   "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=db_manpowerinfo"
  205.          OLEDBString     =   "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=db_manpowerinfo"
  206.          OLEDBFile       =   ""
  207.          DataSourceName  =   ""
  208.          OtherAttributes =   ""
  209.          UserName        =   ""
  210.          Password        =   ""
  211.          RecordSource    =   "工种表"
  212.          Caption         =   "Adodc1"
  213.          BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  214.             Name            =   "宋体"
  215.             Size            =   9
  216.             Charset         =   134
  217.             Weight          =   400
  218.             Underline       =   0   'False
  219.             Italic          =   0   'False
  220.             Strikethrough   =   0   'False
  221.          EndProperty
  222.          _Version        =   393216
  223.       End
  224.       Begin MSAdodcLib.Adodc Adodc6 
  225.          Height          =   330
  226.          Left            =   135
  227.          Top             =   1560
  228.          Visible         =   0   'False
  229.          Width           =   2595
  230.          _ExtentX        =   4577
  231.          _ExtentY        =   582
  232.          ConnectMode     =   0
  233.          CursorLocation  =   3
  234.          IsolationLevel  =   -1
  235.          ConnectionTimeout=   15
  236.          CommandTimeout  =   30
  237.          CursorType      =   3
  238.          LockType        =   3
  239.          CommandType     =   2
  240.          CursorOptions   =   0
  241.          CacheSize       =   50
  242.          MaxRecords      =   0
  243.          BOFAction       =   0
  244.          EOFAction       =   0
  245.          ConnectStringType=   1
  246.          Appearance      =   1
  247.          BackColor       =   -2147483643
  248.          ForeColor       =   -2147483640
  249.          Orientation     =   0
  250.          Enabled         =   -1
  251.          Connect         =   "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=db_manpowerinfo"
  252.          OLEDBString     =   "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=db_manpowerinfo"
  253.          OLEDBFile       =   ""
  254.          DataSourceName  =   ""
  255.          OtherAttributes =   ""
  256.          UserName        =   ""
  257.          Password        =   ""
  258.          RecordSource    =   "职务表"
  259.          Caption         =   "Adodc1"
  260.          BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  261.             Name            =   "宋体"
  262.             Size            =   9
  263.             Charset         =   134
  264.             Weight          =   400
  265.             Underline       =   0   'False
  266.             Italic          =   0   'False
  267.             Strikethrough   =   0   'False
  268.          EndProperty
  269.          _Version        =   393216
  270.       End
  271.       Begin MSAdodcLib.Adodc Adodc7 
  272.          Height          =   330
  273.          Left            =   120
  274.          Top             =   1875
  275.          Visible         =   0   'False
  276.          Width           =   2595
  277.          _ExtentX        =   4577
  278.          _ExtentY        =   582
  279.          ConnectMode     =   0
  280.          CursorLocation  =   3
  281.          IsolationLevel  =   -1
  282.          ConnectionTimeout=   15
  283.          CommandTimeout  =   30
  284.          CursorType      =   3
  285.          LockType        =   3
  286.          CommandType     =   2
  287.          CursorOptions   =   0
  288.          CacheSize       =   50
  289.          MaxRecords      =   0
  290.          BOFAction       =   0
  291.          EOFAction       =   0
  292.          ConnectStringType=   1
  293.          Appearance      =   1
  294.          BackColor       =   -2147483643
  295.          ForeColor       =   -2147483640
  296.          Orientation     =   0
  297.          Enabled         =   -1
  298.          Connect         =   "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=db_manpowerinfo"
  299.          OLEDBString     =   "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=db_manpowerinfo"
  300.          OLEDBFile       =   ""
  301.          DataSourceName  =   ""
  302.          OtherAttributes =   ""
  303.          UserName        =   ""
  304.          Password        =   ""
  305.          RecordSource    =   "职称表"
  306.          Caption         =   "Adodc1"
  307.          BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
  308.             Name            =   "宋体"
  309.             Size            =   9
  310.             Charset         =   134
  311.             Weight          =   400
  312.             Underline       =   0   'False
  313.             Italic          =   0   'False
  314.             Strikethrough   =   0   'False
  315.          EndProperty
  316.          _Version        =   393216
  317.       End
  318.    End
  319.    Begin VB.CommandButton CmdEnd 
  320.       BackColor       =   &H00FFC0C0&
  321.       Caption         =   "取消"
  322.       Height          =   420
  323.       Left            =   5565
  324.       TabIndex        =   0
  325.       Top             =   6420
  326.       Width           =   1710
  327.    End
  328.    Begin VB.CommandButton CmdSave 
  329.       BackColor       =   &H00FFC0C0&
  330.       Caption         =   "保存"
  331.       Height          =   420
  332.       Left            =   1860
  333.       TabIndex        =   1
  334.       Top             =   6420
  335.       Width           =   1710
  336.    End
  337.    Begin VB.Frame Frame1 
  338.       Caption         =   "单位相关信息"
  339.       Height          =   2760
  340.       Left            =   45
  341.       TabIndex        =   42
  342.       Top             =   3555
  343.       Width           =   9075
  344.       Begin VB.TextBox Txt1 
  345.          Height          =   300
  346.          Index           =   16
  347.          Left            =   4890
  348.          TabIndex        =   64
  349.          Top             =   2355
  350.          Width           =   4065
  351.       End
  352.       Begin VB.TextBox Txt1 
  353.          Height          =   1005
  354.          Index           =   15
  355.          Left            =   975
  356.          MultiLine       =   -1  'True
  357.          ScrollBars      =   2  'Vertical
  358.          TabIndex        =   59
  359.          Top             =   1305
  360.          Width           =   7995
  361.       End
  362.       Begin VB.TextBox Txt1 
  363.          Height          =   300
  364.          Index           =   14
  365.          Left            =   6555
  366.          TabIndex        =   58
  367.          Top             =   945
  368.          Width           =   2415
  369.       End
  370.       Begin VB.TextBox Txt1 
  371.          Height          =   300
  372.          Index           =   13
  373.          Left            =   975
  374.          TabIndex        =   55
  375.          Top             =   960
  376.          Width           =   1860
  377.       End
  378.       Begin VB.TextBox Txt1 
  379.          Height          =   300
  380.          Index           =   12
  381.          Left            =   6555
  382.          TabIndex        =   53
  383.          Top             =   600
  384.          Width           =   2415
  385.       End
  386.       Begin VB.CommandButton cmdDept 
  387.          Caption         =   "…"
  388.          Height          =   300
  389.          Left            =   5085
  390.          TabIndex        =   45
  391.          Top             =   225
  392.          Width           =   315
  393.       End
  394.       Begin VB.TextBox Txt1 
  395.          Height          =   300
  396.          Index           =   11
  397.          Left            =   975
  398.          TabIndex        =   44
  399.          Top             =   225
  400.          Width           =   4125
  401.       End
  402.       Begin MSDataListLib.DataCombo DataCombo4 
  403.          Bindings        =   "main_rsgl_rsdaxx_lr.frx":000C
  404.          Height          =   330
  405.          Left            =   6555
  406.          TabIndex        =   47
  407.          Top             =   225
  408.          Width           =   2415
  409.          _ExtentX        =   4260
  410.          _ExtentY        =   582
  411.          _Version        =   393216
  412.          ListField       =   "工种"
  413.          Text            =   ""
  414.       End
  415.       Begin MSDataListLib.DataCombo DataCombo5 
  416.          Bindings        =   "main_rsgl_rsdaxx_lr.frx":0021
  417.          Height          =   330
  418.          Left            =   975
  419.          TabIndex        =   49
  420.          Top             =   570
  421.          Width           =   1860
  422.          _ExtentX        =   3281
  423.          _ExtentY        =   582
  424.          _Version        =   393216
  425.          ListField       =   "职务名称"
  426.          Text            =   ""
  427.       End
  428.       Begin MSDataListLib.DataCombo DataCombo6 
  429.          Bindings        =   "main_rsgl_rsdaxx_lr.frx":0036
  430.          Height          =   330
  431.          Left            =   3735
  432.          TabIndex        =   51
  433.          Top             =   570
  434.          Width           =   1695
  435.          _ExtentX        =   2990
  436.          _ExtentY        =   582
  437.          _Version        =   393216
  438.          ListField       =   "职称名称"
  439.          Text            =   ""
  440.       End
  441.       Begin MSComCtl2.DTPicker DTP4 
  442.          Height          =   300
  443.          Left            =   3735
  444.          TabIndex        =   61
  445.          Top             =   960
  446.          Width           =   1695
  447.          _ExtentX        =   2990
  448.          _ExtentY        =   529
  449.          _Version        =   393216
  450.          Format          =   48300033
  451.          CurrentDate     =   38696
  452.       End
  453.       Begin MSComCtl2.DTPicker DTP5 
  454.          Height          =   300
  455.          Left            =   990
  456.          TabIndex        =   67
  457.          Top             =   2370
  458.          Width           =   3015
  459.          _ExtentX        =   5318
  460.          _ExtentY        =   529
  461.          _Version        =   393216
  462.          Format          =   48300033
  463.          CurrentDate     =   38696
  464.       End
  465.       Begin VB.Label Label31 
  466.          Caption         =   "登记人:"
  467.          Height          =   165
  468.          Left            =   4125
  469.          TabIndex        =   63
  470.          Top             =   2415
  471.          Width           =   750
  472.       End
  473.       Begin VB.Label Label30 
  474.          Caption         =   "登记日期:"
  475.          Height          =   225
  476.          Left            =   105
  477.          TabIndex        =   62
  478.          Top             =   2415
  479.          Width           =   1005
  480.       End
  481.       Begin VB.Label Label29 
  482.          Caption         =   "简历:"
  483.          Height          =   165
  484.          Left            =   405
  485.          TabIndex        =   60
  486.          Top             =   1410
  487.          Width           =   600
  488.       End
  489.       Begin VB.Label Label28 
  490.          Caption         =   "本单位工龄:"
  491.          Height          =   165
  492.          Left            =   5505
  493.          TabIndex        =   57
  494.          Top             =   1035
  495.          Width           =   1080
  496.       End
  497.       Begin VB.Label Label27 
  498.          Caption         =   "调入时间:"
  499.          Height          =   225
  500.          Left            =   2880
  501.          TabIndex        =   56
  502.          Top             =   1020
  503.          Width           =   1260
  504.       End
  505.       Begin VB.Label Label26 
  506.          Caption         =   "其他工资:"
  507.          Height          =   165
  508.          Left            =   60
  509.          TabIndex        =   54
  510.          Top             =   1035
  511.          Width           =   930
  512.       End
  513.       Begin VB.Label Label25 
  514.          Caption         =   "基本工资:"
  515.          Height          =   165
  516.          Left            =   5640
  517.          TabIndex        =   52
  518.          Top             =   645
  519.          Width           =   900
  520.       End
  521.       Begin VB.Label Label24 
  522.          Caption         =   "职称:"
  523.          Height          =   165
  524.          Left            =   3195
  525.          TabIndex        =   50
  526.          Top             =   630
  527.          Width           =   555
  528.       End
  529.       Begin VB.Label Label23 
  530.          Caption         =   "职务:"
  531.          Height          =   165
  532.          Left            =   435
  533.          TabIndex        =   48
  534.          Top             =   645
  535.          Width           =   555
  536.       End
  537.       Begin VB.Label Label22 
  538.          Caption         =   "工种:"
  539.          Height          =   165
  540.          Left            =   5985
  541.          TabIndex        =   46
  542.          Top             =   300
  543.          Width           =   555
  544.       End
  545.       Begin VB.Label Label21 
  546.          Caption         =   "部门:"
  547.          Height          =   165
  548.          Left            =   420
  549.          TabIndex        =   43
  550.          Top             =   285
  551.          Width           =   555
  552.       End
  553.    End
  554.    Begin MSComDlg.CommonDialog CommonDialog1 
  555.       Left            =   -210
  556.       Top             =   720
  557.       _ExtentX        =   847
  558.       _ExtentY        =   847
  559.       _Version        =   393216
  560.    End
  561.    Begin VB.Frame Frame2 
  562.       Caption         =   "基本信息"
  563.       Height          =   3465
  564.       Left            =   75
  565.       TabIndex        =   2
  566.       Top             =   75
  567.       Width           =   9075
  568.       Begin VB.TextBox Txt1 
  569.          Height          =   300
  570.          Index           =   17
  571.          Left            =   3750
  572.          TabIndex        =   71
  573.          Top             =   930
  574.          Width           =   615
  575.       End
  576.       Begin VB.TextBox Txt1 
  577.          Height          =   300
  578.          Index           =   10
  579.          Left            =   7170
  580.          TabIndex        =   39
  581.          Top             =   3060
  582.          Width           =   1785
  583.       End
  584.       Begin VB.TextBox Txt1 
  585.          Height          =   300
  586.          Index           =   9
  587.          Left            =   1140
  588.          TabIndex        =   37
  589.          Top             =   3045
  590.          Width           =   2115
  591.       End
  592.       Begin VB.TextBox Txt1 
  593.          Height          =   300
  594.          Index           =   8
  595.          Left            =   4470
  596.          TabIndex        =   32
  597.          Top             =   2715
  598.          Width           =   1710
  599.       End
  600.       Begin VB.TextBox Txt1 
  601.          Height          =   300
  602.          Index           =   7
  603.          Left            =   1140
  604.          TabIndex        =   31
  605.          Top             =   2715
  606.          Width           =   2115
  607.       End
  608.       Begin VB.TextBox Txt1 
  609.          Height          =   300
  610.          Index           =   6
  611.          Left            =   1140
  612.          TabIndex        =   27
  613.          Top             =   2370
  614.          Width           =   6195
  615.       End
  616.       Begin VB.CommandButton cmdPhotoAdd 
  617.          Caption         =   "选择照片"
  618.          Height          =   315
  619.          Left            =   7440
  620.          TabIndex        =   26
  621.          Top             =   2100
  622.          Width           =   1440
  623.       End
  624.       Begin VB.TextBox Txt1 
  625.          Height          =   300
  626.          Index           =   5
  627.          Left            =   3750
  628.          TabIndex        =   25
  629.          Top             =   2025
  630.          Width           =   3585
  631.       End
  632.       Begin VB.TextBox Txt1 
  633.          Height          =   300
  634.          Index           =   4
  635.          Left            =   1140
  636.          TabIndex        =   24
  637.          Top             =   2025
  638.          Width           =   1695
  639.       End
  640.       Begin VB.ComboBox Combo2 
  641.          Height          =   300
  642.          Left            =   1140
  643.          TabIndex        =   19
  644.          Top             =   1305
  645.          Width           =   1695
  646.       End
  647.       Begin MSDataListLib.DataCombo DataCombo1 
  648.          Bindings        =   "main_rsgl_rsdaxx_lr.frx":004B
  649.          Height          =   330
  650.          Left            =   5025
  651.          TabIndex        =   16
  652.          Top             =   930
  653.          Width           =   1350
  654.          _ExtentX        =   2381
  655.          _ExtentY        =   582
  656.          _Version        =   393216
  657.          ListField       =   "民族"
  658.          Text            =   ""
  659.       End
  660.       Begin VB.TextBox Txt1 
  661.          Height          =   300
  662.          Index           =   3
  663.          Left            =   3750
  664.          TabIndex        =   14
  665.          Top             =   1665
  666.          Width           =   2640
  667.       End
  668.       Begin MSComCtl2.DTPicker DTP1 
  669.          Height          =   330
  670.          Left            =   1140
  671.          TabIndex        =   13
  672.          Top             =   930
  673.          Width           =   1680
  674.          _ExtentX        =   2963
  675.          _ExtentY        =   582
  676.          _Version        =   393216
  677.          Format          =   48300033
  678.          CurrentDate     =   38696
  679.       End
  680.       Begin VB.TextBox Txt1 
  681.          Height          =   300
  682.          Index           =   2
  683.          Left            =   3750
  684.          TabIndex        =   12
  685.          Top             =   585
  686.          Width           =   2640
  687.       End
  688.       Begin VB.ComboBox Combo1 
  689.          Height          =   300
  690.          Left            =   1140
  691.          TabIndex        =   10
  692.          Top             =   585
  693.          Width           =   1695
  694.       End
  695.       Begin VB.PictureBox PicPhoto 
  696.          Height          =   1800
  697.          Left            =   7350
  698.          ScaleHeight     =   1740
  699.          ScaleWidth      =   1530
  700.          TabIndex        =   5
  701.          Top             =   225
  702.          Width           =   1590
  703.       End
  704.       Begin VB.TextBox Txt1 
  705.          Height          =   300
  706.          Index           =   1
  707.          Left            =   3750
  708.          TabIndex        =   4
  709.          Top             =   240
  710.          Width           =   2640
  711.       End
  712.       Begin VB.TextBox Txt1 
  713.          Enabled         =   0   'False
  714.          Height          =   300
  715.          Index           =   0
  716.          Left            =   1140
  717.          TabIndex        =   3
  718.          Top             =   240
  719.          Width           =   1680
  720.       End
  721.       Begin MSDataListLib.DataCombo DataCombo2 
  722.          Bindings        =   "main_rsgl_rsdaxx_lr.frx":0060
  723.          Height          =   330
  724.          Left            =   3750
  725.          TabIndex        =   20
  726.          Top             =   1305
  727.          Width           =   2640
  728.          _ExtentX        =   4657
  729.          _ExtentY        =   582
  730.          _Version        =   393216
  731.          ListField       =   "政治面貌"
  732.          Text            =   ""
  733.       End
  734.       Begin MSDataListLib.DataCombo DataCombo3 
  735.          Bindings        =   "main_rsgl_rsdaxx_lr.frx":0075
  736.          Height          =   330
  737.          Left            =   7155
  738.          TabIndex        =   34
  739.          Top             =   2715
  740.          Width           =   1785
  741.          _ExtentX        =   3149
  742.          _ExtentY        =   582
  743.          _Version        =   393216
  744.          ListField       =   "文化程度"
  745.          Text            =   ""
  746.       End
  747.       Begin MSComCtl2.DTPicker DTP2 
  748.          Height          =   300
  749.          Left            =   1140
  750.          TabIndex        =   38
  751.          Top             =   1665
  752.          Width           =   1695
  753.          _ExtentX        =   2990
  754.          _ExtentY        =   529
  755.          _Version        =   393216
  756.          Format          =   48300033
  757.          CurrentDate     =   38696
  758.       End
  759.       Begin MSComCtl2.DTPicker DTP3 
  760.          Height          =   300
  761.          Left            =   4500
  762.          TabIndex        =   66
  763.          Top             =   3075
  764.          Width           =   1695
  765.          _ExtentX        =   2990
  766.          _ExtentY        =   529
  767.          _Version        =   393216
  768.          Format          =   48300033
  769.          CurrentDate     =   38696
  770.       End
  771.       Begin VB.Label Label8 
  772.          Caption         =   "年龄:"
  773.          Height          =   195
  774.          Left            =   3165
  775.          TabIndex        =   70
  776.          Top             =   1005
  777.          Width           =   540
  778.       End
  779.       Begin VB.Label Label32 
  780.          Caption         =   "入党团时间:"
  781.          Height          =   225
  782.          Left            =   105
  783.          TabIndex        =   65
  784.          Top             =   1725
  785.          Width           =   1110
  786.       End
  787.       Begin VB.Label Label20 
  788.          Caption         =   "总工龄:"
  789.          Height          =   225
  790.          Left            =   6420
  791.          TabIndex        =   41
  792.          Top             =   3120
  793.          Width           =   795
  794.       End
  795.       Begin VB.Label Label19 
  796.          Caption         =   "参加工作时间:"
  797.          Height          =   225
  798.          Left            =   3300
  799.          TabIndex        =   40
  800.          Top             =   3135
  801.          Width           =   1260
  802.       End
  803.       Begin VB.Label Label18 
  804.          Caption         =   "特长:"
  805.          Height          =   225
  806.          Left            =   540
  807.          TabIndex        =   36
  808.          Top             =   3105
  809.          Width           =   570
  810.       End
  811.       Begin VB.Label Label17 
  812.          Caption         =   "文化程度:"
  813.          Height          =   225
  814.          Left            =   6255
  815.          TabIndex        =   35
  816.          Top             =   2775
  817.          Width           =   900
  818.       End
  819.       Begin VB.Label Label16 
  820.          Caption         =   "专业:"
  821.          Height          =   225
  822.          Left            =   3915
  823.          TabIndex        =   33
  824.          Top             =   2775
  825.          Width           =   555
  826.       End
  827.       Begin VB.Label Label15 
  828.          Caption         =   "毕业院校:"
  829.          Height          =   225
  830.          Left            =   165
  831.          TabIndex        =   30
  832.          Top             =   2775
  833.          Width           =   930
  834.       End
  835.       Begin VB.Label Label14 
  836.          Caption         =   "家庭地址:"
  837.          Height          =   225
  838.          Left            =   150
  839.          TabIndex        =   29
  840.          Top             =   2415
  841.          Width           =   930
  842.       End
  843.       Begin VB.Label Label13 
  844.          Caption         =   "手机号码:"
  845.          Height          =   225
  846.          Left            =   2865
  847.          TabIndex        =   28
  848.          Top             =   2100
  849.          Width           =   930
  850.       End
  851.       Begin VB.Label Label12 
  852.          Caption         =   "联系电话:"
  853.          Height          =   225
  854.          Left            =   135
  855.          TabIndex        =   23
  856.          Top             =   2085
  857.          Width           =   930
  858.       End
  859.       Begin VB.Label Label11 
  860.          Caption         =   "籍贯:"
  861.          Height          =   225
  862.          Left            =   3165
  863.          TabIndex        =   22
  864.          Top             =   1725
  865.          Width           =   540
  866.       End
  867.       Begin VB.Label Label10 
  868.          Caption         =   "政治面貌:"
  869.          Height          =   195
  870.          Left            =   2865
  871.          TabIndex        =   21
  872.          Top             =   1365
  873.          Width           =   915
  874.       End
  875.       Begin VB.Label Label9 
  876.          Caption         =   "婚姻状况:"
  877.          Height          =   225
  878.          Left            =   225
  879.          TabIndex        =   18
  880.          Top             =   1350
  881.          Width           =   930
  882.       End
  883.       Begin VB.Label Label7 
  884.          Caption         =   "民族:"
  885.          Height          =   195
  886.          Left            =   4470
  887.          TabIndex        =   17
  888.          Top             =   990
  889.          Width           =   570
  890.       End
  891.       Begin VB.Label Label6 
  892.          Caption         =   "出生年月:"
  893.          Height          =   195
  894.          Left            =   120
  895.          TabIndex        =   15
  896.          Top             =   990
  897.          Width           =   915
  898.       End
  899.       Begin VB.Label Label5 
  900.          Caption         =   "身份证号:"
  901.          Height          =   195
  902.          Left            =   2865
  903.          TabIndex        =   11
  904.          Top             =   630
  905.          Width           =   915
  906.       End
  907.       Begin VB.Label Label4 
  908.          Caption         =   "性别:"
  909.          Height          =   225
  910.          Left            =   420
  911.          TabIndex        =   9
  912.          Top             =   600
  913.          Width           =   570
  914.       End
  915.       Begin VB.Label Label3 
  916.          Caption         =   "照片:"
  917.          Height          =   195
  918.          Left            =   6630
  919.          TabIndex        =   8
  920.          Top             =   330
  921.          Width           =   585
  922.       End
  923.       Begin VB.Label Label2 
  924.          Caption         =   "姓名:"
  925.          Height          =   195
  926.          Left            =   3120
  927.          TabIndex        =   7
  928.          Top             =   300
  929.          Width           =   585
  930.       End
  931.       Begin VB.Label Label1 
  932.          Caption         =   "编号:"
  933.          Height          =   195
  934.          Left            =   405
  935.          TabIndex        =   6
  936.          Top             =   300
  937.          Width           =   585
  938.       End
  939.    End
  940. End
  941. Attribute VB_Name = "main_rsgl_rsdaxx_lr"
  942. Attribute VB_GlobalNameSpace = False
  943. Attribute VB_Creatable = False
  944. Attribute VB_PredeclaredId = True
  945. Attribute VB_Exposed = False
  946. Option Explicit
  947. Dim i As Integer     '定义整型变量
  948. Dim rs1 As New ADODB.Recordset     '定义数据集对象
  949. Public photoFilename As String
  950. Dim mst As New ADODB.Stream
  951. Private Sub cmdDept_Click()
  952.   deptMark = 2
  953.   Load main_datatree
  954.   main_datatree.Show 1
  955. End Sub
  956. Private Sub cmdPhotoAdd_Click()
  957.   '添加职工相片
  958.   With CommonDialog1
  959.        .DialogTitle = "选择要加入的职工相片"
  960.        .Filter = "jpg图片|*.jpg"
  961.        .ShowOpen     '打开对话框
  962.        PicPhoto.Picture = LoadPicture(.FileName)
  963.        photoFilename = .FileName
  964.   End With
  965. End Sub
  966. Private Sub cmdPrint_Click()
  967.   Dim A, B, D As Integer
  968.   A = 350
  969.   B = 500
  970.   D = 400
  971.   Printer.CurrentX = A + 600
  972.   Printer.CurrentY = 200
  973.   Printer.FontSize = 16
  974.   Printer.Font.Name = "华文行楷"
  975.   Printer.Print "员工卡片"
  976.   If PicPhoto.Picture <> LoadPicture("") Then
  977.       Printer.PaintPicture PicPhoto.Picture, PicPhoto.Left - 1500, PicPhoto.Top + 300
  978.   End If
  979.   Printer.Font.Name = "宋体"
  980.   Printer.FontSize = 10
  981.   Printer.CurrentX = A
  982.   Printer.CurrentY = B + 200
  983.   Printer.Print "编号:" & Txt1(0).text & "    姓名:" & Txt1(1)
  984.   B = B + D
  985.   Printer.CurrentX = A
  986.   Printer.CurrentY = B + 200
  987.   Printer.Print "性别:" & Combo1.text & "    身份证号:" & Txt1(2).text
  988.   B = B + D
  989.   Printer.CurrentX = A
  990.   Printer.CurrentY = B + 200
  991.   Printer.Print "部门:" & Txt1(11)
  992.   B = B + D
  993.   Printer.CurrentX = A
  994.   Printer.CurrentY = B + 200
  995.   Printer.Print "家庭住址:" & Txt1(6).text
  996.   B = B + D
  997.   Printer.CurrentX = A
  998.   Printer.CurrentY = B + 200
  999.   Printer.Print "联系电话:" & Txt1(4) & "    手机:" & Txt1(5)
  1000.   B = B + D
  1001.   Printer.CurrentX = A
  1002.   Printer.CurrentY = B + 200
  1003.   Printer.Print "职务:" & DataCombo5 & "    职称:" & DataCombo6 & "    基本工资:" & Txt1(12)
  1004.   B = B + D
  1005.   Printer.CurrentX = A
  1006.   Printer.CurrentY = B + 200
  1007.   Printer.Print "调入时间:" & DTP4 & "    登记日期:" & DTP5 & "    登记人:" & Txt1(16)
  1008.   Printer.EndDoc
  1009. End Sub
  1010. Private Sub Combo1_KeyDown(KeyCode As Integer, Shift As Integer)
  1011.   If KeyCode = vbKeyReturn Then Txt1(2).SetFocus
  1012. End Sub
  1013. Private Sub Combo2_KeyDown(KeyCode As Integer, Shift As Integer)
  1014.   If KeyCode = vbKeyReturn Then DataCombo2.SetFocus
  1015. End Sub
  1016. Private Sub DataCombo1_KeyDown(KeyCode As Integer, Shift As Integer)
  1017.   If KeyCode = vbKeyReturn Then Combo2.SetFocus
  1018. End Sub
  1019. Private Sub DataCombo2_KeyDown(KeyCode As Integer, Shift As Integer)
  1020.   If KeyCode = vbKeyReturn Then DTP2.SetFocus
  1021. End Sub
  1022. Private Sub DataCombo3_KeyDown(KeyCode As Integer, Shift As Integer)
  1023.   If KeyCode = vbKeyReturn Then Txt1(9).SetFocus
  1024. End Sub
  1025. Private Sub DataCombo4_KeyDown(KeyCode As Integer, Shift As Integer)
  1026.   If KeyCode = vbKeyReturn Then DataCombo5.SetFocus
  1027. End Sub
  1028. Private Sub DataCombo5_KeyDown(KeyCode As Integer, Shift As Integer)
  1029.   If KeyCode = vbKeyReturn Then DataCombo6.SetFocus
  1030. End Sub
  1031. Private Sub DataCombo6_KeyDown(KeyCode As Integer, Shift As Integer)
  1032.   If KeyCode = vbKeyReturn Then Txt1(12).SetFocus
  1033. End Sub
  1034. Private Sub DTP1_Change()
  1035.   Txt1(17) = DateDiff("yyyy", DTP1.Value, Date)
  1036. End Sub
  1037. Private Sub DTP1_KeyDown(KeyCode As Integer, Shift As Integer)
  1038.   If KeyCode = vbKeyReturn Then DataCombo1.SetFocus
  1039. End Sub
  1040. Private Sub DTP2_KeyDown(KeyCode As Integer, Shift As Integer)
  1041.   If KeyCode = vbKeyReturn Then Txt1(3).SetFocus
  1042. End Sub
  1043. Private Sub DTP3_Change()
  1044.   Txt1(10) = Val(Left(Date, 4)) - Val(Left(DTP3, 4))
  1045. End Sub
  1046. Private Sub DTP3_KeyDown(KeyCode As Integer, Shift As Integer)
  1047.   If KeyCode = vbKeyReturn Then Txt1(10).SetFocus
  1048. End Sub
  1049. Private Sub DTP4_KeyDown(KeyCode As Integer, Shift As Integer)
  1050.   If KeyCode = vbKeyReturn Then Txt1(14).SetFocus
  1051. End Sub
  1052. Private Sub DTP5_KeyDown(KeyCode As Integer, Shift As Integer)
  1053.   If KeyCode = vbKeyReturn Then Txt1(16).SetFocus
  1054. End Sub
  1055. Private Sub Form_Load()
  1056.   Combo1.AddItem ("男")
  1057.   Combo1.AddItem ("女")
  1058.   Combo1.ListIndex = 0
  1059.   Combo2.AddItem ("未婚")
  1060.   Combo2.AddItem ("已婚")
  1061.   Combo2.AddItem ("再婚")
  1062.   Combo2.ListIndex = 0
  1063.   If blnAddRS = True Then
  1064.     Me.Caption = "人事信息添加"
  1065.     rs1.Open "select * from 人事表 order by 编号", Cnn, adOpenKeyset, adLockOptimistic
  1066.     If rs1.RecordCount > 0 Then
  1067.        rs1.MoveLast
  1068.        Txt1(0) = Format(Val(rs1.Fields("编号")) + 1, "00000")
  1069.     Else
  1070.        Txt1(0) = "00001"
  1071.     End If
  1072.     rs1.Close
  1073.     Txt1(16) = czy
  1074.   Else
  1075.     Me.Caption = "人事信息修改"
  1076.     With main_rsgl_rsdaxx.Adodc1.Recordset
  1077.      If .RecordCount > 0 Then
  1078.          Txt1(0) = .Fields("编号")
  1079.          Txt1(1) = .Fields("姓名")
  1080.          Combo1.text = .Fields("性别")
  1081.          Txt1(2) = .Fields("身份证号")
  1082.          DTP1.Value = .Fields("出生年月")
  1083.          Txt1(17) = .Fields("年龄")
  1084.          DataCombo1 = .Fields("民族")
  1085.          Combo2 = .Fields("婚姻状况")
  1086.          DataCombo2 = .Fields("政治面貌")
  1087.          DTP2.Value = .Fields("入党团时间")
  1088.          Txt1(3) = .Fields("籍贯")
  1089.          Txt1(4) = .Fields("联系电话")
  1090.          Txt1(5) = .Fields("手机号码")
  1091.          Txt1(6) = .Fields("家庭地址")
  1092.          Txt1(7) = .Fields("毕业院校")
  1093.          Txt1(8) = .Fields("专业")
  1094.          DataCombo3 = .Fields("文化程度")
  1095.          Txt1(9) = .Fields("特长")
  1096.          DTP3.Value = .Fields("参加工作时间")
  1097.          Txt1(10) = .Fields("总工龄")
  1098.          Set PicPhoto.DataSource = main_rsgl_rsdaxx.Adodc1
  1099.          PicPhoto.DataField = "照片"
  1100.           If .Fields("照片") Is Nothing Then
  1101.            PicPhoto.Picture = LoadPicture()
  1102.          End If
  1103.          Txt1(11) = .Fields("部门")
  1104.          DataCombo4 = .Fields("工种")
  1105.          DataCombo5 = .Fields("职务")
  1106.          DataCombo6 = .Fields("职称")
  1107.          Txt1(12) = .Fields("基本工资")
  1108.          Txt1(13) = .Fields("其它工资")
  1109.          DTP4.Value = .Fields("调入时间")
  1110.          Txt1(14) = .Fields("本单位工龄")
  1111.          If .Fields("简历") <> "" Then Txt1(15) = .Fields("简历")
  1112.          DTP5.Value = .Fields("登记日期")
  1113.          Txt1(16) = .Fields("登记人")
  1114.     End If
  1115.    End With
  1116.   End If
  1117.   
  1118.   
  1119. End Sub
  1120. Private Sub Form_Activate()
  1121.   Txt1(1).SetFocus
  1122.   If deptMark = 1 Then DataCombo4.SetFocus
  1123. End Sub
  1124. Private Sub PicPhoto_KeyDown(KeyCode As Integer, Shift As Integer)
  1125.   If KeyCode = vbKeyReturn Then DTP2.SetFocus
  1126. End Sub
  1127. Private Sub Txt1_GotFocus(index As Integer)
  1128.   Txt1(index).BackColor = &HFFFF00
  1129.   Txt1(index).SelStart = 0
  1130.   Txt1(index).SelLength = Len(Txt1(index))
  1131. End Sub
  1132. Private Sub Txt1_LostFocus(index As Integer)
  1133.   Txt1(index).BackColor = &H80000005
  1134. End Sub
  1135. Private Sub Txt1_KeyDown(index As Integer, KeyCode As Integer, Shift As Integer)
  1136.   '回车获得焦点
  1137.   If KeyCode = vbKeyReturn And index > 2 And index < 8 Then Txt1(index + 1).SetFocus
  1138.   If KeyCode = vbKeyReturn And index = 1 Then Combo1.SetFocus
  1139.   If KeyCode = vbKeyReturn And index = 2 Then DTP1.SetFocus
  1140.   If KeyCode = vbKeyReturn And index = 8 Then DataCombo3.SetFocus
  1141.   If KeyCode = vbKeyReturn And index = 9 Then DTP3.SetFocus
  1142.   If KeyCode = vbKeyReturn And index = 10 Then Txt1(11).SetFocus
  1143.   If KeyCode = vbKeyReturn And index = 11 Then cmdDept.SetFocus
  1144.   If KeyCode = vbKeyReturn And index = 12 Then Txt1(13).SetFocus
  1145.   If KeyCode = vbKeyReturn And index = 13 Then DTP4.SetFocus
  1146.   If KeyCode = vbKeyReturn And index = 14 Then Txt1(15).SetFocus
  1147.   If KeyCode = vbKeyReturn And index = 15 Then DTP5.SetFocus
  1148.   If KeyCode = vbKeyReturn And index = 16 Then CmdSave.SetFocus
  1149. End Sub
  1150. Private Sub cmdSave_Click()
  1151.   Dim A As Long
  1152.   If blnAddRS = False Then
  1153.     A = MsgBox("您确实要修改这条数据吗?", vbYesNo)
  1154.     If A = vbYes Then
  1155.      rs1.Open "select * from 人事表 where 编号='" + Txt1(0).text + "'", Cnn, adOpenKeyset, adLockOptimistic
  1156.    If rs1.RecordCount > 0 Then
  1157.     rs1.Fields("编号") = Txt1(0)
  1158.     rs1.Fields("姓名") = Txt1(1)
  1159.     rs1.Fields("性别") = Combo1.text
  1160.     rs1.Fields("身份证号") = Txt1(2)
  1161.     rs1.Fields("出生年月") = DTP1.Value
  1162.     rs1.Fields("年龄") = Txt1(17)
  1163.     rs1.Fields("民族") = DataCombo1
  1164.     rs1.Fields("婚姻状况") = Combo2
  1165.     rs1.Fields("政治面貌") = DataCombo2
  1166.     rs1.Fields("入党团时间") = DTP2.Value
  1167.     rs1.Fields("籍贯") = Txt1(3)
  1168.     rs1.Fields("联系电话") = Txt1(4)
  1169.     rs1.Fields("手机号码") = Txt1(5)
  1170.     rs1.Fields("家庭地址") = Txt1(6)
  1171.     rs1.Fields("毕业院校") = Txt1(7)
  1172.     rs1.Fields("专业") = Txt1(8)
  1173.     rs1.Fields("文化程度") = DataCombo3
  1174.     rs1.Fields("特长") = Txt1(9)
  1175.     rs1.Fields("参加工作时间") = DTP3.Value
  1176.     rs1.Fields("总工龄") = Val(Txt1(10))
  1177.     mst.Type = adTypeBinary
  1178.     mst.Open
  1179.     If photoFilename <> "" Then mst.LoadFromFile photoFilename
  1180.     rs1.Fields("照片") = mst.Read
  1181.     rs1.Fields("部门") = Txt1(11)
  1182.     rs1.Fields("工种") = DataCombo4
  1183.     rs1.Fields("职务") = DataCombo5
  1184.     rs1.Fields("职称") = DataCombo6
  1185.     rs1.Fields("基本工资") = Val(Txt1(12))
  1186.     rs1.Fields("其它工资") = Val(Txt1(13))
  1187.     rs1.Fields("调入时间") = DTP4.Value
  1188.     rs1.Fields("本单位工龄") = Val(Txt1(14))
  1189.     rs1.Fields("简历") = Txt1(15)
  1190.     rs1.Fields("登记日期") = DTP5.Value
  1191.     rs1.Fields("登记人") = Txt1(16)
  1192.     rs1.Update
  1193.     main_rsgl_rsdaxx.Adodc1.Refresh
  1194.     End If
  1195.     rs1.Close
  1196.     mst.Close
  1197.    End If
  1198.   Else
  1199.     If Txt1(1).text = "" Then
  1200.        MsgBox "姓名不允许为空!"
  1201.        Exit Sub
  1202.     End If
  1203.     rs1.Open "select * from 人事表", Cnn, adOpenKeyset, adLockOptimistic
  1204.     '新增人员
  1205.     rs1.AddNew
  1206.     rs1.Fields("编号") = Txt1(0)
  1207.     rs1.Fields("姓名") = Txt1(1)
  1208.     rs1.Fields("性别") = Combo1.text
  1209.     rs1.Fields("身份证号") = Txt1(2)
  1210.     rs1.Fields("出生年月") = DTP1.Value
  1211.     rs1.Fields("年龄") = Txt1(17)
  1212.     rs1.Fields("民族") = DataCombo1
  1213.     rs1.Fields("婚姻状况") = Combo2
  1214.     rs1.Fields("政治面貌") = DataCombo2
  1215.     rs1.Fields("入党团时间") = DTP2.Value
  1216.     rs1.Fields("籍贯") = Txt1(3)
  1217.     rs1.Fields("联系电话") = Txt1(4)
  1218.     rs1.Fields("手机号码") = Txt1(5)
  1219.     rs1.Fields("家庭地址") = Txt1(6)
  1220.     rs1.Fields("毕业院校") = Txt1(7)
  1221.     rs1.Fields("专业") = Txt1(8)
  1222.     rs1.Fields("文化程度") = DataCombo3
  1223.     rs1.Fields("特长") = Txt1(9)
  1224.     rs1.Fields("参加工作时间") = DTP3.Value
  1225.     rs1.Fields("总工龄") = Val(Txt1(10))
  1226.     mst.Type = adTypeBinary
  1227.     mst.Open
  1228.     If photoFilename <> "" Then mst.LoadFromFile photoFilename
  1229.     rs1.Fields("照片") = mst.Read
  1230.     rs1.Fields("部门") = Txt1(11)
  1231.     rs1.Fields("工种") = DataCombo4
  1232.     rs1.Fields("职务") = DataCombo5
  1233.     rs1.Fields("职称") = DataCombo6
  1234.     rs1.Fields("基本工资") = Val(Txt1(12))
  1235.     rs1.Fields("其它工资") = Val(Txt1(13))
  1236.     rs1.Fields("调入时间") = DTP4.Value
  1237.     rs1.Fields("本单位工龄") = Val(Txt1(14))
  1238.     rs1.Fields("简历") = Txt1(15)
  1239.     rs1.Fields("登记日期") = DTP5.Value
  1240.     rs1.Fields("登记人") = Txt1(16)
  1241.     rs1.Update
  1242.     main_rsgl_rsdaxx.Adodc1.Refresh
  1243.     rs1.Close
  1244.     mst.Close
  1245.   End If
  1246.   Unload Me
  1247. End Sub
  1248. Private Sub CmdEnd_Click()
  1249.   Unload Me
  1250. End Sub