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

📄 form44.frm

📁 一个简单的碟片出租管理系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form44 
   Caption         =   "再次验证密码"
   ClientHeight    =   1815
   ClientLeft      =   1260
   ClientTop       =   1545
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   1815
   ScaleWidth      =   4680
   Begin VB.CommandButton Command1 
      Caption         =   "登录"
      Height          =   375
      Left            =   1200
      TabIndex        =   4
      Top             =   1320
      Width           =   855
   End
   Begin VB.CommandButton Command2 
      Caption         =   "取消"
      Height          =   375
      Left            =   2880
      TabIndex        =   3
      Top             =   1320
      Width           =   855
   End
   Begin VB.Data Data1 
      Caption         =   "Data1"
      Connect         =   "Access"
      DatabaseName    =   "G:\编程学习\VB学习\VB&Access\满篮\影片数据库实作.mdb"
      DefaultCursorType=   0  '缺省游标
      DefaultType     =   2  '使用 ODBC
      Exclusive       =   0   'False
      Height          =   345
      Left            =   1200
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   "说明选项"
      Top             =   0
      Width           =   1260
   End
   Begin VB.TextBox Text1 
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   285
      IMEMode         =   3  'DISABLE
      Left            =   1200
      PasswordChar    =   "*"
      TabIndex        =   2
      Top             =   840
      Width           =   1695
   End
   Begin VB.TextBox Text2 
      DataField       =   "员工密码"
      DataSource      =   "Data1"
      Height          =   285
      Left            =   3000
      TabIndex        =   1
      Top             =   840
      Visible         =   0   'False
      Width           =   735
   End
   Begin VB.TextBox Text3 
      DataField       =   "员工姓名"
      DataSource      =   "Data1"
      Height          =   285
      Left            =   1200
      Locked          =   -1  'True
      TabIndex        =   0
      Top             =   360
      Width           =   1695
   End
   Begin VB.Label Label1 
      Caption         =   "姓名"
      Height          =   255
      Left            =   600
      TabIndex        =   7
      Top             =   360
      Width           =   495
   End
   Begin VB.Label Label2 
      Caption         =   "密码"
      Height          =   255
      Left            =   600
      TabIndex        =   6
      Top             =   840
      Width           =   495
   End
   Begin VB.Label Label3 
      Caption         =   "请滚动选取姓名"
      ForeColor       =   &H000000FF&
      Height          =   255
      Left            =   2520
      TabIndex        =   5
      Top             =   120
      Width           =   1815
   End
End
Attribute VB_Name = "Form44"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
 Public tt As String


Private Sub Command1_Click()
Dim str1 As String
Dim str2 As String
Dim str3 As String

str1 = Text1.Text
str2 = Text2.Text
str3 = Text3.Text
oldmark = Data1.Recordset.Bookmark

Data1.Recordset.FindFirst "员工姓名='str3'"


 If Data1.Recordset.NoMatch Then
   Data1.Recordset.Bookmark = oldmark
   
 End If
 

If str1 = str2 Then
Load Form22

Form22.Data3.Recordset.AddNew
Form22.DBCombo4.Text = Form44.Text3.Text
Form22.Text15.Text = Form22.Text4.Text
Form22.Text19.Text = Form22.Text3.Text
Form22.DBCombo2.SetFocus
Form22.Text17.Text = Date


Else
Exit Sub


End If


End Sub

Private Sub Command2_Click()
Unload Me
End Sub

⌨️ 快捷键说明

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