?? f_fulifeidayin.frm
字號:
VERSION 5.00
Begin VB.Form F_FuliFeiDaYin
BorderStyle = 3 'Fixed Dialog
Caption = "福利費"
ClientHeight = 6090
ClientLeft = 45
ClientTop = 330
ClientWidth = 11910
BeginProperty Font
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Moveable = 0 'False
ScaleHeight = 6090
ScaleWidth = 11910
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
WindowState = 2 'Maximized
Begin VB.ComboBox Combo1
Height = 300
Left = 6600
TabIndex = 7
Top = 240
Width = 1695
End
Begin VB.TextBox Text1
Height = 285
Left = 840
TabIndex = 3
Top = 240
Width = 1455
End
Begin VB.TextBox Text2
Height = 285
Left = 3480
TabIndex = 2
Top = 240
Width = 1455
End
Begin VB.CommandButton cmdPrint
Caption = "打印預覽"
Height = 300
Left = 8640
TabIndex = 1
Top = 240
Width = 1095
End
Begin VB.CommandButton cmdClose
Caption = "關閉"
Height = 300
Left = 10200
TabIndex = 0
Top = 240
Width = 1095
End
Begin VB.Label Label3
Caption = "福利項目"
Height = 255
Left = 5280
TabIndex = 6
Top = 240
Width = 1095
End
Begin VB.Label Label1
Caption = "年度"
Height = 255
Left = 120
TabIndex = 5
Top = 240
Width = 1095
End
Begin VB.Label Label2
Caption = "月份"
Height = 255
Left = 2520
TabIndex = 4
Top = 240
Width = 975
End
End
Attribute VB_Name = "F_FuliFeiDaYin"
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 cmdPrint_Click()
Dim NianDu As Integer
Dim YueFen As Integer
If IsNumeric(Text1) And IsNumeric(Text2) And Combo1.Text <> "" Then
NianDu = CDbl(Text1)
YueFen = CDbl(Text2)
DataEnvironment1.Commands("Cmd_福利費_Grouping").Parameters("param1").Value = NianDu
DataEnvironment1.Commands("Cmd_福利費_Grouping").Parameters("param2").Value = YueFen
DataEnvironment1.Commands("Cmd_福利費_Grouping").Parameters("param3").Value = Combo1.Text
DRP_福利費.Show
Else
MsgBox "請選擇年度、月份、和費用項目!"
End If
End Sub
Private Sub Form_Load()
SqlFeiYongXiangMu = "select distinct 費用項目 from 福利費用"
Set RsFeiYongXiangMu = db.Execute(SqlFeiYongXiangMu)
While Not RsFeiYongXiangMu.EOF
Combo1.AddItem Trim(RsFeiYongXiangMu("費用項目"))
RsFeiYongXiangMu.MoveNext
Wend
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -