📄 frmconsumerfind.frm
字号:
VERSION 5.00
Object = "{E95A2510-F3D1-416D-823B-4F840FE98091}#3.0#0"; "Command.ocx"
Object = "{0ECD9B60-23AA-11D0-B351-00A0C9055D8E}#6.0#0"; "MSHFLXGD.OCX"
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form frmConsumerFind
BorderStyle = 3 'Fixed Dialog
Caption = "查找顾客信息"
ClientHeight = 7155
ClientLeft = 45
ClientTop = 435
ClientWidth = 9210
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 7155
ScaleWidth = 9210
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command3
Caption = "按姓名查询"
Height = 495
Left = 3840
TabIndex = 5
Top = 5280
Width = 1695
End
Begin VB.TextBox Text1
Height = 495
Left = 1920
TabIndex = 4
Top = 5280
Width = 1335
End
Begin VB.CommandButton Command1
Caption = "退出"
Height = 495
Left = 5640
TabIndex = 3
Top = 5280
Width = 1575
End
Begin MSAdodcLib.Adodc Adodc1
Height = 495
Left = 1200
Top = 6720
Width = 3975
_ExtentX = 7011
_ExtentY = 873
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=hotel;Data Source=SHAOLIN"
OLEDBString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=hotel;Data Source=SHAOLIN"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from gust where 离开时间 is null"
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin MSHierarchicalFlexGridLib.MSHFlexGrid msgConList
Bindings = "frmConsumerFind.frx":0000
Height = 3975
Left = 240
TabIndex = 0
Top = 960
Width = 8040
_ExtentX = 14182
_ExtentY = 7011
_Version = 393216
_NumberOfBands = 1
_Band(0).Cols = 2
End
Begin CSCommand.Command cmdReturn
Height = 255
Left = 1080
TabIndex = 1
Top = 4440
Width = 855
_ExtentX = 1508
_ExtentY = 450
IconAlign = 0
Icon = "frmConsumerFind.frx":0015
Caption = "查 询"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label Label1
Caption = "输入姓名"
Height = 375
Left = 720
TabIndex = 6
Top = 5400
Width = 975
End
Begin VB.Label Label2
Caption = "顾客查询"
BeginProperty Font
Name = "宋体"
Size = 21.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 2760
TabIndex = 2
Top = 240
Width = 1815
End
End
Attribute VB_Name = "frmConsumerFind"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Command3_Click()
Adodc1.ConnectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=hotel;Data Source=SHAOLIN"
Adodc1.RecordSource = "select * from gust where 姓名='" & Text1.Text & "'"
Adodc1.Refresh
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -