📄 form6.frm
字号:
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 600
TabIndex = 0
Top = 3720
Width = 1215
End
Begin VB.Label Label11
BackStyle = 0 'Transparent
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 6480
TabIndex = 25
Top = 4560
Width = 855
End
Begin VB.Label Label10
BackStyle = 0 'Transparent
Caption = "当前记录号/记录总数"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 3360
TabIndex = 24
Top = 4560
Width = 2895
End
Begin VB.Label Label9
BackStyle = 0 'Transparent
Caption = "供货商号"
DataSource = "Data1"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 360
TabIndex = 12
Top = 3120
Width = 1575
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "进货日期"
DataSource = "Data1"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 3960
TabIndex = 11
Top = 2400
Width = 1455
End
Begin VB.Label Label7
BackStyle = 0 'Transparent
Caption = "库存"
DataSource = "Data1"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 360
TabIndex = 10
Top = 2400
Width = 1575
End
Begin VB.Label Label6
BackStyle = 0 'Transparent
Caption = "折扣"
DataSource = "Data1"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 3960
TabIndex = 9
Top = 1680
Width = 1455
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "售价"
DataSource = "Data1"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 360
TabIndex = 8
Top = 1680
Width = 1575
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "进价"
DataSource = "Data1"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 3960
TabIndex = 7
Top = 960
Width = 1455
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "种类"
DataSource = "Data1"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 360
TabIndex = 6
Top = 960
Width = 1575
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "商品名称"
DataSource = "Data1"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 3960
TabIndex = 5
Top = 240
Width = 1455
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "商品编号"
DataSource = "Data1"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 360
TabIndex = 4
Top = 240
Width = 1575
End
End
Attribute VB_Name = "Form6"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Data1.Recordset.MoveFirst
Command1.Enabled = False
Command2.Enabled = False
Command3.Enabled = True
Command4.Enabled = True
End Sub
Private Sub Command2_Click()
Data1.Recordset.MovePrevious
Command3.Enabled = True
Command4.Enabled = True
If Data1.Recordset.BOF Then
Data1.Recordset.MoveFirst
Command1.Enabled = False
Command2.Enabled = False
End If
End Sub
Private Sub Command3_Click()
Data1.Recordset.MoveNext
Command1.Enabled = True
Command2.Enabled = True
If Data1.Recordset.EOF Then
Data1.Recordset.MoveLast
Command3.Enabled = False
Command4.Enabled = False
End If
End Sub
Private Sub Command4_Click()
Data1.Recordset.MoveLast
Command1.Enabled = True
Command2.Enabled = True
Command3.Enabled = False
Command4.Enabled = False
End Sub
Private Sub Command6_Click()
Form13.Show
End Sub
Private Sub Command7_Click()
Unload Me
End Sub
Private Sub Data1_reposition()
Label11.Caption = Data1.Recordset.AbsolutePosition + 1 & "/" & Data1.Recordset.RecordCount
End Sub
Private Sub Form_Load()
Form5.Height = 6700
End Sub
Private Sub Label10_Click()
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -