?? 考勤信息.frm
字號:
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 = 9405
ClientLeft = 60
ClientTop = 450
ClientWidth = 11055
LinkTopic = "Form1"
ScaleHeight = 9405
ScaleWidth = 11055
StartUpPosition = 2 '屏幕中心
Begin VB.TextBox Text8
DataField = "記錄編號"
DataSource = "Adodc1"
Height = 495
Left = 1320
TabIndex = 19
Top = 3000
Width = 1335
End
Begin VB.CommandButton Command3
Caption = "退出"
Height = 495
Left = 6720
TabIndex = 17
Top = 6240
Width = 1215
End
Begin VB.CommandButton Command2
Caption = "確定"
Enabled = 0 'False
Height = 495
Left = 4080
TabIndex = 16
Top = 6240
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "添加"
Height = 495
Left = 1440
TabIndex = 15
Top = 6240
Width = 1215
End
Begin VB.TextBox Text7
DataField = "早退"
DataSource = "Adodc1"
Height = 615
Left = 1800
TabIndex = 14
Top = 5160
Width = 1455
End
Begin VB.TextBox Text6
DataField = "遲到"
DataSource = "Adodc1"
Height = 495
Left = 8520
TabIndex = 13
Top = 4320
Width = 1575
End
Begin VB.TextBox Text5
DataField = "下班時間"
DataSource = "Adodc1"
Height = 495
Left = 5280
TabIndex = 12
Top = 4200
Width = 1215
End
Begin VB.TextBox Text4
DataField = "上班時間"
DataSource = "Adodc1"
Height = 495
Left = 1440
TabIndex = 11
Top = 4200
Width = 1455
End
Begin VB.TextBox Text3
DataField = "考勤當日"
DataSource = "Adodc1"
Height = 615
Left = 9480
TabIndex = 10
Top = 2880
Width = 1335
End
Begin VB.TextBox Text2
DataField = "姓名"
DataSource = "Adodc1"
Height = 495
Left = 6960
TabIndex = 9
Top = 2880
Width = 1215
End
Begin VB.TextBox Text1
DataField = "員工編號"
DataSource = "Adodc1"
Height = 495
Left = 4080
TabIndex = 8
Top = 2880
Width = 1575
End
Begin MSAdodcLib.Adodc Adodc1
Height = 615
Left = 8400
Top = 7320
Width = 2055
_ExtentX = 3625
_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 = -2147483647
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 MSDataGridLib.DataGrid DataGrid1
Bindings = "考勤信息.frx":0000
Height = 2535
Left = 360
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 Label8
Caption = "記錄編號"
Height = 495
Left = 240
TabIndex = 18
Top = 3000
Width = 855
End
Begin VB.Label Label7
Caption = "早退"
Height = 495
Left = 240
TabIndex = 7
Top = 5160
Width = 1215
End
Begin VB.Label Label6
Caption = "遲到"
Height = 495
Left = 7440
TabIndex = 6
Top = 4200
Width = 1215
End
Begin VB.Label Label5
Caption = "下班時間"
Height = 495
Left = 3840
TabIndex = 5
Top = 4200
Width = 1215
End
Begin VB.Label Label4
Caption = "上班時間 "
Height = 495
Left = 120
TabIndex = 4
Top = 4200
Width = 1095
End
Begin VB.Label Label3
Caption = "考勤當日"
Height = 495
Left = 8520
TabIndex = 3
Top = 3000
Width = 975
End
Begin VB.Label Label2
Caption = "姓名"
Height = 495
Left = 6240
TabIndex = 2
Top = 2880
Width = 855
End
Begin VB.Label Label1
Caption = "員工編號 "
Height = 375
Left = 3000
TabIndex = 1
Top = 3000
Width = 975
End
End
Attribute VB_Name = "添加職工考勤信息"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub DBCombo1_Click(Area As Integer)
Command2.Enabled = Not Command2.Enabled
End Sub
Private Sub Command1_Click()
Command2.Enabled = Not Command2.Enabled
Command2.Caption = "保存"
Command1.Enabled = Not Command1.Enabled
Adodc1.Recordset.AddNew
End Sub
Private Sub Command2_Click()
Command1.Enabled = Not Command1.Enabled
Adodc1.Recordset.Update
'On Error Resume Next
Command2.Caption = "取消"
End Sub
Private Sub Command3_Click()
Unload Me
'On Error Resume Next
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -