📄 findml.frm
字号:
VERSION 5.00
Begin VB.Form findml
BorderStyle = 1 'Fixed Single
Caption = "按毛利查询"
ClientHeight = 1695
ClientLeft = 3780
ClientTop = 4590
ClientWidth = 5100
Icon = "findml.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1695
ScaleWidth = 5100
Begin VB.CommandButton Command1
Caption = "查 询"
Default = -1 'True
Height = 375
Left = 1680
TabIndex = 2
Top = 1200
Width = 1935
End
Begin VB.TextBox Text2
Height = 375
Left = 3360
TabIndex = 1
Top = 480
Width = 1455
End
Begin VB.TextBox Text1
Height = 375
Left = 1560
TabIndex = 0
Top = 480
Width = 1335
End
Begin VB.Shape Shape1
BorderColor = &H00E0E0E0&
Height = 855
Left = 0
Top = 240
Width = 5055
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "输入毛利区间:"
Height = 180
Left = 120
TabIndex = 4
Top = 570
Width = 1260
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "至"
ForeColor = &H000000FF&
Height = 180
Left = 3000
TabIndex = 3
Top = 555
Width = 180
End
End
Attribute VB_Name = "findml"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Load jg
a = Val(Text1.Text)
b = Val(Text2.Text)
jg.Data1.RecordSource = "select * from yw where 毛利 >=" & a & " and 毛利 <=" & b
jg.Data1.Refresh
jg.Show vbModal
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -