📄 lsstj.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form lsstj
Caption = "零售商统计"
ClientHeight = 2325
ClientLeft = 7305
ClientTop = 5925
ClientWidth = 5370
LinkTopic = "Form2"
ScaleHeight = 2325
ScaleWidth = 5370
Begin VB.TextBox Text2
Height = 375
Left = 1800
TabIndex = 5
Top = 1200
Width = 1575
End
Begin VB.CommandButton Command2
Caption = "返回"
Height = 375
Left = 3840
TabIndex = 3
Top = 1200
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "统计"
Height = 375
Left = 3840
TabIndex = 2
Top = 360
Width = 1215
End
Begin VB.TextBox Text1
Height = 375
Left = 1800
TabIndex = 1
Top = 360
Width = 1575
End
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 3840
Top = 360
Width = 1200
_ExtentX = 2117
_ExtentY = 582
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;Persist Security Info=False;User ID=sa;Initial Catalog=物流配送中心数据库"
OLEDBString = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=物流配送中心数据库"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from 配送信息表"
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 VB.Label Label2
Caption = "业务数量"
Height = 375
Left = 240
TabIndex = 4
Top = 1320
Width = 1335
End
Begin VB.Label Label1
Caption = "输入零售商编号"
Height = 375
Left = 240
TabIndex = 0
Top = 480
Width = 1335
End
End
Attribute VB_Name = "lsstj"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command1_Click()
Adodc1.RecordSource = "select count(*)as pz from 配送信息表 where 零售商编号 like '" + Text1.Text + "'"
Adodc1.Refresh
With Adodc1.Recordset
If .Fields(0) <> "" Then Text2.Text = .Fields(0) Else Text2.Text = 0
End With
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -