📄 +
字号:
VERSION 5.00
Begin VB.Form JC_FrmCashIncomeCostC
BorderStyle = 3 'Fixed Dialog
Caption = "现金收支设置条件"
ClientHeight = 1830
ClientLeft = 45
ClientTop = 330
ClientWidth = 3975
Icon = "基础设置_现金收支设置条件.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1830
ScaleWidth = 3975
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame1
Height = 1605
Left = 60
TabIndex = 3
Top = 150
Width = 3885
Begin VB.CommandButton Command1
Caption = "确定(&O)"
Height = 300
Left = 1230
TabIndex = 1
Top = 1020
Width = 1120
End
Begin VB.CommandButton Command2
Caption = "取消(&C)"
Height = 300
Left = 2430
TabIndex = 2
Top = 1020
Width = 1120
End
Begin VB.ComboBox Cbo_AccountYear
Height = 315
Left = 1170
Style = 2 'Dropdown List
TabIndex = 0
Top = 480
Width = 2475
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "会计年度:"
Height = 195
Left = 300
TabIndex = 4
Top = 540
Width = 765
End
End
End
Attribute VB_Name = "JC_FrmCashIncomeCostC"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'*************************************************************
'* 模 块 名 称 :现金收支设置表会计年度选择
'* 功 能 描 述 :选择会计年度
'* 程序员姓名 : 魏永生
'* 最后修改人 :魏永生
'* 最后修改时间:2001/08/01
'* 备 注:
'*************************************************************
'会计年度选择窗体
Private Sub Command1_Click()
Int_OriYear = Val(Cbo_AccountYear.Text)
Load JC_FrmCashIncomeCost
JC_FrmCashIncomeCost.Show
End Sub
'退出
Private Sub Command2_Click()
Unload Me
End Sub
'添加会计年度
Private Sub Form_Load()
Dim temRs As New ADODB.Recordset
Dim strSql As String
Dim i As Integer
'添加会计年度
strSql = "SELECT DISTINCT kjyear FROM xt_kjrlb"
Set temRs = Cw_DataEnvi.DataConnect.Execute(strSql)
Int_OriYear = Year(Now)
For i = Int_OriYear + 2 To Int_OriYear - temRs.RecordCount + 1 Step -1
Cbo_AccountYear.AddItem Str(i)
Next i
Cbo_AccountYear.ListIndex = 2
If temRs.State = adStateOpen Then temRs.Close
Set temRs = Nothing
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -