📄 frm_bacq.frm
字号:
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label Label11
AutoSize = -1 'True
Caption = "客户意见:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 4320
TabIndex = 16
Top = 3030
Width = 1080
End
Begin VB.Label Label10
AutoSize = -1 'True
Caption = "处理结果:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 750
TabIndex = 15
Top = 3090
Width = 1080
End
Begin VB.Label Label9
AutoSize = -1 'True
Caption = "员工编号:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 4320
TabIndex = 9
Top = 2490
Width = 1080
End
Begin VB.Label Label8
AutoSize = -1 'True
Caption = "出勤原因:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 4290
TabIndex = 8
Top = 1920
Width = 1080
End
Begin VB.Label Label7
AutoSize = -1 'True
Caption = "出勤时间:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 4290
TabIndex = 7
Top = 1410
Width = 1080
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "事情概况:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 750
TabIndex = 6
Top = 3690
Width = 1080
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "保安姓名:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 750
TabIndex = 5
Top = 2550
Width = 1080
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "归队时间:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 720
TabIndex = 4
Top = 1980
Width = 1080
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "出勤日期:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 720
TabIndex = 3
Top = 1470
Width = 1080
End
Begin VB.Line Line1
BorderColor = &H000040C0&
BorderWidth = 3
X1 = 450
X2 = 8310
Y1 = 1110
Y2 = 1110
End
Begin VB.Label Label1
AutoSize = -1 'True
BackColor = &H00C0FFC0&
Caption = "保安出勤记录"
BeginProperty Font
Name = "隶书"
Size = 26.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 525
Left = 2400
TabIndex = 0
Top = 270
Width = 3240
End
Begin VB.Label Label2
AutoSize = -1 'True
BackColor = &H00000000&
Caption = "保安出勤记录"
BeginProperty Font
Name = "隶书"
Size = 26.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 525
Left = 2490
TabIndex = 1
Top = 390
Width = 3240
End
End
Attribute VB_Name = "Frm_bacq"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Combo1.Text = ""
End Sub
Private Sub Command2_Click()
If Text1 = "" Or Text2 = "" Or Text3 = "" Then
MsgBox "各项基本信息不能为空"
Text1.SetFocus
Else
With Adodc1.Recordset
.Fields(0) = DTPicker1.Value
.Fields(1) = Trim(Text1.Text)
.Fields(2) = Trim(Text2.Text)
.Fields(3) = Trim(Text3.Text)
.Fields(4) = Trim(Text4.Text)
.Fields(5) = Trim(Text5.Text)
.Fields(6) = Trim(Combo1.Text)
.Fields(7) = Trim(Text7.Text)
.Update
End With
MsgBox "信息添加成功!"
End If
Unload Me
End Sub
Private Sub Form_Unload(Cancel As Integer)
Frm_bacqcu.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -