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

📄 书籍信息查询.frm

📁 VB编的图书馆理系统,望有需要的人拿去再开发,有事和我联系.
💻 FRM
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Begin VB.Form 书籍信息查询 
   Caption         =   "书籍信息查询"
   ClientHeight    =   5670
   ClientLeft      =   5010
   ClientTop       =   2445
   ClientWidth     =   5475
   LinkTopic       =   "Form1"
   ScaleHeight     =   5670
   ScaleWidth      =   5475
   Begin TabDlg.SSTab SSTab1 
      Height          =   5655
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   5535
      _ExtentX        =   9763
      _ExtentY        =   9975
      _Version        =   393216
      Tabs            =   4
      Tab             =   3
      TabsPerRow      =   4
      TabHeight       =   520
      TabCaption(0)   =   "Tab 0"
      TabPicture(0)   =   "书籍信息查询.frx":0000
      Tab(0).ControlEnabled=   0   'False
      Tab(0).Control(0)=   "Label1"
      Tab(0).Control(1)=   "Text1"
      Tab(0).Control(2)=   "Command1"
      Tab(0).Control(3)=   "Command2"
      Tab(0).Control(4)=   "MSFlexGrid1"
      Tab(0).Control(5)=   "Data1"
      Tab(0).ControlCount=   6
      TabCaption(1)   =   "Tab 1"
      TabPicture(1)   =   "书籍信息查询.frx":001C
      Tab(1).ControlEnabled=   0   'False
      Tab(1).Control(0)=   "Label2"
      Tab(1).Control(1)=   "Text2"
      Tab(1).Control(2)=   "Command3"
      Tab(1).Control(3)=   "Command4"
      Tab(1).Control(4)=   "MSFlexGrid2"
      Tab(1).Control(5)=   "Data2"
      Tab(1).ControlCount=   6
      TabCaption(2)   =   "Tab 2"
      TabPicture(2)   =   "书籍信息查询.frx":0038
      Tab(2).ControlEnabled=   0   'False
      Tab(2).Control(0)=   "Label3"
      Tab(2).Control(1)=   "Text3"
      Tab(2).Control(2)=   "Command5"
      Tab(2).Control(3)=   "Command6"
      Tab(2).Control(4)=   "MSFlexGrid3"
      Tab(2).Control(5)=   "Data3"
      Tab(2).ControlCount=   6
      TabCaption(3)   =   "Tab 3"
      TabPicture(3)   =   "书籍信息查询.frx":0054
      Tab(3).ControlEnabled=   -1  'True
      Tab(3).Control(0)=   "Label4"
      Tab(3).Control(0).Enabled=   0   'False
      Tab(3).Control(1)=   "Text4"
      Tab(3).Control(1).Enabled=   0   'False
      Tab(3).Control(2)=   "Command7"
      Tab(3).Control(2).Enabled=   0   'False
      Tab(3).Control(3)=   "Command8"
      Tab(3).Control(3).Enabled=   0   'False
      Tab(3).Control(4)=   "MSFlexGrid4"
      Tab(3).Control(4).Enabled=   0   'False
      Tab(3).Control(5)=   "Data4"
      Tab(3).Control(5).Enabled=   0   'False
      Tab(3).ControlCount=   6
      Begin VB.Data Data4 
         Caption         =   "Data4"
         Connect         =   "Access"
         DatabaseName    =   "D:\图书管理系统\图书馆管理信息系统.mdb"
         DefaultCursorType=   0  '缺省游标
         DefaultType     =   2  '使用 ODBC
         Exclusive       =   0   'False
         Height          =   285
         Left            =   2280
         Options         =   0
         ReadOnly        =   0   'False
         RecordsetType   =   1  'Dynaset
         RecordSource    =   "书籍信息"
         Top             =   1440
         Visible         =   0   'False
         Width           =   1140
      End
      Begin MSFlexGridLib.MSFlexGrid MSFlexGrid4 
         Bindings        =   "书籍信息查询.frx":0070
         Height          =   3255
         Left            =   240
         TabIndex        =   20
         Top             =   2160
         Width           =   5055
         _ExtentX        =   8916
         _ExtentY        =   5741
         _Version        =   393216
         Rows            =   1
         Cols            =   1
         FixedRows       =   0
         FixedCols       =   0
      End
      Begin VB.CommandButton Command8 
         Caption         =   "取 消"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   3600
         TabIndex        =   19
         Top             =   1560
         Width           =   855
      End
      Begin VB.CommandButton Command7 
         Caption         =   "查 询"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   1080
         TabIndex        =   18
         Top             =   1560
         Width           =   855
      End
      Begin VB.TextBox Text4 
         Height          =   495
         Left            =   2400
         TabIndex        =   17
         Top             =   720
         Width           =   2535
      End
      Begin VB.Data Data3 
         Caption         =   "Data3"
         Connect         =   "Access"
         DatabaseName    =   "D:\图书管理系统\图书馆管理信息系统.mdb"
         DefaultCursorType=   0  '缺省游标
         DefaultType     =   2  '使用 ODBC
         Exclusive       =   0   'False
         Height          =   285
         Left            =   -72600
         Options         =   0
         ReadOnly        =   0   'False
         RecordsetType   =   1  'Dynaset
         RecordSource    =   "书籍信息"
         Top             =   1200
         Visible         =   0   'False
         Width           =   1140
      End
      Begin MSFlexGridLib.MSFlexGrid MSFlexGrid3 
         Bindings        =   "书籍信息查询.frx":0084
         Height          =   3135
         Left            =   -74760
         TabIndex        =   15
         Top             =   2160
         Width           =   5055
         _ExtentX        =   8916
         _ExtentY        =   5530
         _Version        =   393216
         Rows            =   1
         Cols            =   1
         FixedRows       =   0
         FixedCols       =   0
      End
      Begin VB.CommandButton Command6 
         Caption         =   "取 消"
         Height          =   375
         Left            =   -71520
         TabIndex        =   14
         Top             =   1440
         Width           =   855
      End
      Begin VB.CommandButton Command5 
         Caption         =   "查 询"
         Height          =   375
         Left            =   -73560
         TabIndex        =   13
         Top             =   1440
         Width           =   855
      End
      Begin VB.TextBox Text3 
         Height          =   375
         Left            =   -72360
         TabIndex        =   12
         Top             =   720
         Width           =   2055
      End
      Begin VB.Data Data2 
         Caption         =   "Data2"
         Connect         =   "Access"
         DatabaseName    =   "D:\图书管理系统\图书馆管理信息系统.mdb"
         DefaultCursorType=   0  '缺省游标
         DefaultType     =   2  '使用 ODBC
         Exclusive       =   0   'False
         Height          =   285
         Left            =   -70920
         Options         =   0
         ReadOnly        =   0   'False
         RecordsetType   =   1  'Dynaset
         RecordSource    =   "书籍信息"
         Top             =   1200
         Visible         =   0   'False
         Width           =   1140
      End
      Begin MSFlexGridLib.MSFlexGrid MSFlexGrid2 
         Bindings        =   "书籍信息查询.frx":0098
         Height          =   3375
         Left            =   -74760
         TabIndex        =   10
         Top             =   2040
         Width           =   5055
         _ExtentX        =   8916
         _ExtentY        =   5953
         _Version        =   393216
         Rows            =   1
         Cols            =   1
         FixedRows       =   0
         FixedCols       =   0
      End
      Begin VB.CommandButton Command4 
         Caption         =   "取 消"
         Height          =   375
         Left            =   -71640
         TabIndex        =   9
         Top             =   1560
         Width           =   855
      End
      Begin VB.CommandButton Command3 
         Caption         =   "查 询"
         Height          =   375
         Left            =   -73560
         TabIndex        =   8
         Top             =   1560
         Width           =   855
      End
      Begin VB.TextBox Text2 
         Height          =   390
         Left            =   -72720
         TabIndex        =   7
         Top             =   720
         Width           =   2415
      End
      Begin VB.Data Data1 
         Caption         =   "Data1"
         Connect         =   "Access"
         DatabaseName    =   "D:\图书管理系统\图书馆管理信息系统.mdb"
         DefaultCursorType=   0  '缺省游标
         DefaultType     =   2  '使用 ODBC
         Exclusive       =   0   'False
         Height          =   285
         Left            =   -72480
         Options         =   0
         ReadOnly        =   0   'False
         RecordsetType   =   1  'Dynaset
         RecordSource    =   "书籍信息"
         Top             =   1200
         Visible         =   0   'False
         Width           =   1140
      End
      Begin MSFlexGridLib.MSFlexGrid MSFlexGrid1 
         Bindings        =   "书籍信息查询.frx":00AC
         Height          =   3255
         Left            =   -74760
         TabIndex        =   5
         Top             =   2160
         Width           =   5055
         _ExtentX        =   8916
         _ExtentY        =   5741
         _Version        =   393216
         Rows            =   1
         Cols            =   1
         FixedRows       =   0
         FixedCols       =   0
      End
      Begin VB.CommandButton Command2 
         Caption         =   "取 消"
         Height          =   375
         Left            =   -71760
         TabIndex        =   4
         Top             =   1440
         Width           =   735
      End
      Begin VB.CommandButton Command1 
         Caption         =   "查 询"
         Height          =   375
         Left            =   -73440
         TabIndex        =   3
         Top             =   1440
         Width           =   735
      End
      Begin VB.TextBox Text1 
         Height          =   375
         Left            =   -72720
         TabIndex        =   2
         Top             =   720
         Width           =   2295
      End
      Begin VB.Label Label4 
         Caption         =   "出版社名称:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   720
         TabIndex        =   16
         Top             =   840
         Width           =   1455
      End
      Begin VB.Label Label3 
         Caption         =   "作者姓名:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   -74040
         TabIndex        =   11
         Top             =   840
         Width           =   1215
      End
      Begin VB.Label Label2 
         Caption         =   "书籍类别:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   -74160
         TabIndex        =   6
         Top             =   840
         Width           =   1335
      End
      Begin VB.Label Label1 
         Caption         =   "书籍名称:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   -74040
         TabIndex        =   1
         Top             =   840
         Width           =   1215
      End
   End
End
Attribute VB_Name = "书籍信息查询"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Data1.RecordSource = "select * from 书籍信息 where 书籍名称='" & Text1.Text & "'"
Data1.Refresh
End Sub

Private Sub Command2_Click()
Unload Me
End Sub

Private Sub Command3_Click()
Data2.RecordSource = "select * from 书籍信息 where 书籍类别='" & Text2.Text & "'"
Data2.Refresh
End Sub

Private Sub Command4_Click()
Unload Me
End Sub

Private Sub Command5_Click()
Data3.RecordSource = "select * from 书籍信息 where 书籍作者='" & Text3.Text & "'"
Data3.Refresh
End Sub

Private Sub Command6_Click()
Unload Me
End Sub

Private Sub Command7_Click()
Data4.RecordSource = "select * from 书籍信息 where 出版社名称='" & Text4.Text & "'"
Data4.Refresh
End Sub

Private Sub Command8_Click()
Unload Me
End Sub

⌨️ 快捷键说明

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