📄 rdtkqchx.frm
字号:
VERSION 5.00
Begin VB.Form Form12
BorderStyle = 3 'Fixed Dialog
Caption = "日动态考勤查询"
ClientHeight = 1830
ClientLeft = 45
ClientTop = 435
ClientWidth = 5595
LinkTopic = "Form12"
LockControls = -1 'True
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 1830
ScaleWidth = 5595
ShowInTaskbar = 0 'False
Begin VB.CommandButton Command1
Caption = "查 询"
Default = -1 'True
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 450
Left = 3840
TabIndex = 7
Top = 1102
Width = 1000
End
Begin VB.ComboBox Combo1
Height = 300
Left = 3840
Style = 2 'Dropdown List
TabIndex = 6
Top = 180
Width = 1665
End
Begin VB.TextBox Text2
Alignment = 2 'Center
Enabled = 0 'False
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 360
Left = 3840
TabIndex = 5
Top = 630
Width = 1300
End
Begin VB.OptionButton Option3
Caption = "查询末签到员工"
BeginProperty Font
Name = "楷体_GB2312"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 2
Top = 660
Width = 2415
End
Begin VB.OptionButton Option2
Caption = "查询迟到员工"
BeginProperty Font
Name = "楷体_GB2312"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 120
TabIndex = 1
Top = 120
Value = -1 'True
Width = 2295
End
Begin VB.OptionButton Option1
Caption = "查询通过电子签到员工"
BeginProperty Font
Name = "楷体_GB2312"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 120
TabIndex = 0
Top = 1080
Width = 2895
End
Begin VB.Label Label2
Caption = "部 门:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 2640
TabIndex = 4
Top = 210
Width = 1305
End
Begin VB.Label Label1
Caption = "当前日期:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 2640
TabIndex = 3
Top = 690
Width = 1305
End
End
Attribute VB_Name = "Form12"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Option2.Value = True Then
rst.Open "select * from kaoqinbiao where 日期=#" & Text2.Text & "# and 时间 < #" & 8 & "# ", con
End Sub
Private Sub Form_Load()
Form12.Top = MDIForm1.Height / 3.5
Form12.Left = MDIForm1.Width / 4
Text2.Text = Date
rst.Open "select * from bumeibiao ", con
Do While Not rst.EOF
Combo1.AddItem rst!部门名称
rst.MoveNext
Loop
rst.Close
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -