📄 findxm.frm
字号:
VERSION 5.00
Object = "{FAEEE763-117E-101B-8933-08002B2F4F5A}#1.1#0"; "DBLIST32.OCX"
Begin VB.Form findxm
Caption = "按业务员姓名查询"
ClientHeight = 1605
ClientLeft = 5040
ClientTop = 4185
ClientWidth = 4590
Icon = "findxm.frx":0000
LinkTopic = "Form1"
ScaleHeight = 1605
ScaleWidth = 4590
Begin VB.CommandButton Command1
Caption = "查 询"
Default = -1 'True
Height = 375
Left = 1440
TabIndex = 2
Top = 960
Width = 1695
End
Begin MSDBCtls.DBCombo DBCombo1
Bindings = "findxm.frx":0742
Height = 330
Left = 1680
TabIndex = 0
Top = 360
Width = 2415
_ExtentX = 4260
_ExtentY = 582
_Version = 327680
ListField = "姓名"
Text = "选择或输入查询条件:"
End
Begin VB.Data Data1
Caption = "Data1"
Connect = "Access"
DatabaseName = "C:\Program Files\YWGL\ywy.mdb"
DefaultCursorType= 0 '缺省游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 375
Left = 120
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = "ywy"
Top = 1440
Visible = 0 'False
Width = 1140
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "选择查询的姓名:"
Height = 180
Left = 240
TabIndex = 1
Top = 435
Width = 1440
End
End
Attribute VB_Name = "findxm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Load jg
jg.Data1.RecordSource = "select * from yw where 业务员='" & DBCombo1.Text & "'"
jg.Data1.Refresh
jg.Show vbModal
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -