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

📄 main_jygl_hscx.frm

📁 图书综合管理系统 VB毕业设计 原代码+论文
💻 FRM
📖 第 1 页 / 共 2 页
字号:
         EndProperty
         BeginProperty Column02 
            ColumnWidth     =   615.118
         EndProperty
         BeginProperty Column03 
            ColumnWidth     =   1140.095
         EndProperty
         BeginProperty Column04 
            ColumnWidth     =   989.858
         EndProperty
         BeginProperty Column05 
            ColumnWidth     =   2085.166
         EndProperty
         BeginProperty Column06 
            ColumnWidth     =   615.118
         EndProperty
         BeginProperty Column07 
            ColumnWidth     =   1019.906
         EndProperty
         BeginProperty Column08 
            ColumnWidth     =   794.835
         EndProperty
         BeginProperty Column09 
            ColumnWidth     =   450.142
         EndProperty
         BeginProperty Column10 
            ColumnWidth     =   794.835
         EndProperty
         BeginProperty Column11 
            ColumnWidth     =   524.976
         EndProperty
         BeginProperty Column12 
            ColumnWidth     =   1349.858
         EndProperty
         BeginProperty Column13 
            ColumnWidth     =   599.811
         EndProperty
         BeginProperty Column14 
            ColumnWidth     =   480.189
         EndProperty
      EndProperty
   End
   Begin MSAdodcLib.Adodc Adodc2 
      Height          =   420
      Left            =   105
      Top             =   2010
      Visible         =   0   'False
      Width           =   1500
      _ExtentX        =   2646
      _ExtentY        =   741
      ConnectMode     =   0
      CursorLocation  =   3
      IsolationLevel  =   -1
      ConnectionTimeout=   15
      CommandTimeout  =   30
      CursorType      =   3
      LockType        =   3
      CommandType     =   1
      CursorOptions   =   0
      CacheSize       =   50
      MaxRecords      =   0
      BOFAction       =   0
      EOFAction       =   0
      ConnectStringType=   3
      Appearance      =   1
      BackColor       =   -2147483643
      ForeColor       =   -2147483640
      Orientation     =   0
      Enabled         =   -1
      Connect         =   "DSN=NBooks"
      OLEDBString     =   ""
      OLEDBFile       =   ""
      DataSourceName  =   "NBooks"
      OtherAttributes =   ""
      UserName        =   ""
      Password        =   ""
      RecordSource    =   "select * from hsb"
      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 MSAdodcLib.Adodc Adodc1 
      Height          =   420
      Left            =   360
      Top             =   1605
      Visible         =   0   'False
      Width           =   1500
      _ExtentX        =   2646
      _ExtentY        =   741
      ConnectMode     =   0
      CursorLocation  =   3
      IsolationLevel  =   -1
      ConnectionTimeout=   15
      CommandTimeout  =   30
      CursorType      =   3
      LockType        =   3
      CommandType     =   1
      CursorOptions   =   0
      CacheSize       =   50
      MaxRecords      =   0
      BOFAction       =   0
      EOFAction       =   0
      ConnectStringType=   3
      Appearance      =   1
      BackColor       =   -2147483643
      ForeColor       =   -2147483640
      Orientation     =   0
      Enabled         =   -1
      Connect         =   "DSN=NBooks"
      OLEDBString     =   ""
      OLEDBFile       =   ""
      DataSourceName  =   "NBooks"
      OtherAttributes =   ""
      UserName        =   ""
      Password        =   ""
      RecordSource    =   "select * from hsb"
      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.Frame Frame1 
      Height          =   600
      Left            =   45
      TabIndex        =   0
      Top             =   0
      Width           =   5805
      Begin VB.TextBox Text1 
         Height          =   300
         Left            =   1770
         TabIndex        =   2
         Top             =   195
         Width           =   3900
      End
      Begin VB.ComboBox Combo1 
         Height          =   300
         Left            =   120
         TabIndex        =   1
         Top             =   195
         Width           =   1650
      End
   End
   Begin VB.Frame Frame2 
      Height          =   600
      Left            =   5835
      TabIndex        =   3
      Top             =   0
      Width           =   3255
      Begin VB.CommandButton CmdEnd 
         Caption         =   "退出"
         Height          =   375
         Left            =   1755
         TabIndex        =   5
         Top             =   165
         Width           =   1335
      End
      Begin VB.CommandButton CmdFind 
         Caption         =   "查询"
         Height          =   375
         Left            =   180
         TabIndex        =   4
         Top             =   165
         Width           =   1350
      End
   End
   Begin VB.Label je 
      BackStyle       =   0  'Transparent
      ForeColor       =   &H000000FF&
      Height          =   180
      Left            =   4920
      TabIndex        =   9
      Top             =   3900
      Width           =   1755
   End
   Begin VB.Label sl 
      BackStyle       =   0  'Transparent
      ForeColor       =   &H00FF0000&
      Height          =   180
      Left            =   2655
      TabIndex        =   8
      Top             =   3900
      Width           =   1080
   End
   Begin VB.Label pz 
      BackStyle       =   0  'Transparent
      ForeColor       =   &H0000FF00&
      Height          =   180
      Left            =   945
      TabIndex        =   7
      Top             =   3900
      Width           =   780
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "还回品种:         还回数量:               还回金额:"
      Height          =   195
      Left            =   60
      TabIndex        =   6
      Top             =   3900
      Width           =   7800
   End
End
Attribute VB_Name = "main_jygl_hscx"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
 '添加字段列表
 Combo1.AddItem ("还书人")
 Combo1.AddItem ("书证号")
 Combo1.AddItem ("条形码")
 Combo1.AddItem ("书名")
 Combo1.AddItem ("出版社")
 Combo1.AddItem ("作者")
 Combo1.AddItem ("票号")
 Combo1.AddItem ("图书类别")
 Combo1.ListIndex = 0
 CmdFind_Click
End Sub
Private Sub Form_Unload(Cancel As Integer)
 frm_main.Enabled = True
End Sub
Private Sub CmdFind_Click()
 Adodc1.RecordSource = "select * from hsb where hsb." & Combo1.text & " " & " like'" + Text1.text + "'+'%'order by val(right(书证号,5))"
 Adodc1.Refresh
 Adodc2.RecordSource = "select count(*)as 品种,sum(还回数量)as 合计数量,sum(金额)as 合计金额 from hsb  where hsb." & Combo1.text & " " & "like '" + Text1.text + "'+'%'"
 Adodc2.Refresh
 If Adodc2.Recordset.Fields(0) <> "" Then pz.Caption = Adodc2.Recordset.Fields(0) Else pz.Caption = "0"
 If Adodc2.Recordset.Fields(1) <> "" Then sl.Caption = Adodc2.Recordset.Fields(1) Else sl.Caption = "0"
 If Adodc2.Recordset.Fields(2) <> "" Then je.Caption = Format(Adodc2.Recordset.Fields(2), "0.00") Else je.Caption = "0.00"
End Sub
Private Sub CmdEnd_Click()
 Unload Me
 frm_main.Enabled = True
End Sub

⌨️ 快捷键说明

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