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

📄 form10.frm

📁 食杂店管理系统
💻 FRM
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Form10 
   Caption         =   "form10"
   ClientHeight    =   4995
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   9225
   LinkTopic       =   "Form10"
   ScaleHeight     =   4995
   ScaleWidth      =   9225
   StartUpPosition =   3  '窗口缺省
   Begin VB.TextBox Text1 
      DataField       =   "商品编号"
      DataSource      =   "Adodc1"
      Height          =   495
      Left            =   2400
      TabIndex        =   7
      Top             =   600
      Width           =   2175
   End
   Begin VB.TextBox Text2 
      DataField       =   "月初库存"
      DataSource      =   "Adodc1"
      Height          =   495
      Left            =   2400
      TabIndex        =   6
      Top             =   1440
      Width           =   2175
   End
   Begin VB.TextBox Text3 
      DataField       =   "月末库存"
      DataSource      =   "Adodc1"
      Height          =   495
      Left            =   2400
      TabIndex        =   5
      Top             =   2280
      Width           =   2175
   End
   Begin VB.TextBox Text4 
      DataField       =   "警戒库存"
      DataSource      =   "Adodc1"
      Height          =   495
      Left            =   2400
      TabIndex        =   4
      Top             =   3240
      Width           =   2175
   End
   Begin VB.CommandButton cmdadd 
      Caption         =   "添加"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   6360
      TabIndex        =   3
      Top             =   600
      Width           =   1695
   End
   Begin VB.CommandButton cmdok 
      Caption         =   "保存"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   6360
      TabIndex        =   2
      Top             =   1680
      Width           =   1695
   End
   Begin VB.CommandButton cmdesc 
      Caption         =   "取消"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   6360
      TabIndex        =   1
      Top             =   2640
      Width           =   1695
   End
   Begin VB.CommandButton Command6 
      Caption         =   "返回"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   6360
      TabIndex        =   0
      Top             =   3600
      Width           =   1695
   End
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   495
      Left            =   2640
      Top             =   4440
      Visible         =   0   'False
      Width           =   1815
      _ExtentX        =   3201
      _ExtentY        =   873
      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=   3
      Appearance      =   1
      BackColor       =   -2147483643
      ForeColor       =   -2147483640
      Orientation     =   0
      Enabled         =   -1
      Connect         =   "DSN=是杂点"
      OLEDBString     =   ""
      OLEDBFile       =   ""
      DataSourceName  =   "是杂点"
      OtherAttributes =   ""
      UserName        =   ""
      Password        =   ""
      RecordSource    =   "库存表"
      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 Label1 
      Caption         =   "商品编号"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   240
      TabIndex        =   11
      Top             =   720
      Width           =   1335
   End
   Begin VB.Label Label2 
      Caption         =   "月初库存"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   240
      TabIndex        =   10
      Top             =   1560
      Width           =   1695
   End
   Begin VB.Label Label3 
      Caption         =   "月末库存"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   240
      TabIndex        =   9
      Top             =   2280
      Width           =   1815
   End
   Begin VB.Label Label4 
      Caption         =   "警戒库存"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   240
      TabIndex        =   8
      Top             =   3240
      Width           =   1815
   End
End
Attribute VB_Name = "Form10"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Cmdadd_Click()
Adodc1.Recordset.AddNew

cmdadd.Enabled = False

cmdok.Enabled = True
cmdesc.Enabled = True
End Sub



Private Sub Cmdesc_Click()
Adodc1.Refresh
cmdadd.Enabled = True

cmdok.Enabled = False
cmdesc.Enabled = False
End Sub

Private Sub Cmdok_Click()
Adodc1.Recordset.Update
cmdadd.Enabled = True = True
cmdok.Enabled = False

cmdesc.Enabled = False
End Sub

Private Sub Command9_Click()
Unload Me
End Sub

Private Sub Command6_Click()
Unload Me
End Sub




⌨️ 快捷键说明

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