📄 form20.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Form20
Caption = "销售状况表"
ClientHeight = 4830
ClientLeft = 60
ClientTop = 345
ClientWidth = 6120
LinkTopic = "Form13"
ScaleHeight = 4830
ScaleWidth = 6120
StartUpPosition = 3 '窗口缺省
Begin MSAdodcLib.Adodc Adodc1
Height = 495
Left = 4320
Top = 480
Width = 1335
_ExtentX = 2355
_ExtentY = 873
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 1
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=MSDASQL.1;Persist Security Info=False;Data Source=111;Initial Catalog=D:\my\form\111"
OLEDBString = "Provider=MSDASQL.1;Persist Security Info=False;Data Source=111;Initial Catalog=D:\my\form\111"
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.CommandButton Command3
Caption = "最后一个记录"
Height = 615
Left = 4200
TabIndex = 12
Top = 2280
Width = 1455
End
Begin VB.CommandButton Command2
Caption = "第一条记录"
Height = 495
Left = 4200
TabIndex = 11
Top = 1440
Width = 1455
End
Begin VB.CommandButton Command1
Caption = "退出"
Height = 495
Left = 4200
TabIndex = 10
Top = 3360
Width = 1455
End
Begin VB.TextBox Text5
DataField = "现有库存"
DataSource = "Adodc1"
Height = 615
Left = 1920
TabIndex = 9
Text = "Text5"
Top = 3360
Width = 1935
End
Begin VB.TextBox Text4
DataField = "已售出"
DataSource = "Adodc1"
Height = 615
Left = 1920
TabIndex = 8
Text = "Text4"
Top = 2520
Width = 1935
End
Begin VB.TextBox Text3
DataField = "供销商"
DataSource = "Adodc1"
Height = 615
Left = 1920
TabIndex = 7
Text = "Text3"
Top = 1680
Width = 2055
End
Begin VB.TextBox Text2
DataField = "商品名称"
DataSource = "Adodc1"
Height = 615
Left = 1920
TabIndex = 6
Text = "Text2"
Top = 960
Width = 2055
End
Begin VB.TextBox Text1
DataField = "商品编号"
DataSource = "Adodc1"
Height = 615
Left = 1920
TabIndex = 5
Text = "Text1"
Top = 0
Width = 2055
End
Begin VB.Label Label5
Caption = "现有库存"
Height = 615
Left = 120
TabIndex = 4
Top = 3360
Width = 1455
End
Begin VB.Label Label4
Caption = "已售出"
Height = 735
Left = 120
TabIndex = 3
Top = 2400
Width = 1455
End
Begin VB.Label Label3
Caption = "供销商"
Height = 375
Left = 120
TabIndex = 2
Top = 1680
Width = 1335
End
Begin VB.Label Label2
Caption = "商品名称"
Height = 495
Left = 120
TabIndex = 1
Top = 840
Width = 1335
End
Begin VB.Label Label1
Caption = "商品编号"
Height = 495
Left = 120
TabIndex = 0
Top = 120
Width = 1215
End
End
Attribute VB_Name = "Form20"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form4.Show
Me.Hide
End Sub
Private Sub Command2_Click()
Adodc1.Recordset.MoveFirst
End Sub
Private Sub Command3_Click()
Adodc1.Recordset.MoveLast
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -