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

📄 frmfees.frm

📁 This project is developed for school management system in vb and sql server 2000. All source code in
💻 FRM
📖 第 1 页 / 共 3 页
字号:
               Top             =   1320
               Width           =   2205
            End
            Begin VB.Label L 
               Alignment       =   1  'Right Justify
               BackStyle       =   0  'Transparent
               Caption         =   "Section No:"
               BeginProperty Font 
                  Name            =   "Tahoma"
                  Size            =   9
                  Charset         =   0
                  Weight          =   400
                  Underline       =   0   'False
                  Italic          =   0   'False
                  Strikethrough   =   0   'False
               EndProperty
               ForeColor       =   &H00000000&
               Height          =   345
               Index           =   4
               Left            =   3240
               TabIndex        =   29
               Top             =   840
               Width           =   2205
            End
            Begin VB.Label L 
               Alignment       =   1  'Right Justify
               BackStyle       =   0  'Transparent
               Caption         =   "Class Type:"
               BeginProperty Font 
                  Name            =   "Tahoma"
                  Size            =   9
                  Charset         =   0
                  Weight          =   400
                  Underline       =   0   'False
                  Italic          =   0   'False
                  Strikethrough   =   0   'False
               EndProperty
               ForeColor       =   &H00000000&
               Height          =   345
               Index           =   3
               Left            =   -1080
               TabIndex        =   26
               Top             =   240
               Width           =   2205
            End
            Begin VB.Label L 
               Alignment       =   1  'Right Justify
               BackStyle       =   0  'Transparent
               Caption         =   "Fee Amount Rs:/"
               BeginProperty Font 
                  Name            =   "Tahoma"
                  Size            =   9
                  Charset         =   0
                  Weight          =   400
                  Underline       =   0   'False
                  Italic          =   0   'False
                  Strikethrough   =   0   'False
               EndProperty
               ForeColor       =   &H00000000&
               Height          =   345
               Index           =   2
               Left            =   -600
               TabIndex        =   25
               Top             =   1320
               Width           =   2205
            End
            Begin VB.Label L 
               Alignment       =   1  'Right Justify
               BackStyle       =   0  'Transparent
               Caption         =   "Fee Submit Date:"
               BeginProperty Font 
                  Name            =   "Tahoma"
                  Size            =   9
                  Charset         =   0
                  Weight          =   400
                  Underline       =   0   'False
                  Italic          =   0   'False
                  Strikethrough   =   0   'False
               EndProperty
               ForeColor       =   &H00000000&
               Height          =   255
               Index           =   1
               Left            =   120
               TabIndex        =   24
               Top             =   840
               Width           =   1485
            End
            Begin VB.Label L 
               Alignment       =   1  'Right Justify
               BackStyle       =   0  'Transparent
               Caption         =   "Student Roll No:"
               BeginProperty Font 
                  Name            =   "Tahoma"
                  Size            =   9
                  Charset         =   0
                  Weight          =   400
                  Underline       =   0   'False
                  Italic          =   0   'False
                  Strikethrough   =   0   'False
               EndProperty
               ForeColor       =   &H00000000&
               Height          =   255
               Index           =   0
               Left            =   3960
               TabIndex        =   23
               Top             =   240
               Width           =   1755
            End
         End
      End
      Begin VB.Frame ButtFrame 
         BackColor       =   &H80000004&
         Height          =   1185
         Left            =   150
         TabIndex        =   12
         Top             =   3720
         Width           =   8775
         Begin VB.PictureBox OpBtn 
            Appearance      =   0  'Flat
            BackColor       =   &H80000004&
            FillColor       =   &H008080FF&
            ForeColor       =   &H80000008&
            Height          =   585
            Left            =   120
            ScaleHeight     =   555
            ScaleWidth      =   7965
            TabIndex        =   13
            Top             =   480
            Width           =   7995
            Begin VB.CommandButton cmdnexts 
               BackColor       =   &H00E0E0E0&
               Caption         =   "&Next"
               Height          =   255
               Left            =   7020
               MaskColor       =   &H00E0E0E0&
               TabIndex        =   28
               Top             =   150
               UseMaskColor    =   -1  'True
               Width           =   885
            End
            Begin VB.CommandButton cmdback 
               BackColor       =   &H00E0E0E0&
               Caption         =   "&Back"
               Height          =   255
               Left            =   6030
               MaskColor       =   &H00E0E0E0&
               TabIndex        =   27
               Top             =   150
               UseMaskColor    =   -1  'True
               Width           =   885
            End
            Begin VB.CommandButton cmdAddNew 
               BackColor       =   &H00E0E0E0&
               Caption         =   "Add &New"
               Height          =   255
               Left            =   90
               MaskColor       =   &H00E0E0E0&
               TabIndex        =   0
               Top             =   150
               UseMaskColor    =   -1  'True
               Width           =   885
            End
            Begin VB.CommandButton cmdEdit 
               BackColor       =   &H00E0E0E0&
               Caption         =   "&Edit"
               Height          =   255
               Left            =   1050
               TabIndex        =   9
               Top             =   150
               Width           =   885
            End
            Begin VB.CommandButton cmdDelete 
               BackColor       =   &H00E0E0E0&
               Caption         =   "&Delete"
               Height          =   255
               Left            =   2040
               TabIndex        =   8
               Top             =   150
               Width           =   885
            End
            Begin VB.CommandButton cmdFind 
               BackColor       =   &H00E0E0E0&
               Caption         =   "&Find.."
               Height          =   255
               Left            =   3030
               TabIndex        =   7
               Top             =   150
               Width           =   885
            End
            Begin VB.CommandButton cmdSave 
               BackColor       =   &H00E0E0E0&
               Caption         =   "&Save"
               Enabled         =   0   'False
               Height          =   255
               Left            =   4020
               MaskColor       =   &H008080FF&
               TabIndex        =   5
               Top             =   150
               UseMaskColor    =   -1  'True
               Width           =   885
            End
            Begin VB.CommandButton cmdCancel 
               BackColor       =   &H00E0E0E0&
               Caption         =   "&Cancel"
               Enabled         =   0   'False
               Height          =   255
               Left            =   5040
               TabIndex        =   6
               Top             =   150
               Width           =   885
            End
         End
         Begin VB.PictureBox Picture1 
            Appearance      =   0  'Flat
            BackColor       =   &H00E0E0E0&
            FillColor       =   &H008080FF&
            ForeColor       =   &H80000008&
            Height          =   375
            Left            =   150
            ScaleHeight     =   345
            ScaleWidth      =   6735
            TabIndex        =   14
            Top             =   600
            Visible         =   0   'False
            Width           =   6765
            Begin VB.PictureBox picStatBox 
               Appearance      =   0  'Flat
               BackColor       =   &H00E0E0E0&
               BorderStyle     =   0  'None
               ForeColor       =   &H80000008&
               Height          =   300
               Left            =   90
               ScaleHeight     =   300
               ScaleWidth      =   7995
               TabIndex        =   15
               Top             =   30
               Width           =   7995
               Begin VB.CommandButton cmdLast 
                  BackColor       =   &H00C0C0C0&
                  Height          =   300
                  Left            =   6195
                  Style           =   1  'Graphical
                  TabIndex        =   19
                  Top             =   0
                  UseMaskColor    =   -1  'True
                  Width           =   345
               End
               Begin VB.CommandButton cmdNext 
                  BackColor       =   &H00C0C0C0&
                  Height          =   300
                  Left            =   3840
                  Style           =   1  'Graphical
                  TabIndex        =   18
                  Top             =   0
                  UseMaskColor    =   -1  'True
                  Width           =   345
               End
               Begin VB.CommandButton cmdPrevious 
                  BackColor       =   &H00C0C0C0&
                  Height          =   300
                  Left            =   345
                  Style           =   1  'Graphical
                  TabIndex        =   17
                  Top             =   0
                  UseMaskColor    =   -1  'True
                  Width           =   345
               End
               Begin VB.CommandButton cmdFirst 
                  BackColor       =   &H00C0C0C0&
                  Height          =   300
                  Left            =   0
                  Style           =   1  'Graphical
                  TabIndex        =   16
                  Top             =   0
                  UseMaskColor    =   -1  'True
                  Width           =   345
               End
               Begin VB.Label lblStatus 
                  Alignment       =   2  'Center
                  BackColor       =   &H00FFFFFF&
                  BorderStyle     =   1  'Fixed Single
                  Height          =   285
                  Left            =   690
                  TabIndex        =   20
                  Top             =   0
                  Width           =   5115
               End
            End
         End
      End
      Begin MSHierarchicalFlexGridLib.MSHFlexGrid Grid 
         Height          =   3345
         Left            =   -74880
         TabIndex        =   11
         Top             =   570
         Width           =   8325
         _ExtentX        =   14684
         _ExtentY        =   5900
         _Version        =   393216
         Rows            =   3
         Cols            =   6
         FixedCols       =   0
         WordWrap        =   -1  'True
         FocusRect       =   2
         SelectionMode   =   1
         AllowUserResizing=   3
         BeginProperty FontFixed {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "Tahoma"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         _NumberOfBands  =   1
         _Band(0).Cols   =   6
         _Band(0).GridLinesBand=   2
         _Band(0).TextStyleBand=   0
         _Band(0).TextStyleHeader=   0
      End
   End
End
Attribute VB_Name = "frmfees"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim WithEvents Rs As ADODB.Recordset
Attribute Rs.VB_VarHelpID = -1
Dim rsgrid As New ADODB.Recordset
Dim RsCombo As New ADODB.Recordset
Dim rscombo2 As New ADODB.Recordset
Dim rscombo3 As New ADODB.Recordset



Private Sub Ce_Click()
If Ce.Value = True Then
   'cmbCour.ListIndex = -1
'   text1.Text = ""
   SS = "select fees.Stud_Id as [Student Roll No],student.name as [Student Name],fees.feedate as [Fee Date],fees.Sections as [Sections No],student.T_FEE as [Totol Fee],fees.feeamount as [Fee padid],fees.feeamount-student.T_FEE as [Balance] from fees LEFT JOIN student ON FEES.STUD_ID=student.STUD_ID"
   SetGridData (SS)
  End If
End Sub

Private Sub cmdback_Click()
Rs.MovePrevious
If Rs.BOF Then
MsgBox ("First Record"), vbInformation
Rs.MoveFirst
End If
End Sub

Private Sub cmdnexts_Click()
Rs.MoveNext
If Rs.EOF Then
MsgBox ("Last Record"), vbInformation
Rs.MoveLast
End If
End Sub

Private Sub cmdSave_Click()
On Error GoTo 1
'  If T(0).Text = "" Then
'   MsgBox "COURSE NAME CAN'T BE EMPTIED", vbInformation, App.Comments

⌨️ 快捷键说明

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