📄
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "msdatgrd.ocx"
Begin VB.Form 修改考勤信息
Caption = "修改考勤信息"
ClientHeight = 7320
ClientLeft = 60
ClientTop = 450
ClientWidth = 11820
LinkTopic = "Form1"
ScaleHeight = 7320
ScaleWidth = 11820
StartUpPosition = 3 '窗口缺省
Begin MSAdodcLib.Adodc Adodc1
Height = 615
Left = 7440
Top = 6480
Width = 2175
_ExtentX = 3836
_ExtentY = 1085
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 2
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\人事管理系统\stuff.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\人事管理系统\stuff.mdb;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "员工考勤表"
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.TextBox Text1
DataField = "员工编号"
DataSource = "Adodc1"
Height = 495
Left = 3960
TabIndex = 12
Top = 3240
Width = 1575
End
Begin VB.TextBox Text2
DataField = "姓名"
DataSource = "Adodc1"
Height = 495
Left = 6840
TabIndex = 11
Top = 3240
Width = 1215
End
Begin VB.TextBox Text3
DataField = "考勤当日"
DataSource = "Adodc1"
Height = 615
Left = 9360
TabIndex = 10
Top = 3240
Width = 1335
End
Begin VB.TextBox Text4
DataField = "上班时间"
DataSource = "Adodc1"
Height = 495
Left = 1320
TabIndex = 9
Top = 4560
Width = 1455
End
Begin VB.TextBox Text5
DataField = "下班时间"
DataSource = "Adodc1"
Height = 495
Left = 5160
TabIndex = 8
Top = 4560
Width = 1215
End
Begin VB.TextBox Text6
DataField = "迟到"
DataSource = "Adodc1"
Height = 495
Left = 8400
TabIndex = 7
Top = 4680
Width = 1575
End
Begin VB.TextBox Text7
DataField = "早退"
DataSource = "Adodc1"
Height = 615
Left = 1680
TabIndex = 6
Top = 5520
Width = 1455
End
Begin VB.CommandButton Command1
Caption = "修改"
Height = 495
Left = 1440
TabIndex = 5
Top = 6720
Width = 1215
End
Begin VB.CommandButton Command2
Caption = "确定"
Enabled = 0 'False
Height = 495
Left = 3240
TabIndex = 4
Top = 6720
Width = 1215
End
Begin VB.CommandButton Command3
Caption = "退出"
Height = 495
Left = 4920
TabIndex = 3
Top = 6720
Width = 1215
End
Begin VB.TextBox Text8
DataField = "记录编号"
DataSource = "Adodc1"
Height = 495
Left = 1200
TabIndex = 2
Top = 3360
Width = 1335
End
Begin MSDataGridLib.DataGrid DataGrid1
Bindings = "修改考勤信息.frx":0000
Height = 2535
Left = 720
TabIndex = 0
Top = 240
Width = 10335
_ExtentX = 18230
_ExtentY = 4471
_Version = 393216
AllowUpdate = -1 'True
AllowArrows = -1 'True
ColumnHeaders = -1 'True
HeadLines = 1
RowHeight = 15
FormatLocked = -1 'True
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Caption = "员工考勤表"
ColumnCount = 9
BeginProperty Column00
DataField = "记录编号"
Caption = "记录编号"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column01
DataField = "员工编号"
Caption = "员工编号"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column02
DataField = "姓名"
Caption = "姓名"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column03
DataField = "考勤当日"
Caption = "考勤当日"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column04
DataField = "上班时间"
Caption = "上班时间"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column05
DataField = "下班时间"
Caption = "下班时间"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column06
DataField = "出入标志"
Caption = "出入标志"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column07
DataField = "迟到"
Caption = "迟到"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column08
DataField = "早退"
Caption = "早退"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
SplitCount = 1
BeginProperty Split0
BeginProperty Column00
ColumnWidth = 1094.74
EndProperty
BeginProperty Column01
ColumnWidth = 1275.024
EndProperty
BeginProperty Column02
ColumnWidth = 2085.166
EndProperty
BeginProperty Column03
ColumnWidth = 2085.166
EndProperty
BeginProperty Column04
ColumnWidth = 2085.166
EndProperty
BeginProperty Column05
ColumnWidth = 2085.166
EndProperty
BeginProperty Column06
ColumnWidth = 794.835
EndProperty
BeginProperty Column07
ColumnWidth = 734.74
EndProperty
BeginProperty Column08
ColumnWidth = 1094.74
EndProperty
EndProperty
End
Begin VB.Label Label9
Caption = "员工编号 "
Height = 375
Left = 2880
TabIndex = 20
Top = 3360
Width = 975
End
Begin VB.Label Label2
Caption = "姓名"
Height = 495
Left = 6120
TabIndex = 19
Top = 3240
Width = 855
End
Begin VB.Label Label3
Caption = "考勤当日"
Height = 495
Left = 8400
TabIndex = 18
Top = 3360
Width = 975
End
Begin VB.Label Label4
Caption = "上班时间 "
Height = 495
Left = 0
TabIndex = 17
Top = 4560
Width = 1095
End
Begin VB.Label Label5
Caption = "下班时间"
Height = 495
Left = 3720
TabIndex = 16
Top = 4560
Width = 1215
End
Begin VB.Label Label6
Caption = "迟到"
Height = 495
Left = 7320
TabIndex = 15
Top = 4560
Width = 1215
End
Begin VB.Label Label7
Caption = "早退"
Height = 495
Left = 480
TabIndex = 14
Top = 5640
Width = 1215
End
Begin VB.Label Label1
Caption = "记录编号"
Height = 495
Left = 120
TabIndex = 13
Top = 3360
Width = 855
End
Begin VB.Label Label8
Caption = "记录编号"
Height = 495
Left = 0
TabIndex = 1
Top = 0
Width = 855
End
End
Attribute VB_Name = "修改考勤信息"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Command2.Enabled = Not Command2.Enabled
Command1.Enabled = Not Command1.Enabled
End Sub
Private Sub Command2_Click()
Command1.Enabled = Not Command1.Enabled
Adodc1.Recordset.Update
End Sub
Private Sub Command3_Click()
Me.Hide
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -