?? frm_ygcqbz.frm
字號:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Frm_ygcqbz
BorderStyle = 1 'Fixed Single
Caption = "員工出勤標準管理"
ClientHeight = 1995
ClientLeft = 45
ClientTop = 435
ClientWidth = 5235
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1995
ScaleWidth = 5235
StartUpPosition = 2 '屏幕中心
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 540
Top = 2610
Width = 2055
_ExtentX = 3625
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = ""
OLEDBString = ""
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.CommandButton cmd_cancel
Caption = "取消"
Height = 345
Left = 3945
TabIndex = 8
Top = 1530
Width = 795
End
Begin VB.CommandButton cmd_ok
Caption = "確認"
Height = 345
Left = 3165
TabIndex = 7
Top = 1530
Width = 795
End
Begin VB.Frame Frame1
Height = 1125
Left = 480
TabIndex = 0
Top = 270
Width = 4275
Begin VB.TextBox Text2
Height = 270
Left = 2730
TabIndex = 5
Top = 660
Width = 885
End
Begin VB.TextBox Text1
Height = 270
Left = 2715
TabIndex = 2
Top = 240
Width = 885
End
Begin VB.Label Label4
Caption = "元"
Height = 255
Left = 3750
TabIndex = 6
Top = 720
Width = 345
End
Begin VB.Label Label3
Caption = "每名員工請假一天扣除月工資"
Height = 255
Left = 240
TabIndex = 4
Top = 750
Width = 2610
End
Begin VB.Label Label2
Caption = "元"
Height = 255
Left = 3735
TabIndex = 3
Top = 300
Width = 345
End
Begin VB.Label Label1
Caption = "每名員工遲到一次扣除月工資"
Height = 255
Left = 240
TabIndex = 1
Top = 300
Width = 2610
End
End
End
Attribute VB_Name = "Frm_ygcqbz"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Cmd_Cancel_Click()
Unload Me
End Sub
Private Sub cmd_ok_Click()
c = MsgBox("確認要調整扣款的標準嗎", 33, "提示信息")
If c = vbOK Then
Set DB_AdoRs = Cnn.Execute("UPDATE 扣款標準 SET 遲到扣除='" + Text1 + "',請假扣除='" + Text2 + "'")
MsgBox "操作成功", 64, "提示信息"
End If
End Sub
Private Sub Form_Load()
Adodc1.ConnectionString = MyStrs
Adodc1.RecordSource = "select * from 扣款標準"
Adodc1.Refresh
If Adodc1.Recordset.RecordCount > 0 Then
End If
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -