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

📄 incheck.frm

📁 采用VB+ACCESS编写的汽车销售管理系统,
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form incheck1 
   Caption         =   "Form2"
   ClientHeight    =   5880
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   7740
   LinkTopic       =   "Form2"
   ScaleHeight     =   5880
   ScaleWidth      =   7740
   Begin VB.TextBox Text5 
      BackColor       =   &H00C0E0FF&
      Height          =   375
      Left            =   4560
      TabIndex        =   21
      Text            =   "Text5"
      Top             =   5040
      Width           =   1095
   End
   Begin VB.ComboBox Combo2 
      BackColor       =   &H00C0E0FF&
      Height          =   300
      Left            =   6000
      TabIndex        =   20
      Text            =   "Combo2"
      Top             =   5040
      Visible         =   0   'False
      Width           =   1335
   End
   Begin VB.ComboBox Combo1 
      Height          =   300
      Left            =   1200
      TabIndex        =   19
      Text            =   "车辆名称"
      Top             =   960
      Width           =   1335
   End
   Begin MSFlexGridLib.MSFlexGrid MSFlexGrid1 
      Height          =   2535
      Left            =   360
      TabIndex        =   18
      Top             =   2280
      Width           =   6855
      _ExtentX        =   12091
      _ExtentY        =   4471
      _Version        =   393216
   End
   Begin VB.TextBox Text4 
      Height          =   375
      Left            =   1320
      TabIndex        =   17
      Top             =   1560
      Width           =   975
   End
   Begin VB.TextBox Text3 
      Height          =   375
      Left            =   3720
      TabIndex        =   16
      Top             =   1560
      Width           =   1335
   End
   Begin VB.TextBox Text2 
      Height          =   375
      Left            =   3720
      TabIndex        =   15
      Top             =   840
      Width           =   1335
   End
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   375
      Left            =   0
      Top             =   5160
      Visible         =   0   'False
      Width           =   1455
      _ExtentX        =   2566
      _ExtentY        =   661
      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         =   ""
      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.ComboBox combod 
      Height          =   300
      Left            =   6120
      TabIndex        =   13
      Top             =   360
      Width           =   615
   End
   Begin VB.ComboBox combom 
      Height          =   300
      Left            =   4920
      TabIndex        =   11
      Top             =   360
      Width           =   735
   End
   Begin VB.ComboBox comboy 
      Height          =   300
      Left            =   3720
      TabIndex        =   9
      Top             =   360
      Width           =   735
   End
   Begin VB.CommandButton Command2 
      Caption         =   "取消"
      Height          =   495
      Left            =   3000
      TabIndex        =   8
      Top             =   5040
      Width           =   1095
   End
   Begin VB.CommandButton Command1 
      Caption         =   "确定"
      Height          =   495
      Left            =   1680
      TabIndex        =   7
      Top             =   5040
      Width           =   975
   End
   Begin VB.TextBox Text1 
      Height          =   375
      Left            =   1200
      TabIndex        =   1
      Top             =   240
      Width           =   1335
   End
   Begin VB.Label Label14 
      Caption         =   "日"
      Height          =   375
      Left            =   6840
      TabIndex        =   14
      Top             =   360
      Width           =   495
   End
   Begin VB.Label Label13 
      Caption         =   "月"
      Height          =   375
      Left            =   5760
      TabIndex        =   12
      Top             =   360
      Width           =   495
   End
   Begin VB.Label Label12 
      Caption         =   "年"
      Height          =   375
      Left            =   4560
      TabIndex        =   10
      Top             =   360
      Width           =   375
   End
   Begin VB.Label Label9 
      Caption         =   "入库数量"
      Height          =   375
      Left            =   240
      TabIndex        =   6
      Top             =   1680
      Width           =   975
   End
   Begin VB.Label Label8 
      Caption         =   "经手人"
      Height          =   375
      Left            =   2760
      TabIndex        =   5
      Top             =   1560
      Width           =   855
   End
   Begin VB.Label Label6 
      Caption         =   "库存位号"
      Height          =   375
      Left            =   2760
      TabIndex        =   4
      Top             =   960
      Width           =   975
   End
   Begin VB.Label Label3 
      Caption         =   "车辆名称"
      Height          =   375
      Left            =   240
      TabIndex        =   3
      Top             =   1080
      Width           =   975
   End
   Begin VB.Label Label2 
      Caption         =   "入库日期"
      Height          =   375
      Left            =   2760
      TabIndex        =   2
      Top             =   360
      Width           =   975
   End
   Begin VB.Label Label1 
      Caption         =   "入库单号"
      Height          =   255
      Left            =   240
      TabIndex        =   0
      Top             =   360
      Width           =   975
   End
End
Attribute VB_Name = "incheck1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim rs_checkname As New ADODB.Recordset
Dim rs_custom As New ADODB.Recordset
Const row_num = 10                        '表格行数
Const col_num = 6                         '表格列数

Private Sub Combo2_Change()
MSFlexGrid1.Text = Combo2.Text
MSFlexGrid1.Row = MSFlexGrid1.Row + 1
MSFlexGrid1.Col = 0
Combo2.Visible = False
Text5.Visible = True
nextposition MSFlexGrid1.Row, MSFlexGrid1.Col

End Sub

Private Sub Command1_Click()
Dim rs_save As New ADODB.Recordset
Dim sql As String
Dim i As Integer
Dim s As String                                 '转化数据用
On Error GoTo saveerror
If Trim(Text1.Text) = "" Then
   MsgBox "入库单号不能为空!", vbOKOnly + vbExclamation, ""
   Text1.SetFocus
   Exit Sub
End If
If Combo1.Text = "请选择车辆名称" Then
   MsgBox "请选择车辆名称!", vbOKOnly + vbExclamation, ""
   Combo1.SetFocus
   Exit Sub

⌨️ 快捷键说明

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