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

📄 form3.frm

📁 access+vb工资管理系统。没有文档。 功能较全面。工资表的修改
💻 FRM
📖 第 1 页 / 共 2 页
字号:
      DataField       =   "单位名称"
      DataSource      =   "datPrimaryRS"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   285
      Index           =   0
      Left            =   1260
      MaxLength       =   40
      TabIndex        =   0
      Top             =   60
      Width           =   4155
   End
   Begin VB.Label lblLabels 
      Caption         =   "离休代扣项数:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Index           =   13
      Left            =   2940
      TabIndex        =   29
      Top             =   3930
      Width           =   1575
   End
   Begin VB.Label lblLabels 
      Caption         =   "离休应发项数:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Index           =   12
      Left            =   120
      TabIndex        =   28
      Top             =   3900
      Width           =   1665
   End
   Begin VB.Label lblLabels 
      Caption         =   "退休代扣项数:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Index           =   11
      Left            =   2940
      TabIndex        =   27
      Top             =   3510
      Width           =   1575
   End
   Begin VB.Label lblLabels 
      Caption         =   "退休应发项数:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Index           =   10
      Left            =   120
      TabIndex        =   26
      Top             =   3480
      Width           =   1665
   End
   Begin VB.Label lblLabels 
      Caption         =   "在职代扣项数:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Index           =   9
      Left            =   2940
      TabIndex        =   25
      Top             =   3090
      Width           =   1575
   End
   Begin VB.Label lblLabels 
      Caption         =   "在职应发项数:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Index           =   8
      Left            =   120
      TabIndex        =   24
      Top             =   3090
      Width           =   1665
   End
   Begin VB.Label lblLabels 
      Caption         =   "单位代号:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Index           =   7
      Left            =   120
      TabIndex        =   23
      Top             =   2670
      Width           =   1125
   End
   Begin VB.Label lblLabels 
      Caption         =   "长城卡类别:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Index           =   6
      Left            =   120
      TabIndex        =   21
      Top             =   2250
      Width           =   1425
   End
   Begin VB.Label lblLabels 
      Caption         =   "电子邮箱地址:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Index           =   5
      Left            =   120
      TabIndex        =   20
      Top             =   1800
      Width           =   1665
   End
   Begin VB.Label lblLabels 
      Caption         =   "联系电话:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Index           =   4
      Left            =   120
      TabIndex        =   19
      Top             =   1350
      Width           =   1095
   End
   Begin VB.Label lblLabels 
      Caption         =   "使用人密码:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Index           =   3
      Left            =   3090
      TabIndex        =   18
      Top             =   960
      Width           =   1365
   End
   Begin VB.Label lblLabels 
      Caption         =   "系统使用人:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Index           =   2
      Left            =   120
      TabIndex        =   17
      Top             =   930
      Width           =   1365
   End
   Begin VB.Label lblLabels 
      Caption         =   "财务负责人:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Index           =   1
      Left            =   120
      TabIndex        =   16
      Top             =   510
      Width           =   1455
   End
   Begin VB.Label lblLabels 
      Caption         =   "单位名称:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Index           =   0
      Left            =   120
      TabIndex        =   15
      Top             =   60
      Width           =   1095
   End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit


Private Sub cmd关闭_Click()
  If Len(Trim(txtFields(0))) < 0 And Len(Trim(txtFields(2))) < 0 And Len(Trim(txtFields(3))) < 0 And Len(Trim(txtFields(6))) < 0 And Len(Trim(txtFields(7))) < 0 And Len(Trim(txtFields(8))) < 0 And Len(Trim(txtFields(9))) < 0 Then
     
  
  Screen.MousePointer = vbDefault
  Unload Me
  Form2.Show 1
End Sub

Private Sub Combo1_Click()
      txtFields(6).Text = Combo1.Text
End Sub

Private Sub datPrimaryRS_Error(DataErr As Integer, Response As Integer)
  '错误处理程序代码置于此处
  '想要忽略错误,注释掉下一行
  '想要俘获它们,在此添加代码处理它们
  MsgBox "Data error event hit err:" & Error$(DataErr)
  Response = 0  '忽略错误
End Sub

Private Sub datPrimaryRS_Reposition()
  Screen.MousePointer = vbDefault
  On Error Resume Next
  '为 dynasets 和快照显示当前记录位置
  datPrimaryRS.Caption = "Record: " & (datPrimaryRS.Recordset.AbsolutePosition + 1)
End Sub

Private Sub datPrimaryRS_Validate(Action As Integer, Save As Integer)
  '验证代码置于此处
  '下列动作发生时该事件被调用
  Select Case Action
    Case vbDataActionMoveFirst
    Case vbDataActionMovePrevious
    Case vbDataActionMoveNext
    Case vbDataActionMoveLast
    Case vbDataActionAddNew
    Case vbDataActionUpdate
    Case vbDataActionDelete
    Case vbDataActionFind
    Case vbDataActionBookmark
    Case vbDataActionClose
      Screen.MousePointer = vbDefault
  End Select
  Screen.MousePointer = vbHourglass
End Sub

Private Sub Form_Load()
    Combo1.AddItem "普通卡"
    Combo1.AddItem "借记卡"
End Sub

Private Sub Form_Unload(Cancel As Integer)
  Screen.MousePointer = vbDefault
End Sub

⌨️ 快捷键说明

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