Académique Documents
Professionnel Documents
Culture Documents
S.No. Title
3 Definition Of Problem
7 DFD
8 ER Diagram
11 Coding
12 Conclusion
14 References
1
Chapter 1
Objective of the project
2
Objective
The project is titled "SCHOOL MANAGMENT". This package once developed will help
the school/institute to manage various details pertaining to its students. This will help
accounts department in maintaining the details related to the fees & basic details like their
security deposits, conveyance and etc, it will also help management or we can say
fees details. This package is basically developed for the authorities of the school/institute to
make their task easier or we can say this package automate their tasks like maintaining
students personal details, marinating cash details, printing of receipts. This package helps the
administrative & accounts department in maintaining the students personal & fees related
details.
It is basically a Database management package for the authorities of the school/institute like
management, accounts & administrative department. All the details of the students & the
daily work of various departments are managed by the package i.e. Personal details, Cash
details, Fees status, printing of receipts etc. The package is by the name of School/institute
Data Management Package. Package helps the various departments in maintaining &
manipulating the data. School/institute data are divided into Personal information, Cash
details, fee status & etc it helps in manipulating the divided parts of the data.
3
Modules of the system:
Fees Details
Fees Status
Report Generation
This module helps in managing the personal information of the students like their Name,
Address, Phone no., Roll no & etc. The package helps in adding the personal records, editing
Fees Details:
This module helps in managing the fees details of the student like their tuition fees, security,
late fees & etc. The basic purpose behind the development of this module is printing of
Fee Status:
This module helps in managing the fees records of the students like how many have paid their
fees & how many are yet to pay their fees & what is the receipt no. of the student who have
paid their fees. Basically this module generates the list of all the students who have paid their
fees & it also generates a list for those students who haven’t paid their fees.
Report Generation:
4
This module is basically all about report generation; in this package quite a few reports are
generated which are embedded in the form like student details, cash details & etc.
This package helps in managing the student information like their Name, Roll no. annual
charges or we can say personal details, it also manages their fees details, receipt generation &
etc. The package helps in adding the official records, editing the records, retrieval of records,
Security:
The package provides security by the help of Username & Password, the package has
been designed to be used on a stand-alone system & by specific user hence there was
& daily activities of the school/institute authorities for e.g. maintaining students
personal details, fee structures, maintaining cash details, fees status & etc.
Search:
This facility help in searching the required record from the database, package has the
provision of searching of the record through admission no. which is Primary Key &
Help:
This facility provides for help for the usage of the system. It provides help to the
5
The School/institute Data management Package provides the user of the System with a
window like interface. The Front end of the package is developed in VB i.e. VB.NETs, Back
6
Chapter 2
Theoretical background
of project
7
SCOPE
Scope of the system measures the scope of the project, which is going to be developed.
Answering following aspects can answer the project scope:
1. Context
2. Information objective
3. Function & Performance
4. Interfaces
The system “SCHOOL data management system” is a data management of students. All the
details of the students are managed with the help of this package i.e. their Personal
information, fees information & their report generation, with the help of this package the
organization can maintain & manipulate students data. This package has the provision for
adding new records, editing old records, viewing the database, searching facility, report
generation, help i.e. how to use the package & etc. Scope of the system can be measured with
the help of the dimensions.
Context:
This project is related to management of students data and the daily activities of the
authorities with the help of this package the user of this package, which is the department i.e.
administrative will be able to maintain the data through the computer which will help in
increasing he efficiency, accuracy of the department as well as help in electronic inter change
of the data. Administrative department can use this package to check for the details of the
students, whether they have paid their fees amount or whether it is due to them, through
which receipt no. it was paid they can study the past records analyze the trends.
Information objective:
Basically this is related to the Inputs & Outputs to the system. In other way we can say it is
related to the inputs required by the system & outputs generated by the system.
This package is basically data management package, in which the inputs given by the user is
itself the output of system it performs few calculation like the total cash received from the
students. We can say it is data management package, it provides the user with front end
which is very easy to use.
1. Inputs:
The input to the system is username & password for the system security, their
Personal details like Name, Address, Phone number, admission details, roll no for
data management, their fees details like admission fees, tuition, computer fee & etc .
2. Outputs:
The output for this system is the maintained records, personal details, fees details, fee
status & report generated. The outputs of the system are the records that were added
in the database as well as the reports that are generated with the help of he data in the
database.
8
Function & Performance:
This dimension measures the scope of the system with the help of functions & performance
of the system. The basic function performed by the system is of data management & report
generation.
1. Security:
The first function of the system is to provide security from unauthorized access to the
data, which is provided with the help of user name & password at the beginning of the
package. This system is been developed for a single user hence no rights are
employed or we can say administrator is only the user.
2. Data maintenance:
The most important function of the system is to maintain student data, the data is
maintained with the help of different menus like adding, editing, viewing, searching
& etc. There are different kinds of data in the system like personal information, fees
information & cash details with the help of the front end data is managed.
3. Report generation:
The last function of the system is to generate reports of the data like student details
report, cash report, fee status report & etc. With the help of this report the data can be
electronically exchanged as well as the reviewing of policies can be done with the
help of reports.
These are some of the basic function
performed by the system “Student Data Management”.
Interfaces:
Interfaces are the link between the user and the system, basically we can say interfaces are
the objects through which user of the system interacts with the system. This system has
different interfaces through which user interacts with the system they are:
1. Login interface:
This is the first interface in which user is required to enter the username & password
if the password is correct then access is granted otherwise not. User has got three
attempts to enter the correct password; if he is not able to enter the correct password
in three attempts then the system is exited.
2. Data maintenance:
This is the most important interface in the system in which the user interacts with the
system to store the data or to retrieve the data from the database, this interface has got
many sub parts like addition of records, editing of records, searching of records & etc.
3. Reports:
This interface is the output for the system in which the user receives the results or
output, which is required in the form of reports like cash details, student details & fee
status.
9
Chapter 3
DEFINATION OF PROBLEM
10
NEED OF THE SYSTEM
The
Package is developed to help the department maintaining the student details, earlier the
records where maintained manually, with the help of this package the concerned departments
will be able to improve the productivity, reduce the time, cost factors associated with the
system. The automation of the system will help the organization in proper maintenance of the
record, less manpower, less man-days, less cost, proper & accurate functioning.
The basic need for the package was to automate the whole procedure of maintaining of
student details, earlier it was all done manually. By developing this package lot of burden
was removed from the department, which was maintaining students details. It improved the
efficiency, reduced the cost, and reduced the time need to do the work manually. With the
help of this package the past details of the students can assessed and reports can be generated
on this details.
In brief we can say this system was required to automate the processing of students details,
which was done manually before the development of the package. Earlier all the information
/ data pertaining to the students was maintained manually or we can say it was on paper,
hence it created a problem for the organization/ school, how to manage it properly. With the
help of this system the organization/school is able to maintain the data properly & accurately.
Solution…?
The solution for all this problem was to automate the system, automation of the students data
maintenance would reduce the manpower, man days will result in accurate data & above all
increase the efficiency of the concerned department.
11
Chapter 4
SYSTEM ANALAYSIS AND
DESIGN
12
SYSTEM ANALYSIS
System Analysis
examine of a business situation with the intent of improving it through better procedure and
method. It is the process of gathering and method. It is process gathering and interpreting
facts.
system. Analysis is used gained and understanding of the conclusion of the system there is a
system description and as set of requirement for a new system. It there is on existing system,
then the analysis only defines the requirement. The step, which follows, will propose a new
The new system may be built a fresh or by changing the existing system. Development being
Analysis objective
An efficient system analysis always plays the role of strong foundation for
development of any proposed system. Information play key role, as the horizon of knowledge
keep on expending, since this project is anaphor to convert the manual in to computer based
system, a through knowledge of the day-to-day functions of present system of mandatory the
Feasibility Study
13
Feasibility is the determination of whether or not a project is worth doing. The
process followed in making this decision is called feasibility study. It determines whether a
project should be taken or not. Various types of feasibility were studied, like:
Technical feasibility
This is concerned with specifying equipment and the software that successfully
satisfies the user requirements. In examining the technical feasibility, the configuration of the
Operational feasibility
It is mainly related to the human organizational and political aspects. It involved the
study of the changes to be through in the system, new skills needed etc. In the present manual
system there is no use of computer and also the operational staff has no idea about the
operation of the computer system, hence an introductory training of the staff is needed.
Economic feasibility
It is the most frequently used technique for the evaluation of the effectiveness of the
proposed system. It involves the cost/benefit analysis. This study has out weighed the manual
Social feasibility
It is the determination of whether a system will by the user or not. This examines the
Management feasibility
Time feasibility
14
It is a determination of whether the proposed system can be implemented fully within
Fact Finding
Fact-finding means learning about the existing system as much as possible. The
Direct observation of the system allows the analyst to verify his understanding of the
system. It is one of the most difficult techniques. It requires intrusion into the user’s area and
can cause adverse reaction by the users if not handled properly. The user should not be able
to know that he is being observed else he might behave in a different manner. We had to be
very careful in doing the on-site observation though the users are co-operative or reluctant. A
lot of information about the system was gathered by observing the existing system at work.
The information regarding the system was gathered by the existing documents such as
various reports, procedure and practices of the, Raipur (C.G.). After studying these
documents we got the various requirements of the system which helped us to determine to
what extent were the requirements being met by the present system.
During the fact-finding phase of the system, we gathered facts, figures and documents
and came to grip with the entire scope of the problem. After the fact-finding, the system
These were then put forward to the management and the user. After the approval from
15
CHAPTER 5
Hardware and software
requirement
16
The following are the minimum requirement for the smooth and successful running of
the module.
Hardware
Hard Disk - Min 1GB for Operating system & program to setup
properly
Software: -
RDBMS - MS Access
17
CHAPTER 6
plate form specification
18
Plate form Specification
The minimum software requirement for developing the software “Electronic Showroom” is
as follows:-
19
Introduction to Windows XP
An Operating System (OS) dictates how all the parts (software and hardware resources) of
your computer work together and how specific tasks (i.e., displaying and saving information)
are to be performed.
Windows XP is built primarily on Windows 2000 technology which includes the best
attributes of previous Windows versions. People who already know and have used previous
versions of Windows should have no problems using Windows XP. One major difference
will be in the logging in and logging out procedures. Windows XP offers several benefits
over other versions, namely, its built-in file encryption and password control capabilities
provide basic data and access security, increased reliability and performance ability, friendly
graphical user interface (GUI), and its Web communication features. Windows XP's desktop
is graphical which allows the user to click on pictures (or icons) to launch applications, open
files and folders, connect to a network, and perform many other functions.
Users should find that Windows XP is more efficient and customizable than previous
versions and other platforms. The Start button on the bottom left corner of the screen
allows easy access to just about everything in the system. The Start button is used to initiate
applications, opens or search for documents, adjusts settings, activates the Help Support
system, manages files, and maintains the entire system to meet your specific needs.
The taskbar acts as a "home base" and has three elements: the Start button, a bar across the
bottom of the screen that lines up opened (active) applications side-by-side, and the system
tray located on the bottom right corner where the clock and other system icons may appear.
The taskbar is an efficient tool of keeping track of what applications are active, and allows
for switching between applications.
20
About VB.NET 6.0
4. Features: Various Additional Features Like ADO reports And other various type
of Active X controls are Supported by this application, which helps
widely in development of the Project.
Coding scheme of different controls is hidden from their appearance and this
resulted into graphical user interface based event driven programming.
21
About MS Access
This is a Backend Tool widely used for Personal Computer as a Data Base.
The relational database is a well-defined theoretical model of working with and managing a
set of data that attends to three specific things:
Data Structure, Data integrity and Data manipulation .The MS Access has a
distinct component, which adheres to these requirements. The basic Data Structure in Access
is Table having fixed number of columns but variable rows.
The Data integrity rules of the relational models can be defined within Access
relationship using integrity constraints. When a table is created in Access the integrity rule is
defied at that very time.
MS Access has many important features that make it not only an exceptional
database Management System but also an excellent database for personal system in windows
environment,
The goal of the access is to help you get your work done in the least of time,
with a minimum of effort.
Microsoft Access offers a variety of features for different databases needs. It can be
used to develop five general type of application:
1. Personal application.
3. Department application.
22
What is Database actually?
The term database means different things to different people. For many
years in the world of Dbase was used to describe a collection of fields and records in a
client/server environment. Dbase refers to all the data schema, indexes, rules, triggers and
stored procedures associated with a system in access terms, a dbase is a collection of all the
tables, queries, forms, reports, macros and modules that compose a complete system.
23
CHAPTER 7
Data flow diagram
24
DATA FLOW DIAGRAMS
A data flow diagram is graphical tool used to describe and analyze movement of data
through a system. These are the central tool and the basis from which the other components
are developed. The transformation of data from input to output, through processed, may be
described logically and independently of physical components associated with the system.
These are known as the logical data flow diagrams. The physical data flow diagrams show
the actual implements and movement of data between people, departments and workstations.
A full description of a system actually consists of a set of data flow diagrams. Using two
familiar notations Yourdon, Gane and Sarson notation develops the data flow diagrams. Each
component in a DFD is labeled with a descriptive name. Process is further identified with a
number that will be used for identification purpose. The development of DFD’S is done in
several levels. Each process in lower level diagrams can be broken down into a more
detailed DFD in the next level. The lop-level diagram is often called context diagram. It
consists a single process bit, which plays vital role in studying the current system. The
process in the context level diagram is exploded into other process at the first level DFD.
The idea behind the explosion of a process into more process is that understanding at
one level of detail is exploded into greater detail at the next level. This is done until further
explosion is necessary and an adequate amount of detail is described for analyst to understand
the process.
A DFD is also known as a “bubble Chart” has the purpose of clarifying system
requirements and identifying major transformations that will become programs in system
design. So it is the starting point of the design to the lowest level of detail. A DFD consists
of a series of bubbles joined by data flows in the system.
25
DFD SYMBOLS:
Data flow
Data Store
26
DATA FLOW DIAGRAM
27
CHAPTER 8
E R diagram
28
E-R diagrams constructs
In E-R diagrams, entity types are represented by squares. See the table below. Relationship
types are shown in diamond shaped boxes attached to the participating entity types with
straight lines. Attributes are shown in ovals, and each attribute is attached to its entity type or
relationship type by a straight line. Multivalued attributes are shown in double ovals. Key
attributes have their names underlined. Derived attributes are shown in dotted ovals.
Weak entity types are distinguished by being placed in double rectangles and by having their
relationship type. The participation constraint is specified by a single line for partial
participation and by double lines for total participation. The participation constraints specify
whether the existence of an entity depends on its being related to another entity via the
relationship type. If every entity of an entity set is related to some other entity set via a
relationship type, then the participation of the first entity type is total. If only few member of
an entity type is related to some entity type via a relationship type, the participation is partial.
ENTITY TYPE
RELATIONSHIP TYPE
ATTRIBUTE
29
KEY ATTRIBUTE
MULTIVALUED ATTRIBUTE
DERIVED ATTRIBUTE
TOTAL PARTICIPATION OF
E2 IN R
Structural
Constraint(Min,Max) On
Participation Of E In R
unique,
Contain the minimum number of words needed to uniquely and accurately describe the object.
For entities and attributes, names are singular nouns while relationship names are typically verbs.
30
ER-DIAGRAM
NAME
IN
USER
LOGIN
SCHOOL MANAGEMENT
F NAME admision
CASTE
CLASS
ADMISSION
NO. ADMISSION
NAME
Fee
CLASS
DOB
CLASS DETAILS
31
CHAPTER 9
DATABASE DESIGN
32
CLASS FEE
Class_id Number
Class_name Text
Class_fee Number
Group Text
Remark Text
FEE TABLE
33
M_fee Details
N Group
34
STUDENT
Admiss_no Number
Datea Date/Time
Name Text
Class Text
Sex Text
Dob Date/time
Religion Text
Caste Text
Categ Text
F_name Text
Occuption Text
Full_addre Text
Phone_no Text
Photo Text
35
CHAPTER 10
Input and output screen
design
36
Login Form:-
Welcome Page:-
37
MDI Form:-
38
Class Id Form:-
39
Admission Form:-
40
Fee Receipt Form:-
41
Class Report:-
42
Student Report:-
43
Fee Report:-
44
Help Window:-
45
Exit Window:-
46
CHAPTER 12
coding
47
Option Explicit
LoginSucceeded = False
Unload Me
End Sub
LoginSucceeded = True
Unload Me
frmSplash.Show
Else
txtPassword.SetFocus
SendKeys "{Home}+{End}"
End If
End Sub
Option Explicit
48
If MsgBox("Exit", vbYesNo + vbQuestion, "Exit") = vbYes Then
closedb
Cancel = 0
Else
Cancel = 1
End If
End Sub
fs.Show
End Sub
fs.Show
End Sub
closedb
End
End If
End Sub
db.Close
Set db = Nothing
End Sub
49
Dim fs As New frmFee_detail
fs.Show
End Sub
CommonDialog1.HelpCommand = &H3&
CommonDialog1.ShowHelp
End Sub
If School_Management.rsCMDCLASS.State = 1 Then
School_Management.rsCMDCLASS.Close
School_Management.CMDCLASS
School_Management.rsCMDCLASS.Requery (0)
ClassReport.Show
End Sub
If School_Management.rscmdstud.State = 1 Then
School_Management.rscmdstud.Close
School_Management.cmdstud
School_Management.rscmdstud.Requery (0)
StudReport.Show
End Sub
If School_Management.rscmdfee.State = 1 Then
School_Management.rscmdfee.Close
School_Management.cmdfee
School_Management.rscmdfee.Requery (0)
50
FeeReport.Show
End Sub
Connect
End Sub
Option Explicit
Label3.Caption =
"Loading..........................................................................................................................." &
PBar1.Value & "%"
PBar1.Value = PBar1.Value + 5
Timer1.Enabled = False
Unload Me
mm.Show
End If
End Sub
Option Explicit
51
Dim flag As Boolean
Unload Me
End Sub
Framefind.Visible = False
End Sub
Framefind.Visible = True
MSGrid.Rows = 1
MSGrid.AddItem rs(0) & Chr(9) & rs(1) & Chr(9) & rs(2) & Chr(9) & rs(3) & Chr(9) &
rs(4)
rs.MoveNext
Wend
End If
End Sub
Dim i As Variant
flag = True
Next
52
sql = "select max(class_id) from classFEE"
If IsNull(rs(0)) Then
txtcid.Text = 1
Else
txtcid.Text = rs(0) + 1
End If
CloseRS
txtcname.Enabled = True
txtcfee.Enabled = True
cmbgoc.Enabled = True
txtremark.Enabled = True
txtcname.SetFocus
cmdsave.Enabled = True
cmdfind.Enabled = False
cmdupdate.Enabled = False
cmdnew.Enabled = False
End Sub
Form_Load
cmdnew.Enabled = True
End Sub
If Len(txtcid.Text) = 0 Then
txtcid.SetFocus
Exit Sub
53
End If
If Len(txtcname.Text) = 0 Then
txtcname.SetFocus
Exit Sub
End If
If Len(txtcfee.Text) = 0 Then
txtcfee.SetFocus
Exit Sub
End If
If Len(cmbgoc.Text) = 0 Then
cmbgoc.SetFocus
Exit Sub
End If
sql = "Insert into classFEE values(" & CInt(txtcid.Text) & ",'" &
StrConv(Trim(txtcname.Text), vbProperCase) & "'," & CDbl(txtcfee.Text) & ",'" &
StrConv(Trim(cmbgoc.Text), vbProperCase) & "','" & StrConv(Trim(txtremark.Text),
vbProperCase) & "')"
db.Execute sql
Else
54
db.Execute sql
End If
cmdnew.Enabled = True
Form_Load
End Sub
flag = False
txtcid.Enabled = True
txtcname.Enabled = True
txtcfee.Enabled = True
cmbgoc.Enabled = True
txtremark.Enabled = True
cmdsave.Enabled = True
cmdfind.Enabled = False
cmdnew.Enabled = False
cmdupdate.Enabled = False
End Sub
centerform Me
txtcid.Enabled = False
txtcname.Enabled = False
txtcfee.Enabled = False
cmbgoc.Enabled = False
txtremark.Enabled = False
CloseRS
55
rs.Open "classfee", db, adOpenKeyset, adLockPessimistic
If rs.RecordCount = 0 Then
cmdupdate.Enabled = False
cmdfind.Enabled = False
cmdsave.Enabled = False
Else
Display
cmdupdate.Enabled = True
cmdfind.Enabled = True
cmdsave.Enabled = False
End If
CloseRS
Framefind.Visible = False
End Sub
CloseRS
Display
Framefind.Visible = False
End If
End Sub
validno KeyAscii
End Sub
56
Private Sub Display()
txtcid.Text = rs(0)
txtcname.Text = rs(1)
txtcfee.Text = rs(2)
cmbgoc.Text = rs(3)
txtremark.Text = rs(4)
End Sub
If rs.State = 1 Then
rs.Close
Set rs = Nothing
End If
End Sub
validno KeyAscii
End Sub
Option Explicit
57
On Error GoTo School
CDl.CancelError = True
CDl.Filter = "jpeg|*.jpg|gif|*.gif|bmp|*.bmp"
CDl.ShowOpen
Picture1.Picture = LoadPicture(CDl.FileName)
txtpath.Text = CDl.FileName
Exit Sub
School:
MsgBox Err.Description
End Sub
Unload Me
End Sub
Framefind.Visible = False
End Sub
Framefind.Visible = True
CloseRS
MSGrid.Rows = 1
MSGrid.AddItem rs(0) & Chr(9) & rs(1) & Chr(9) & rs(2) & Chr(9) & rs(3)
rs.MoveNext
58
Wend
End If
End Sub
Dim i As Variant
flag = True
Next
txtadno.Enabled = True
txtstudname.Enabled = True
txtcaste.Enabled = True
txtfname.Enabled = True
txtoccu.Enabled = True
txtfaddr.Enabled = True
txtphone.Enabled = True
cmbclass.Enabled = True
Framesex.Enabled = True
Framecate.Enabled = True
Framereli.Enabled = True
DTPdob.Enabled = True
txtdoa.Enabled = True
DTPdob.Value = Date
txtdoa.Text = Date
CloseRS
59
sql = "select max(admiss_no)from student"
If IsNull(rs(0)) Then
txtadno.Text = 1
Else
txtadno.Text = rs(0) + 1
End If
cmdsave.Enabled = True
cmdfind.Enabled = False
cmdnew.Enabled = False
cmdupdate.Enabled = False
cmdbrw.Enabled = True
txtstudname.SetFocus
End Sub
Form_Load
cmdnew.Enabled = True
End Sub
Dim i As Integer
If Len(txtpath.Text) = 0 Then
cmdbrw.SetFocus
Exit Sub
60
End If
If Len(txtstudname.Text) = 0 Then
txtstudname.SetFocus
Exit Sub
End If
If Len(cmbclass.Text) = 0 Then
cmbclass.SetFocus
Exit Sub
End If
If Len(txtcaste.Text) = 0 Then
txtcaste.SetFocus
Exit Sub
End If
If Len(txtfname.Text) = 0 Then
txtfname.SetFocus
Exit Sub
End If
If Len(txtoccu.Text) = 0 Then
txtoccu.SetFocus
Exit Sub
End If
If Len(txtfaddr.Text) = 0 Then
61
txtfaddr.SetFocus
Exit Sub
End If
Exit Sub
End If
For i = 0 To 1
a = optsex(i).Caption
End If
Next
Exit Sub
End If
For i = 0 To 3
b = optreli(i).Caption
End If
Next
Exit Sub
End If
62
For i = 0 To 3
c = optcate(i).Caption
End If
Next
sql = "insert into student values(" & CInt(txtadno.Text) & ",#" & CDate(txtdoa.Text) & "#,'"
& StrConv(Trim(txtstudname.Text), vbProperCase) & "','" & StrConv(Trim(cmbclass.Text),
vbProperCase) & "','" & CStr(a) & "',#" & CDate(DTPdob.Value) & "#,'" & CStr(b) & "','" &
StrConv(Trim(txtcaste), vbProperCase) & "','" & CStr(c) & "','" &
StrConv(Trim(txtfname.Text), vbProperCase) & "','" & StrConv(Trim(txtoccu.Text),
vbProperCase) & "','" & StrConv(Trim(txtfaddr.Text), vbProperCase) & "','" &
StrConv(Trim(txtphone.Text), vbProperCase) & "','" & StrConv(Trim(txtpath.Text),
vbProperCase) & "')"
db.Execute sql
Else
sql = "Update student set datea=#" & CDate(txtdoa.Text) & "#,name='" &
StrConv(Trim(txtstudname.Text), vbProperCase) & "',class='" &
StrConv(Trim(cmbclass.Text), vbProperCase) & "',sex='" & CStr(a) & "',DOB=#" &
CDate(DTPdob.Value) & "#,Religion='" & CStr(b) & "',[Cast]='" & StrConv(Trim(txtcaste),
vbProperCase) & "',categ='" & CStr(c) & "',F_name='" & StrConv(Trim(txtfname.Text),
vbProperCase) & "',occuption='" & StrConv(Trim(txtoccu.Text), vbProperCase) &
"',Full_addre='" & StrConv(Trim(txtfaddr.Text), vbProperCase) & "',Phone_no='" &
StrConv(Trim(txtphone.Text), vbProperCase) & "',Photo='" & StrConv(Trim(txtpath.Text),
vbProperCase) & "' where Admiss_no=" & CInt(txtadno.Text)
db.Execute sql
End If
cmdnew.Enabled = True
Form_Load
End Sub
63
Private Sub cmdupdate_Click()
txtadno.Enabled = True
txtstudname.Enabled = True
cmbclass.Enabled = True
txtcaste.Enabled = True
txtfname.Enabled = True
txtoccu.Enabled = True
txtfaddr.Enabled = True
txtphone.Enabled = True
Framesex.Enabled = True
Framereli.Enabled = True
Framecate.Enabled = True
cmdsave.Enabled = True
DTPdob.Enabled = True
cmdfind.Enabled = False
cmdnew.Enabled = False
cmdupdate.Enabled = False
cmdbrw.Enabled = True
flag = False
End Sub
centerform Me
Framefind.Visible = False
DTPdob.Enabled = False
txtdoa.Enabled = False
txtadno.Enabled = False
64
txtstudname.Enabled = False
txtcaste.Enabled = False
txtfname.Enabled = False
txtoccu.Enabled = False
txtfaddr.Enabled = False
txtphone.Enabled = False
cmbclass.Enabled = False
txtpath.Enabled = False
Framesex.Enabled = False
Framereli.Enabled = False
Framecate.Enabled = False
cmbclass.Clear
CloseRS
cmbclass.AddItem (rs(0))
rs.MoveNext
Wend
End If
CloseRS
If rs.RecordCount = 0 Then
cmdupdate.Enabled = False
cmdfind.Enabled = False
65
cmdsave.Enabled = False
cmdbrw.Enabled = False
Else
Display
cmdupdate.Enabled = True
cmdfind.Enabled = True
cmdsave.Enabled = False
cmdbrw.Enabled = False
End If
End Sub
CloseRS
Display
Framefind.Visible = False
End If
End Sub
validno KeyAscii
End Sub
validchar KeyAscii
End Sub
66
validchar KeyAscii
End Sub
validchar KeyAscii
End Sub
validchar KeyAscii
End Sub
txtadno.Text = rs(0)
txtdoa.Text = rs(1)
txtstudname.Text = rs(2)
cmbclass.Text = rs(3)
optsex(0).Value = True
Else
rs(4) = "Female"
optsex(1).Value = True
End If
DTPdob.Value = rs(5)
optreli(0).Value = True
optreli(1).Value = True
optreli(2).Value = True
Else
67
rs(6) = "Christian"
optreli(3).Value = True
End If
txtcaste.Text = rs(7)
optcate(0).Value = True
optcate(1).Value = True
optcate(2).Value = True
optcate(3).Value = True
End If
txtfname.Text = rs(9)
txtoccu.Text = rs(10)
txtfaddr.Text = rs(11)
txtphone.Text = rs(12)
txtpath.Text = rs(13)
'Picture1.Picture = LoadPicture(rs(13))
End Sub
If rs.State = 1 Then
rs.Close
Set rs = Nothing
End If
End Sub
68
Option Explicit
CloseRS
rs.Close
sql = "select * from fee_tabl where name='" & cmbname.Text & "' and class='" &
txtclass.Text & "'"
txtregfee.Locked = True
69
txtregfee.Text = "-"
flag1 = True
txtmfee.SetFocus
Else
txtregfee.SetFocus
flag1 = False
End If
CloseRS
txtregfee.SetFocus
End Sub
Unload Me
End Sub
Framefind.Visible = False
End Sub
Framefind.Visible = True
MSGrid.Rows = 1
MSGrid.AddItem rs(0) & Chr(9) & rs(1) & Chr(9) & rs(2)
rs.MoveNext
Wend
70
End If
CloseRS
End Sub
flag = True
cmbname.Enabled = True
txtclass.Enabled = True
txtregfee.Enabled = True
txtmfee.Enabled = True
txtmfeeo.Enabled = True
txtbusfee.Enabled = True
txtmainchar.Enabled = True
txtPTA.Enabled = True
txtSfund.Enabled = True
txtEfee.Enabled = True
txtactfee.Enabled = True
txtcompfee.Enabled = True
txtmichar.Enabled = True
txttot.Enabled = True
Dim i As Variant
Next
If IsNull(rs(0)) Then
71
txtno.Text = 1
Else
txtno.Text = rs(0) + 1
End If
txtdate.Text = Date
cmdsave.Enabled = True
cmdupdate.Enabled = False
cmdnew.Enabled = False
cmbname.SetFocus
End Sub
Form_Load
cmdnew.Enabled = True
End Sub
If Len(txtno.Text) = 0 Then
txtno.SetFocus
Exit Sub
End If
If Len(cmbname.Text) = 0 Then
cmbname.SetFocus
Exit Sub
End If
If Len(txtclass.Text) = 0 Then
72
txtclass.SetFocus
Exit Sub
End If
If Len(txtregfee.Text) = 0 Then
txtregfee.SetFocus
Exit Sub
End If
If Len(txtmfee.Text) = 0 Then
txtmfee.SetFocus
Exit Sub
End If
If Len(txtmfeeo.Text) = 0 Then
txtmfeeo.SetFocus
Exit Sub
End If
If Len(txtbusfee.Text) = 0 Then
txtbusfee.SetFocus
Exit Sub
End If
If Len(txtmainchar.Text) = 0 Then
txtmainchar.SetFocus
73
Exit Sub
End If
If Len(txtPTA.Text) = 0 Then
txtPTA.SetFocus
Exit Sub
End If
If Len(txtSfund.Text) = 0 Then
txtSfund.SetFocus
Exit Sub
End If
If Len(txtEfee.Text) = 0 Then
txtEfee.SetFocus
Exit Sub
End If
If Len(txtactfee.Text) = 0 Then
txtactfee.SetFocus
Exit Sub
End If
If Len(txtcompfee.Text) = 0 Then
txtcompfee.SetFocus
Exit Sub
End If
74
If Len(txtmichar.Text) = 0 Then
txtmichar.SetFocus
Exit Sub
End If
txtregfee.Locked = True
sql = "Insert into m_fee values(" & (txtno.Text) & ",#" & CDate(txtdate.Text) & "#,'"
& Trim$(cmbname.Text) & "','" & (txtclass.Text) & "'," & Val(txtregfee.Text) & ","
& CDbl(txtmfee.Text) & ",'" & StrConv(Trim(txtmfeeo.Text), vbProperCase) & "',"
& CDbl(txtbusfee.Text) & "," & CDbl(txtmainchar.Text) & "," & CDbl(txtPTA.Text)
& "," & CDbl(txtSfund.Text) & "," & CDbl(txtEfee.Text) & "," &
CDbl(txtactfee.Text) & "," & CDbl(txtcompfee.Text) & "," & CDbl(txtmichar.Text)
& "," & CDbl(txttot.Text) & ")"
db.Execute sql
sql = "update fee_tabl set total=total+" & txttot.Text & " where name='" &
cmbname.Text & "' and class='" & txtclass.Text & "'"
db.Execute sql
Else
sql = "Insert into m_fee values(" & (txtno.Text) & ",#" & CDate(txtdate.Text) & "#,'"
& Trim$(cmbname.Text) & "','" & (txtclass.Text) & "'," & CDbl(txtregfee.Text) & ","
& CDbl(txtmfee.Text) & ",'" & StrConv(Trim(txtmfeeo.Text), vbProperCase) & "',"
& CDbl(txtbusfee.Text) & "," & CDbl(txtmainchar.Text) & "," & CDbl(txtPTA.Text)
& "," & CDbl(txtSfund.Text) & "," & CDbl(txtEfee.Text) & "," &
CDbl(txtactfee.Text) & "," & CDbl(txtcompfee.Text) & "," & CDbl(txtmichar.Text)
& "," & CDbl(txttot.Text) & ")"
db.Execute sql
sql = "Insert into Fee_Tabl values(" & (CInt(txtno.Text)) & ",#" &
CDate(txtdate.Text) & "#,'" & Trim$(cmbname.Text) & "','" &
StrConv(Trim$(txtclass.Text), vbProperCase) & "'," & CDbl(txttot.Text) & ")"
db.Execute sql
75
End If
Else
Dim q As Integer
q = Val(txttot.Text) - rs(0)
sql = "update fee_tabl set total=total+" & q & " where name='" & cmbname.Text & "'
and class='" & txtclass.Text & "'"
db.Execute sql
End If
q = rs(0) - Val(txttot.Text)
sql = "update fee_tabl set total=total-" & q & " where name='" & cmbname.Text & "'
and class='" & txtclass.Text & "'"
db.Execute sql
End If
End If
sql = "Update m_Fee set Name='" & Trim$(cmbname.Text) & "',class='" &
StrConv(Trim(txtclass.Text), vbProperCase) & "',Regn_fee=" & CDbl(txtregfee.Text)
& ",Fee_month=" & CDbl(txtmfee.Text) & ",Fee_mont_o='" &
StrConv(Trim(txtmfeeo.Text), vbProperCase) & "',bus_fee=" & CDbl(txtbusfee.Text)
& ",maint_char=" & CDbl(txtmainchar.Text) & ",pta_fund=" & CDbl(txtPTA.Text)
& ",stude_fund=" & CDbl(txtSfund.Text) & ",exam_fee=" & CDbl(txtEfee.Text) &
",activi_fee=" & CDbl(txtactfee.Text) & ",comput_fee=" & CDbl(txtcompfee.Text) &
",misc_charg=" & CDbl(txtmichar.Text) & ",Total=" & CDbl(txttot.Text) & " where
Receipt_no=" & CInt(txtno.Text)
76
db.Execute sql
rs.Close
End If
cmdnew.Enabled = True
Form_Load
End Sub
txtno.Enabled = True
cmbname.Enabled = True
txtclass.Enabled = True
txtregfee.Enabled = True
txtmfee.Enabled = True
txtmfeeo.Enabled = True
txtbusfee.Enabled = True
txtmainchar.Enabled = True
txtPTA.Enabled = True
txtSfund.Enabled = True
txtEfee.Enabled = True
txtactfee.Enabled = True
txtcompfee.Enabled = True
txtmichar.Enabled = True
txttot.Enabled = True
txtdate.Enabled = True
cmdsave.Enabled = True
cmdfind.Enabled = False
cmdnew.Enabled = False
77
cmdupdate.Enabled = False
flag = False
End Sub
Dim i As Variant
Next
centerform Me
txtno.Enabled = False
cmbname.Enabled = False
txtclass.Enabled = False
txtregfee.Enabled = False
txtregfee.Locked = True
txtmfee.Enabled = False
txtmfeeo.Enabled = False
txtbusfee.Enabled = False
txtmainchar.Enabled = False
txtPTA.Enabled = False
txtSfund.Enabled = False
txtEfee.Enabled = False
txtactfee.Enabled = False
txtcompfee.Enabled = False
txtmichar.Enabled = False
txttot.Enabled = False
txtdate.Enabled = False
78
Framefind.Visible = False
cmbname.Clear
cmbname.AddItem (rs(0))
rs.MoveNext
Wend
End If
CloseRS
If rs.RecordCount = 0 Then
cmdupdate.Enabled = False
cmdfind.Enabled = False
cmdsave.Enabled = False
Else
cmdupdate.Enabled = True
cmdfind.Enabled = True
cmdsave.Enabled = False
End If
CloseRS
End Sub
79
rs.Open sql, db, adOpenKeyset, adLockPessimistic, adCmdText
Display
Framefind.Visible = False
End If
CloseRS
End Sub
txtno.Text = rs(0)
txtdate.Text = rs(1)
cmbname.Text = rs(2)
txtclass.Text = rs(3)
txtregfee.Text = rs(4)
txtmfee.Text = rs(5)
txtmfeeo.Text = rs(6)
txtbusfee.Text = rs(7)
txtmainchar.Text = rs(8)
txtPTA.Text = rs(9)
txtSfund.Text = rs(10)
txtEfee.Text = rs(11)
txtactfee.Text = rs(12)
txtcompfee.Text = rs(13)
txtmichar.Text = rs(14)
txttot.Text = rs(15)
End Sub
80
'rs.Close
Set rs = Nothing
End Sub
validno KeyAscii
End Sub
End Sub
validno KeyAscii
End Sub
End Sub
validno KeyAscii
End Sub
End Sub
validno KeyAscii
81
End Sub
End Sub
validno KeyAscii
End Sub
End Sub
validno KeyAscii
End Sub
End Sub
validchar KeyAscii
End Sub
validno KeyAscii
End Sub
82
txttot.Text = Val(txtregfee.Text) + Val(txtmfee.Text) + Val(txtbusfee.Text) +
Val(txtmainchar.Text) + Val(txtPTA.Text) + Val(txtSfund.Text) + Val(txtEfee.Text)
+ Val(txtactfee.Text) + Val(txtcompfee.Text) + Val(txtmichar.Text)
End Sub
validno KeyAscii
End Sub
End Sub
validno KeyAscii
End Sub
End Sub
validno KeyAscii
End Sub
End Sub
Option Explicit
83
If School_Management.rsCMDCLASS.State = 1 Then
School_Management.rsCMDCLASS.Close
End Sub
End Sub
End Sub
CommonDialog1.HelpCommand = &H3&
CommonDialog1.ShowHelp
End Sub
closedb
End
End If
End Sub
84
CHAPTER 13
Conclusion
85
It is basically a Database management package for the authorities of school/institute
that maintains student’s data. All the details of student are managed by the package i.e.
Personal details, Fees details, Reports & etc. The package is by the name of Student
Data Management Package. Package helps the various departments in maintaining &
manipulating the data. Student data are divided into Personal information, Fees Details,
Receipt printing & etc it helps in manipulating the divided parts of the data. This system
Student Data Management package has a very user friendly environment & it’s
interfaces are similar to windows, so it will not take time for the user to get acquainted
with the system, there are few things that should be kept in mind before using the
system those points are explained with the help of screen outputs.
This Package is developed for stand-alone system, hence for logging on the system user
must know the Username & Password. After choosing from the menus the specific
options few things has to be kept in mind which are explained below.
86
CHAPTER 14
Limitation and future scope
87
LIMITATION OF THE SYSTEM
Limitation of any system is difference between the required system & the developed
system: -
2. This system is quite easy to use this is not its limitation but its restrictive features
3. The back end used in the system is M S Access, which is not an RDBMS.
5. There are few things, which should be kept in mind while using the system.
88
CHAPTER 15
references
89
References
3. Mastering VB.NET
By My Microsoft
4. Mastering VB.NET
By BPB Publication
5. Introduction to VB programming
By V.K. Jain
90