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

📄 frmfind.frm

📁 ds学生学籍管理系统 有源代码等 是开发软件得好途径
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmFind 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "查找记录"
   ClientHeight    =   3840
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   5385
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3840
   ScaleWidth      =   5385
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command2 
      Caption         =   "取消"
      Height          =   375
      Left            =   3000
      TabIndex        =   3
      Top             =   2880
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "确定"
      Height          =   375
      Left            =   1200
      TabIndex        =   2
      Top             =   2880
      Width           =   975
   End
   Begin VB.TextBox Text1 
      Height          =   375
      Left            =   2040
      TabIndex        =   0
      Top             =   1440
      Width           =   1935
   End
   Begin VB.Label Label2 
      Caption         =   "查找学生记录"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   1560
      TabIndex        =   4
      Top             =   480
      Width           =   1815
   End
   Begin VB.Label Label1 
      Caption         =   "学号:"
      Height          =   255
      Left            =   1080
      TabIndex        =   1
      Top             =   1560
      Width           =   735
   End
End
Attribute VB_Name = "frmFind"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
  Dim StrId As String
  Me.Hide
  i = frmMain.Data1.Recordset.Bookmark
  StrId = Trim$(Me.Text1.Text)
  frmMain.Data1.Recordset.FindFirst "StuId=" & "'" & StrId & "'"
  If frmMain.Data1.Recordset.NoMatch Then
    MsgBox "无此记录!!!", vbOKOnly + vbCritical, "错误"
    Me.Text1.Text = ""
    Me.Show
    frmMain.Data1.Recordset.Bookmark = i
    Me.Text1.SetFocus
  Else
    Unload Me
  End If
End Sub

Private Sub Command2_Click()
  Unload Me
End Sub

⌨️ 快捷键说明

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