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

📄 form4.frm

📁 这是一个用VB写的网上订票的系统
💻 FRM
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{F0D2F211-CCB0-11D0-A316-00AA00688B10}#1.0#0"; "MSDATLST.OCX"
Begin VB.Form Form4 
   Caption         =   "顾客信息"
   ClientHeight    =   5325
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   5805
   LinkTopic       =   "Form4"
   ScaleHeight     =   5325
   ScaleWidth      =   5805
   StartUpPosition =   3  '窗口缺省
   Begin VB.TextBox Text1 
      DataField       =   "票数"
      DataSource      =   "Data1"
      Height          =   375
      Left            =   2400
      TabIndex        =   10
      Top             =   2700
      Width           =   1695
   End
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   375
      Left            =   240
      Top             =   4800
      Visible         =   0   'False
      Width           =   2055
      _ExtentX        =   3625
      _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=Microsoft.Jet.OLEDB.4.0;Data Source=网上订票1.mdb;Persist Security Info=False"
      OLEDBString     =   "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=网上订票1.mdb;Persist Security Info=False"
      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 MSDataListLib.DataCombo DataCombo1 
      Bindings        =   "Form4.frx":0000
      DataField       =   "车次"
      DataSource      =   "Adodc1"
      Height          =   330
      Left            =   2400
      TabIndex        =   8
      Top             =   3480
      Width           =   1695
      _ExtentX        =   2990
      _ExtentY        =   582
      _Version        =   393216
      ListField       =   "车次"
      Text            =   "DataCombo1"
   End
   Begin VB.Data Data1 
      Caption         =   "Data1"
      Connect         =   "Access"
      DatabaseName    =   "网上订票1.mdb"
      DefaultCursorType=   0  '缺省游标
      DefaultType     =   2  '使用 ODBC
      Exclusive       =   0   'False
      Height          =   495
      Left            =   240
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   "乘客信息"
      Top             =   4080
      Width           =   1935
   End
   Begin VB.CommandButton Command1 
      Caption         =   "返回"
      Height          =   975
      Left            =   2760
      TabIndex        =   7
      Top             =   3960
      Width           =   1575
   End
   Begin VB.TextBox Text4 
      DataField       =   "日期"
      DataSource      =   "Data1"
      Height          =   375
      Left            =   2400
      TabIndex        =   6
      Top             =   1920
      Width           =   1695
   End
   Begin VB.TextBox Text3 
      DataField       =   "手机电话"
      DataSource      =   "Data1"
      Height          =   375
      Left            =   2400
      TabIndex        =   5
      Top             =   1140
      Width           =   1695
   End
   Begin VB.TextBox Text2 
      DataField       =   "客户名"
      DataSource      =   "Data1"
      Height          =   375
      Left            =   2400
      TabIndex        =   4
      Top             =   360
      Width           =   1695
   End
   Begin VB.Label Label1 
      Caption         =   "票数"
      Height          =   255
      Left            =   240
      TabIndex        =   9
      Top             =   2730
      Width           =   1575
   End
   Begin VB.Label Label5 
      Caption         =   "车次"
      Height          =   255
      Left            =   240
      TabIndex        =   3
      Top             =   3480
      Width           =   1575
   End
   Begin VB.Label Label4 
      Caption         =   "日期"
      Height          =   255
      Left            =   240
      TabIndex        =   2
      Top             =   1980
      Width           =   1575
   End
   Begin VB.Label Label3 
      Caption         =   "电话号码"
      Height          =   255
      Left            =   240
      TabIndex        =   1
      Top             =   1230
      Width           =   1575
   End
   Begin VB.Label Label2 
      Caption         =   "客户名"
      Height          =   255
      Left            =   240
      TabIndex        =   0
      Top             =   480
      Width           =   1575
   End
End
Attribute VB_Name = "Form4"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Command1_Click()
Data1.Recordset.AddNew
Data1.Recordset.Update
Data1.Recordset.MoveLast
Form6.Show
Hide
End Sub

⌨️ 快捷键说明

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