📄 -
字号:
Text = "4"
Top = 972
Width = 3315
End
Begin VB.CommandButton Ydcommand1
Height = 300
Index = 0
Left = 2370
Picture = "列表查询_盘点单列表查询条件(单据式).frx":1EA2
Style = 1 'Graphical
TabIndex = 25
Top = 210
Visible = 0 'False
Width = 300
End
Begin VB.CommandButton Ydcommand1
Height = 300
Index = 4
Left = 4320
Picture = "列表查询_盘点单列表查询条件(单据式).frx":222C
Style = 1 'Graphical
TabIndex = 24
Top = 960
Visible = 0 'False
Width = 300
End
Begin VB.CommandButton Ydcommand1
Height = 300
Index = 5
Left = 4320
Picture = "列表查询_盘点单列表查询条件(单据式).frx":25B6
Style = 1 'Graphical
TabIndex = 23
Top = 1350
Visible = 0 'False
Width = 300
End
Begin VB.TextBox LrText
Height = 300
Index = 5
Left = 1005
TabIndex = 5
Text = "5"
Top = 1353
Width = 3315
End
Begin VB.TextBox LrText
BackColor = &H00FFFFFF&
Height = 300
Index = 6
Left = 1005
TabIndex = 6
Text = "6"
Top = 1734
Width = 3330
End
Begin VB.TextBox LrText
Height = 300
Index = 1
Left = 3000
TabIndex = 1
Text = "1"
Top = 210
Width = 1320
End
Begin VB.Line Line1
Index = 1
X1 = 2730
X2 = 2940
Y1 = 390
Y2 = 390
End
Begin VB.Line Line1
Index = 0
X1 = 2730
X2 = 2940
Y1 = 735
Y2 = 735
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "单据号:"
Height = 180
Index = 3
Left = 135
TabIndex = 38
Top = 645
Width = 630
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "仓库:"
Height = 180
Index = 0
Left = 135
TabIndex = 37
Top = 1020
Width = 450
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "物料分类:"
Height = 180
Index = 1
Left = 135
TabIndex = 36
Top = 1800
Width = 810
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "物料编码:"
Height = 180
Index = 2
Left = 135
TabIndex = 35
Top = 2175
Width = 810
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "部门:"
Height = 180
Index = 5
Left = 135
TabIndex = 34
Top = 1410
Width = 450
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "日期:"
Height = 180
Index = 9
Left = 135
TabIndex = 33
Top = 270
Width = 450
End
End
Begin VB.Frame Frame3
Height = 3495
Index = 0
Left = -74910
TabIndex = 18
Top = 420
Width = 5640
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "数量:"
Height = 180
Index = 7
Left = 285
TabIndex = 21
Top = 825
Width = 450
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "金额:"
Height = 180
Index = 6
Left = 285
TabIndex = 20
Top = 375
Width = 450
End
Begin VB.Line Line2
Index = 0
X1 = 2925
X2 = 3165
Y1 = 480
Y2 = 480
End
Begin VB.Line Line2
Index = 1
X1 = 2910
X2 = 3150
Y1 = 975
Y2 = 975
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "货区:"
Height = 180
Index = 4
Left = 285
TabIndex = 19
Top = 1275
Width = 450
End
End
End
End
Attribute VB_Name = "KF_FrmPDDCxtj"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'******************************************************************
'* 模 块 名 称 :期初单据列表查询条件
'* 功 能 描 述 :
'* 程序员姓名 :张万成
'* 最后修改人 :张万成
'* 最后修改时间:2001/11/20
'* 备 注:程序中所有依实际情况自定义部分均用[>> <<]括起
'******************************************************************
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()
'以下为文本框处理程序(Fixed)
TextGroupCode = "KF_PDDCxtj"
Call Drwbkxx(TextGroupCode, Textvar(), Textboolean(), Textint(), Textstr()) '读入文本框录入信息
Call Wbkcsh
LrText(0).Text = Format(Xtrq, "yyyy-mm-dd")
LrText(1).Text = Format(Xtrq, "yyyy-mm-dd")
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 QdCommand_Click() '确 定
'录入条件有效性判断(Fixed)
If Not Lrtjyxxpd Then
Exit Sub
End If
Me.Hide
'[>>激活查询过程结果窗体
KF_FrmPDDcxjg.Timer1.Enabled = True
KF_FrmPDDcxjg.SetFocus
'<<]
End Sub
Private Sub QxCommand_Click() '取消(Fixed)
Me.Hide
End Sub
Private Function Lrtjyxxpd() As Boolean '用户录入条件有效性判断
Dim Jsqte As Integer
Lrtjyxxpd = False
'对需要进行事后判断的文本框录入内容进行有效性判断 (Fixed)
For Jsqte = 0 To Max_Text_Index
If Textint(Jsqte, 9) = 0 Or Textint(Jsqte, 9) = 2 Then
If Not TextYxxpd(Jsqte) Then
Exit Function
End If
End If
Next Jsqte
'[>>以下为依据实际情况自定义部分
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -