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

📄 findvipinfo.frm

📁 VB+ACCESS2000编写的VCD出租管理系统
💻 FRM
📖 第 1 页 / 共 2 页
字号:
         Height          =   375
         Left            =   1080
         Top             =   1800
         Visible         =   0   'False
         Width           =   2175
         _ExtentX        =   3836
         _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.Label Label8 
         Caption         =   "0 张"
         ForeColor       =   &H000000FF&
         Height          =   255
         Left            =   1560
         TabIndex        =   16
         Top             =   240
         Width           =   855
      End
      Begin VB.Label Label7 
         Caption         =   "已借影碟:"
         ForeColor       =   &H000000FF&
         Height          =   255
         Left            =   600
         TabIndex        =   15
         Top             =   240
         Width           =   975
      End
   End
   Begin VB.TextBox Text1 
      Appearance      =   0  'Flat
      BackColor       =   &H00C0E0FF&
      Height          =   375
      Index           =   5
      Left            =   6720
      Locked          =   -1  'True
      TabIndex        =   11
      Top             =   1080
      Width           =   1575
   End
   Begin VB.TextBox Text1 
      Appearance      =   0  'Flat
      BackColor       =   &H00C0E0FF&
      Height          =   375
      Index           =   4
      Left            =   3960
      Locked          =   -1  'True
      TabIndex        =   10
      Top             =   1080
      Width           =   1575
   End
   Begin VB.TextBox Text1 
      Appearance      =   0  'Flat
      BackColor       =   &H00C0E0FF&
      Height          =   375
      Index           =   3
      Left            =   1200
      Locked          =   -1  'True
      TabIndex        =   8
      Top             =   1080
      Width           =   1575
   End
   Begin VB.TextBox Text1 
      Appearance      =   0  'Flat
      BackColor       =   &H00C0E0FF&
      Height          =   375
      Index           =   2
      Left            =   6720
      Locked          =   -1  'True
      TabIndex        =   6
      Top             =   360
      Width           =   1575
   End
   Begin VB.Frame Frame1 
      Caption         =   "会员基本信息"
      Height          =   1815
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   8415
      Begin VB.TextBox Text1 
         Appearance      =   0  'Flat
         BackColor       =   &H00C0E0FF&
         Height          =   375
         Index           =   1
         Left            =   3840
         Locked          =   -1  'True
         TabIndex        =   3
         Top             =   240
         Width           =   1575
      End
      Begin VB.TextBox Text1 
         Appearance      =   0  'Flat
         BackColor       =   &H00C0E0FF&
         Height          =   375
         Index           =   0
         Left            =   1080
         Locked          =   -1  'True
         TabIndex        =   2
         Top             =   240
         Width           =   1575
      End
      Begin VB.Label Label6 
         Caption         =   "还剩盘数:"
         Height          =   255
         Left            =   5640
         TabIndex        =   12
         Top             =   1080
         Width           =   1095
      End
      Begin VB.Label Label5 
         Caption         =   "办理日期:"
         Height          =   255
         Left            =   2880
         TabIndex        =   9
         Top             =   1080
         Width           =   975
      End
      Begin VB.Label Label4 
         Caption         =   "会员级别:"
         Height          =   375
         Left            =   120
         TabIndex        =   7
         Top             =   1080
         Width           =   975
      End
      Begin VB.Label Label3 
         Caption         =   "联系电话:"
         Height          =   375
         Left            =   5640
         TabIndex        =   5
         Top             =   360
         Width           =   975
      End
      Begin VB.Label Label2 
         Caption         =   "会员姓名:"
         Height          =   375
         Left            =   2880
         TabIndex        =   4
         Top             =   360
         Width           =   975
      End
      Begin VB.Label Label1 
         Caption         =   "会 员 ID:"
         Height          =   255
         Left            =   120
         TabIndex        =   1
         Top             =   360
         Width           =   975
      End
   End
End
Attribute VB_Name = "FindVipinfo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Form_Load()
Dim SQL As String
Dim i As Integer
Adodc1.ConnectionString = "provider=microsoft.jet.oledb.4.0;data source=" _
                         & App.Path & "\cdlent.mdb;Mode=ReadWrite;Persist Security Info=True;Jet OLEDB:Database Password=vcdglxt"
Adodc1.CursorLocation = adUseClient
Adodc1.CommandType = adCmdText
Adodc2.ConnectionString = "provider=microsoft.jet.oledb.4.0;data source=" _
                         & App.Path & "\cdlent.mdb;Mode=ReadWrite;Persist Security Info=True;Jet OLEDB:Database Password=vcdglxt"
Adodc2.CursorLocation = adUseClient
Adodc2.CommandType = adCmdText
For i = 0 To 5
     FindVip.DataGrid1.Col = i
     Text1(i).Text = FindVip.DataGrid1.Text
Next
SQL = "select cdinfo.影碟编号,cdinfo.影碟名称,cdinfo.光碟数量,cdinfo.借出次数," _
           & "cdinfo.影碟类别,cdinfo.入店时间 from cdinfo,viplentinfo where cdinfo.影碟编号=viplentinfo.影碟编号 and viplentinfo.会员编号='" & Text1(0).Text & "' and viplentinfo.还碟时间 is null"
Adodc2.RecordSource = SQL
Set DataGrid2.DataSource = Adodc2
Adodc2.Refresh
Label10.Caption = Adodc2.Recordset.RecordCount & " 张"

SQL = "select cdinfo.影碟编号,cdinfo.影碟名称,cdinfo.光碟数量,cdinfo.借出次数," _
           & "cdinfo.影碟类别,cdinfo.入店时间 from cdinfo,viplentinfo where cdinfo.影碟编号=viplentinfo.影碟编号 and viplentinfo.会员编号='" & Text1(0).Text & "' "
Adodc1.RecordSource = SQL
Set DataGrid1.DataSource = Adodc1
Adodc1.Refresh
Label8.Caption = Adodc1.Recordset.RecordCount & " 张"

End Sub

⌨️ 快捷键说明

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