frm_失业保险记录.frm
资源名称:dbbase.rar [点击查看]
上传用户:xiao_xia32
上传日期:2022-07-21
资源大小:1174k
文件大小:19k
源码类别:
企业管理
开发平台:
Visual Basic
- VERSION 5.00
- Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
- Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
- Begin VB.Form frm_SYBXJL
- BorderStyle = 3 'Fixed Dialog
- Caption = "失业保险记录"
- ClientHeight = 5505
- ClientLeft = 1095
- ClientTop = 330
- ClientWidth = 8130
- KeyPreview = -1 'True
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 5505
- ScaleWidth = 8130
- Begin VB.Frame Frame1
- Height = 5535
- Left = 30
- TabIndex = 0
- Top = -30
- Width = 8085
- Begin TabDlg.SSTab SSTab1
- Height = 5115
- Left = 150
- TabIndex = 1
- Top = 360
- Width = 7845
- _ExtentX = 13838
- _ExtentY = 9022
- _Version = 393216
- Style = 1
- Tabs = 2
- TabHeight = 520
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- TabCaption(0) = "录入"
- TabPicture(0) = "frm_失业保险记录.frx":0000
- Tab(0).ControlEnabled= -1 'True
- Tab(0).Control(0)= "lblLabels(1)"
- Tab(0).Control(0).Enabled= 0 'False
- Tab(0).Control(1)= "lblLabels(2)"
- Tab(0).Control(1).Enabled= 0 'False
- Tab(0).Control(2)= "lblLabels(3)"
- Tab(0).Control(2).Enabled= 0 'False
- Tab(0).Control(3)= "lblLabels(4)"
- Tab(0).Control(3).Enabled= 0 'False
- Tab(0).Control(4)= "lblLabels(5)"
- Tab(0).Control(4).Enabled= 0 'False
- Tab(0).Control(5)= "lblLabels(6)"
- Tab(0).Control(5).Enabled= 0 'False
- Tab(0).Control(6)= "lblLabels(7)"
- Tab(0).Control(6).Enabled= 0 'False
- Tab(0).Control(7)= "lblLabels(8)"
- Tab(0).Control(7).Enabled= 0 'False
- Tab(0).Control(8)= "TXT_ND"
- Tab(0).Control(8).Enabled= 0 'False
- Tab(0).Control(9)= "TXT_GZZE"
- Tab(0).Control(9).Enabled= 0 'False
- Tab(0).Control(10)= "TXT_YJZJ"
- Tab(0).Control(10).Enabled= 0 'False
- Tab(0).Control(11)= "TXT_DWYJE"
- Tab(0).Control(11).Enabled= 0 'False
- Tab(0).Control(12)= "TXT_JFRS"
- Tab(0).Control(12).Enabled= 0 'False
- Tab(0).Control(13)= "TXT_GRYJE"
- Tab(0).Control(13).Enabled= 0 'False
- Tab(0).Control(14)= "TXT_YJJE"
- Tab(0).Control(14).Enabled= 0 'False
- Tab(0).Control(15)= "cmdUpdate"
- Tab(0).Control(15).Enabled= 0 'False
- Tab(0).Control(16)= "cmdRefresh"
- Tab(0).Control(16).Enabled= 0 'False
- Tab(0).Control(17)= "cmdClose"
- Tab(0).Control(17).Enabled= 0 'False
- Tab(0).Control(18)= "Picture1"
- Tab(0).Control(18).Enabled= 0 'False
- Tab(0).Control(19)= "RQ"
- Tab(0).Control(19).Enabled= 0 'False
- Tab(0).ControlCount= 20
- TabCaption(1) = "列表"
- TabPicture(1) = "frm_失业保险记录.frx":001C
- Tab(1).ControlEnabled= 0 'False
- Tab(1).ControlCount= 0
- Begin MSComCtl2.DTPicker RQ
- Height = 315
- Left = 4710
- TabIndex = 21
- Top = 1590
- Width = 1515
- _ExtentX = 2672
- _ExtentY = 556
- _Version = 393216
- Format = 24838145
- CurrentDate = 36305
- End
- Begin VB.PictureBox Picture1
- BackColor = &H00808000&
- Height = 3165
- Left = 120
- ScaleHeight = 3105
- ScaleWidth = 2295
- TabIndex = 20
- Top = 1140
- Width = 2355
- End
- Begin VB.CommandButton cmdClose
- Caption = "关闭"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 390
- Left = 6810
- TabIndex = 19
- Top = 4650
- Width = 915
- End
- Begin VB.CommandButton cmdRefresh
- Caption = "刷新"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 390
- Left = 5715
- TabIndex = 18
- Top = 4650
- Width = 915
- End
- Begin VB.CommandButton cmdUpdate
- Caption = "保存"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 390
- Left = 4650
- TabIndex = 17
- Top = 4650
- Width = 915
- End
- Begin VB.TextBox TXT_YJJE
- DataField = "全年应缴金额"
- BeginProperty DataFormat
- Type = 1
- Format = """¥""#,##0.00"
- HaveTrueFalseNull= 0
- FirstDayOfWeek = 0
- FirstWeekOfYear = 0
- LCID = 2052
- SubFormatType = 2
- EndProperty
- DataSource = "datPrimaryRS"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 4710
- TabIndex = 16
- Top = 4035
- Width = 2895
- End
- Begin VB.TextBox TXT_GRYJE
- DataField = "季度个人应缴额"
- BeginProperty DataFormat
- Type = 1
- Format = """¥""#,##0.00"
- HaveTrueFalseNull= 0
- FirstDayOfWeek = 0
- FirstWeekOfYear = 0
- LCID = 2052
- SubFormatType = 2
- EndProperty
- DataSource = "datPrimaryRS"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 4710
- TabIndex = 14
- Top = 3195
- Width = 2895
- End
- Begin VB.TextBox TXT_JFRS
- DataField = "季度缴费人数"
- DataSource = "datPrimaryRS"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 4710
- TabIndex = 12
- Top = 2400
- Width = 2895
- End
- Begin VB.TextBox TXT_DWYJE
- DataField = "季度单位应缴额"
- BeginProperty DataFormat
- Type = 1
- Format = """¥""#,##0.00"
- HaveTrueFalseNull= 0
- FirstDayOfWeek = 0
- FirstWeekOfYear = 0
- LCID = 2052
- SubFormatType = 2
- EndProperty
- DataSource = "datPrimaryRS"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 4710
- TabIndex = 10
- Top = 2775
- Width = 2895
- End
- Begin VB.TextBox TXT_YJZJ
- DataField = "季度应缴总计"
- BeginProperty DataFormat
- Type = 1
- Format = """¥""#,##0.00"
- HaveTrueFalseNull= 0
- FirstDayOfWeek = 0
- FirstWeekOfYear = 0
- LCID = 2052
- SubFormatType = 2
- EndProperty
- DataSource = "datPrimaryRS"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 4710
- TabIndex = 8
- Top = 3615
- Width = 2895
- End
- Begin VB.TextBox TXT_GZZE
- DataField = "应缴职工年工资总额"
- BeginProperty DataFormat
- Type = 0
- Format = """¥""#,##0.00"
- HaveTrueFalseNull= 0
- FirstDayOfWeek = 0
- FirstWeekOfYear = 0
- LCID = 2052
- SubFormatType = 0
- EndProperty
- DataSource = "datPrimaryRS"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 4710
- TabIndex = 6
- Top = 2010
- Width = 2895
- End
- Begin VB.TextBox TXT_ND
- DataField = "年度"
- DataSource = "datPrimaryRS"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 4710
- TabIndex = 3
- Top = 1215
- Width = 2895
- End
- Begin VB.Label lblLabels
- Caption = "全年应缴金额:"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 255
- Index = 8
- Left = 2790
- TabIndex = 15
- Top = 4035
- Width = 1725
- End
- Begin VB.Label lblLabels
- Caption = "季度个人应缴额:"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 255
- Index = 7
- Left = 2790
- TabIndex = 13
- Top = 3255
- Width = 1725
- End
- Begin VB.Label lblLabels
- Caption = "季度缴费人数:"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 255
- Index = 6
- Left = 2790
- TabIndex = 11
- Top = 2460
- Width = 1725
- End
- Begin VB.Label lblLabels
- Caption = "季度单位应缴额:"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 255
- Index = 5
- Left = 2790
- TabIndex = 9
- Top = 2835
- Width = 1725
- End
- Begin VB.Label lblLabels
- Caption = "季度应缴总计:"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 255
- Index = 4
- Left = 2790
- TabIndex = 7
- Top = 3645
- Width = 1725
- End
- Begin VB.Label lblLabels
- Caption = "应缴职工年工资总额:"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 255
- Index = 3
- Left = 2790
- TabIndex = 5
- Top = 2070
- Width = 1725
- End
- Begin VB.Label lblLabels
- Caption = "日期:"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 255
- Index = 2
- Left = 2790
- TabIndex = 4
- Top = 1665
- Width = 1725
- End
- Begin VB.Label lblLabels
- Caption = "年度:"
- BeginProperty Font
- Name = "宋体"
- Size = 9
- Charset = 134
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 255
- Index = 1
- Left = 2790
- TabIndex = 2
- Top = 1290
- Width = 1725
- End
- End
- End
- End
- Attribute VB_Name = "frm_SYBXJL"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub cmdClose_Click()
- RSGL.Enabled = True
- Unload Me
- End Sub
- Private Sub Form_Load()
- RQ = Date
- TXT_ND = Year(RQ)
- SQL = "SELECT * FROM 员工基本信息 where 档案转入时间<'" & TXT_ND & "'"
- Set rs = ConnWZ.Execute(SQL)
- If rs.EOF Then Exit Sub
- TXT_JFRS = rs.RecordCount
- SQL = "select * from 比例基数维护表 where 年度=" & Val(TXT_ND) & ""
- Set rs = ConnWZ.Execute(SQL)
- If rs.EOF Then Exit Sub
- TXT_GZZE = rs("年工资总额")
- TXT_DWYJE = FormatCurrency(Val(TXT_GZZE) * rs("失业单位比例") / 4)
- TXT_GRYJE = FormatCurrency(Val(rs("失业保险扣款") * Val(TXT_JFRS) * 3))
- TXT_YJZJ = FormatCurrency(Val(Format(TXT_GRYJE)) + Val(Format(TXT_DWYJE)))
- TXT_YJJE = FormatCurrency(Val(Format(TXT_YJZJ)) * 4)
- End Sub