📄 jmpa_inputdata.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form Form7
BorderStyle = 3 'Fixed Dialog
Caption = "工资数据录入"
ClientHeight = 9675
ClientLeft = 45
ClientTop = 435
ClientWidth = 15240
Icon = "JmPa_inputData.frx":0000
LinkTopic = "Form7"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 9675
ScaleWidth = 15240
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.TextBox Text2
BorderStyle = 0 'None
Enabled = 0 'False
Height = 270
Left = 11640
TabIndex = 5
Top = 840
Width = 1215
End
Begin VB.TextBox Text1
BorderStyle = 0 'None
Enabled = 0 'False
Height = 270
Left = 8880
TabIndex = 3
Top = 840
Width = 1455
End
Begin VB.PictureBox Cell1
Height = 8295
Left = 0
ScaleHeight = 8235
ScaleWidth = 15075
TabIndex = 1
Top = 1320
Width = 15135
End
Begin MSComctlLib.ImageList ImageList1
Left = 7800
Top = 0
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 7
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "JmPa_inputData.frx":0CCA
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "JmPa_inputData.frx":1BA4
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "JmPa_inputData.frx":3136
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "JmPa_inputData.frx":3290
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "JmPa_inputData.frx":36E2
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "JmPa_inputData.frx":39FC
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "JmPa_inputData.frx":3E4E
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 570
Left = 0
TabIndex = 0
Top = 0
Width = 15240
_ExtentX = 26882
_ExtentY = 1005
ButtonWidth = 1455
ButtonHeight = 953
Style = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 12
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "保存"
Key = "fsave"
ImageIndex = 1
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "引出"
Key = "fout"
ImageIndex = 2
Style = 3
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "复制"
Key = "FCOPY"
Style = 3
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "打印"
Key = "fprt"
ImageIndex = 3
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "工资计算"
Key = "fabc"
ImageIndex = 4
EndProperty
BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "计算器"
Key = "fjsq"
ImageIndex = 5
EndProperty
BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "导入"
Key = "ffind"
ImageIndex = 6
EndProperty
BeginProperty Button11 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button12 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "关闭"
Key = "fclose"
ImageIndex = 7
EndProperty
EndProperty
BorderStyle = 1
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "当前月份:"
Height = 255
Left = 10560
TabIndex = 4
Top = 840
Width = 975
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "当前年度:"
Height = 255
Left = 7800
TabIndex = 2
Top = 840
Width = 975
End
Begin VB.Image Image1
BorderStyle = 1 'Fixed Single
Height = 735
Left = 0
Picture = "JmPa_inputData.frx":53E0
Stretch = -1 'True
Top = 600
Width = 15255
End
End
Attribute VB_Name = "Form7"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'Dim fitemstring(1000) As String '获取工资录入时的各项目编号变量
Private Sub Form7_Load()
With Cell1
.Login "whjminfo", "whjminfo", "abcdefg"
.ShowPageBreak 0
.ShowSheetLabel 0, 0
.ShowSideLabel 0, 0
End With
'*********获取当前年度以及当前月份****************
Set fpa_setconn = CreateObject("adodb.connection")
fpa_setconn.Open connstring
Set rs_paset = fpa_setconn.Execute("select * from Pa_set")
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -