📄 i-
字号:
Text = "10"
Top = 3300
Width = 2115
End
Begin VB.CommandButton YDCommand1
Enabled = 0 'False
Height = 300
Index = 12
Left = 5910
Picture = "帐簿分析_出入库流水帐查询条件.frx":3730
Style = 1 'Graphical
TabIndex = 19
Top = 3630
Visible = 0 'False
Width = 300
End
Begin VB.CommandButton YDCommand1
Enabled = 0 'False
Height = 315
Index = 11
Left = 3195
Picture = "帐簿分析_出入库流水帐查询条件.frx":3ABA
Style = 1 'Graphical
TabIndex = 18
Top = 3630
Visible = 0 'False
Width = 300
End
Begin VB.ComboBox Com_JzMon
Height = 315
Left = 2460
Style = 2 'Dropdown List
TabIndex = 1
Top = 615
Width = 1020
End
Begin VB.ComboBox Com_QsMon
Height = 315
Left = 1035
Style = 2 'Dropdown List
TabIndex = 0
Top = 615
Width = 1020
End
Begin VB.Label Lbl_Year
BackColor = &H8000000E&
BorderStyle = 1 'Fixed Single
Caption = "Year"
Height = 300
Left = 1035
TabIndex = 48
Top = 270
Width = 2460
End
Begin VB.Line Line2
X1 = 3570
X2 = 3720
Y1 = 3765
Y2 = 3765
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "年度:"
Height = 180
Index = 5
Left = 180
TabIndex = 45
Top = 345
Width = 450
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "存货分类:"
Height = 195
Index = 4
Left = 180
TabIndex = 44
Top = 1395
Width = 765
End
Begin VB.Line Line1
X1 = 3570
X2 = 3735
Y1 = 2115
Y2 = 2115
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "收发类别:"
Height = 180
Index = 2
Left = 180
TabIndex = 43
Top = 2025
Width = 810
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "仓库名称:"
Height = 180
Index = 1
Left = 180
TabIndex = 42
Top = 1065
Width = 810
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "单据日期:"
Height = 180
Index = 0
Left = 180
TabIndex = 41
Top = 3375
Width = 810
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "供应商:"
Height = 180
Index = 6
Left = 180
TabIndex = 40
Top = 2355
Width = 630
End
Begin VB.Line Line5
X1 = 3570
X2 = 3735
Y1 = 3450
Y2 = 3450
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "客户:"
Height = 180
Index = 7
Left = 180
TabIndex = 39
Top = 2685
Width = 450
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "存货编码:"
Height = 195
Index = 8
Left = 180
TabIndex = 38
Top = 1725
Width = 765
End
Begin VB.Line Line6
X1 = 3570
X2 = 3720
Y1 = 1785
Y2 = 1785
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "部门:"
Height = 180
Index = 10
Left = 180
TabIndex = 37
Top = 3015
Width = 450
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "记帐日期:"
Enabled = 0 'False
Height = 180
Index = 11
Left = 180
TabIndex = 36
Top = 3675
Width = 810
End
Begin VB.Line Line7
X1 = 2175
X2 = 2340
Y1 = 765
Y2 = 765
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "月份:"
Height = 180
Index = 9
Left = 180
TabIndex = 35
Top = 705
Width = 450
End
End
Begin VB.CommandButton QcCommand
Caption = "全清(&L)"
Height = 300
Left = 120
TabIndex = 16
Top = 4290
Width = 1120
End
Begin VB.CheckBox UnloadCheck
Caption = "卸载窗体"
Height = 375
Left = 2940
TabIndex = 47
Top = 450
Width = 1065
End
End
Attribute VB_Name = "Zbfx_InOutCond"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'******************************************************************
'* 模 块 名 称 :出入库流水查询条件
'* 功 能 描 述 :
'* 程序员姓名 :白凤英
'* 最后修改人 :白凤英
'* 最后修改时间:2001/12/13
'* 备 注:程序中所有依实际情况自定义部分均用[>> <<]括起
'******************************************************************
Dim Tsxx As String '系统信息提示
'以下为固定使用变量(文本框)
Dim Textvar() As Variant '存储变体型文本框信息
Dim Textboolean() As Boolean '存储布尔型文本框信息
Dim Textint() As Integer '存储整型文本框信息
Dim Textstr() As String '存储字符型文本框信息
Dim Max_Text_Index As Integer '最大录入文本框索引值
Dim TextGroupCode As String '文本框录入分组编码
Dim TextValiLock As Boolean '文本框失去焦点是否进行有效性控制判断
Dim TextValiJudgeLock() As Boolean '文本框录入有效性判断控制锁
Dim CurTextIndex As Integer '当前文本框索引值
Dim TextChangeLock As Boolean '文本框内容变换控制锁
Dim Bln_Cancel As Boolean '取消按钮信息传递
Private Sub Form_KeyPress(KeyAscii As Integer) '控 制 焦 点 转 移(Fixed)
Dim jdzygs As Integer '控件焦点转移个数
jdzygs = 30
Select Case KeyAscii
Case vbKeyReturn
If Kjjdzy(jdzygs) Then
KeyAscii = 0
End If
Case 39 '屏蔽"'"
KeyAscii = 0
End Select
End Sub
Private Sub Form_Load()
Dim Rectemp As Recordset
Dim mYear As Integer
Dim mPeriod As Integer
'以下为文本框处理程序(Fixed)
TextGroupCode = "Chhs_InOutCond"
Call Drwbkxx(TextGroupCode, Textvar(), Textboolean(), Textint(), Textstr()) '读入文本框录入信息
Call Wbkcsh
'[>>初始化查询条件默认值
mYear = Xtyear
Lbl_Year = CStr(mYear) + "年"
'月份
Set Rectemp = Cw_DataEnvi.DataConnect.Execute("Select Period From GY_Kjrlb Where Kjyear='" & mYear & "' Order by Period desc")
If Not Rectemp.EOF Then
mPeriod = Rectemp.Fields("Period")
End If
For Jsqte = StartMon To mPeriod
Com_QsMon.AddItem CStr(mYear) + "." + CStr(Jsqte)
Com_QsMon.ItemData(Com_QsMon.NewIndex) = Jsqte
Com_JzMon.AddItem CStr(mYear) + "." + CStr(Jsqte)
Com_JzMon.ItemData(Com_JzMon.NewIndex) = Jsqte
Next Jsqte
Com_QsMon.ListIndex = 0
Com_JzMon.ListIndex = Com_JzMon.ListCount - 1
Opt_Check(0).Value = True
'<<]
Set Rectemp = Nothing
LrText(11).Enabled = False
LrText(12).Enabled = False
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) '查询条件窗体卸载
'查询条件窗体卸载时判断是否因为结果窗体卸载,如是则卸载,否则隐藏
If UnloadCheck.Value <> 1 Then
Cancel = 1
Me.Hide
End If
End Sub
Private Sub Opt_Check_Click(Index As Integer)
If Not Opt_Check(1).Value Then
LrText(11).Text = ""
LrText(12).Text = ""
LrText(11).Enabled = False
LrText(12).Enabled = False
YDCommand1(11).Enabled = False
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -