⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 info.frm

📁 这个商品销售管理系统实现了几乎所有的功能,并通过验收
💻 FRM
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form info 
   BackColor       =   &H80000009&
   Caption         =   "小型自选商场商品管理系统"
   ClientHeight    =   5595
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   9180
   LinkTopic       =   "Form2"
   ScaleHeight     =   5595
   ScaleWidth      =   9180
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton Command2 
      Caption         =   "商品管理"
      Height          =   375
      Left            =   480
      TabIndex        =   24
      Top             =   4560
      Width           =   1215
   End
   Begin VB.TextBox Text9 
      Height          =   495
      Left            =   4800
      TabIndex        =   14
      Top             =   3480
      Width           =   1095
   End
   Begin VB.TextBox Text8 
      Height          =   495
      Left            =   1920
      TabIndex        =   13
      Top             =   3480
      Width           =   1095
   End
   Begin VB.TextBox Text7 
      Height          =   495
      Left            =   7680
      TabIndex        =   12
      Top             =   2760
      Width           =   1095
   End
   Begin VB.TextBox Text6 
      Height          =   495
      Left            =   4800
      TabIndex        =   11
      Top             =   2760
      Width           =   1095
   End
   Begin VB.TextBox Text5 
      Height          =   495
      Left            =   1920
      TabIndex        =   10
      Top             =   2760
      Width           =   1095
   End
   Begin VB.TextBox Text4 
      Height          =   495
      Left            =   7680
      TabIndex        =   9
      Top             =   2040
      Width           =   1095
   End
   Begin VB.TextBox Text3 
      Height          =   495
      Left            =   4800
      TabIndex        =   8
      Top             =   2040
      Width           =   1095
   End
   Begin VB.TextBox Text2 
      Height          =   495
      Left            =   1920
      TabIndex        =   7
      Top             =   2040
      Width           =   1095
   End
   Begin VB.TextBox Text1 
      Height          =   390
      Left            =   3360
      TabIndex        =   6
      Top             =   4560
      Width           =   2415
   End
   Begin VB.CommandButton Command1 
      Caption         =   "查询"
      Height          =   375
      Left            =   1800
      TabIndex        =   5
      Top             =   4560
      Width           =   1215
   End
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   375
      Left            =   3120
      Top             =   2040
      Visible         =   0   'False
      Width           =   1215
      _ExtentX        =   2143
      _ExtentY        =   661
      ConnectMode     =   0
      CursorLocation  =   3
      IsolationLevel  =   -1
      ConnectionTimeout=   15
      CommandTimeout  =   30
      CursorType      =   3
      LockType        =   3
      CommandType     =   2
      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=BMS;Data Source=COMPUTER"
      OLEDBString     =   "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=BMS;Data Source=COMPUTER"
      OLEDBFile       =   ""
      DataSourceName  =   ""
      OtherAttributes =   ""
      UserName        =   ""
      Password        =   ""
      RecordSource    =   "商品信息表"
      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
      _Version        =   393216
   End
   Begin VB.Label Label13 
      BackColor       =   &H80000009&
      Caption         =   "<--输入编号进行查询"
      Height          =   255
      Left            =   6120
      TabIndex        =   23
      Top             =   4680
      Width           =   2055
   End
   Begin VB.Label Label12 
      Alignment       =   2  'Center
      Caption         =   "库存数量:"
      Height          =   495
      Left            =   3360
      TabIndex        =   22
      Top             =   3600
      Width           =   1215
   End
   Begin VB.Label Label11 
      Alignment       =   2  'Center
      Caption         =   "单价:"
      Height          =   495
      Left            =   480
      TabIndex        =   21
      Top             =   3600
      Width           =   1215
   End
   Begin VB.Label Label10 
      Alignment       =   2  'Center
      Caption         =   "单位:"
      Height          =   495
      Left            =   6240
      TabIndex        =   20
      Top             =   2880
      Width           =   1215
   End
   Begin VB.Label Label9 
      Alignment       =   2  'Center
      Caption         =   "产地:"
      Height          =   495
      Left            =   3360
      TabIndex        =   19
      Top             =   2880
      Width           =   1215
   End
   Begin VB.Label Label8 
      Alignment       =   2  'Center
      Caption         =   "规格:"
      Height          =   495
      Left            =   480
      TabIndex        =   18
      Top             =   2880
      Width           =   1215
   End
   Begin VB.Label Label7 
      Alignment       =   2  'Center
      Caption         =   "商品简称:"
      Height          =   495
      Left            =   6240
      TabIndex        =   17
      Top             =   2160
      Width           =   1215
   End
   Begin VB.Label Label6 
      Alignment       =   2  'Center
      Caption         =   "商品名称:"
      Height          =   495
      Left            =   3360
      TabIndex        =   16
      Top             =   2160
      Width           =   1215
   End
   Begin VB.Label Label5 
      Alignment       =   2  'Center
      Caption         =   "商品编号:"
      Height          =   495
      Left            =   480
      TabIndex        =   15
      Top             =   2160
      Width           =   1215
   End
   Begin VB.Shape Shape1 
      Height          =   3255
      Left            =   240
      Top             =   1920
      Width           =   8775
   End
   Begin VB.Label Label4 
      BackStyle       =   0  'Transparent
      Caption         =   "Beta Version 1.0"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   9.75
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   -1  'True
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00987758&
      Height          =   375
      Left            =   7680
      TabIndex        =   4
      Top             =   5400
      Width           =   1455
   End
   Begin VB.Label Label3 
      BackStyle       =   0  'Transparent
      Caption         =   "版权所有:计算机科学与技术053班"
      ForeColor       =   &H00987758&
      Height          =   375
      Left            =   0
      TabIndex        =   3
      Top             =   5400
      Width           =   3735
   End
   Begin VB.Line Line5 
      BorderColor     =   &H00764E10&
      BorderWidth     =   2
      X1              =   0
      X2              =   9120
      Y1              =   5280
      Y2              =   5280
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "商品信息管理"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   11.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00764E10&
      Height          =   255
      Left            =   3720
      TabIndex        =   2
      Top             =   1440
      Width           =   1935
   End
   Begin VB.Line Line4 
      BorderColor     =   &H00764E10&
      BorderWidth     =   2
      X1              =   0
      X2              =   9120
      Y1              =   1800
      Y2              =   1800
   End
   Begin VB.Label loginbar 
      BackStyle       =   0  'Transparent
      BeginProperty Font 
         Name            =   "Verdana"
         Size            =   7.5
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000C0&
      Height          =   375
      Left            =   7320
      TabIndex        =   1
      Top             =   1080
      Width           =   1815
   End
   Begin VB.Line Line3 
      BorderColor     =   &H00764E10&
      BorderWidth     =   2
      X1              =   9240
      X2              =   7320
      Y1              =   1080
      Y2              =   1080
   End
   Begin VB.Line Line2 
      BorderColor     =   &H00764E10&
      BorderWidth     =   2
      X1              =   6960
      X2              =   7320
      Y1              =   1320
      Y2              =   1080
   End
   Begin VB.Line Line1 
      BorderColor     =   &H00764E10&
      BorderWidth     =   2
      X1              =   0
      X2              =   9240
      Y1              =   1320
      Y2              =   1320
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "小型自选商场商品管理系统"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   27.75
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   -1  'True
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00764E10&
      Height          =   735
      Left            =   2280
      TabIndex        =   0
      Top             =   360
      Width           =   6855
   End
   Begin VB.Image Image1 
      Height          =   1095
      Left            =   240
      Picture         =   "info.frx":0000
      Stretch         =   -1  'True
      Top             =   120
      Width           =   2175
   End
End
Attribute VB_Name = "info"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False



Private Sub Command1_Click()
On Error Resume Next
If IsNumeric(Text1.Text) = False Then
MsgBox "请正确输入编号!"

End If




Adodc1.Refresh
Adodc1.Recordset.Find "商品编号=" & Text1.Text

Text2.Text = Adodc1.Recordset.Fields("商品编号").Value
Text3.Text = Adodc1.Recordset.Fields("商品名称").Value
Text4.Text = Adodc1.Recordset.Fields("商品简称").Value
Text5.Text = Adodc1.Recordset.Fields("规格").Value
Text6.Text = Adodc1.Recordset.Fields("产地").Value
Text7.Text = Adodc1.Recordset.Fields("单位").Value
Text8.Text = Adodc1.Recordset.Fields("单价").Value
Text9.Text = Adodc1.Recordset.Fields("库存数量").Value
If Text1.Text <> Adodc1.Recordset.Fields("商品编号").Value Then
MsgBox "没有匹配的记录存在!"

End If
End Sub

Private Sub Command2_Click()
Unload Me
frm商品信息管理.Show
End Sub

Private Sub Form_Load()
loginbar.Caption = "User = " & userid


End Sub

Private Sub loginbar_Click()

End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -