Upload
forum502
View
221
Download
0
Embed Size (px)
Citation preview
7/28/2019 Librery System
1/88
Athwalines, surat-395001
E-mail:[email protected]
PROJECT REPORT
AS A PARTIAL REQUIREMENT FOR THE DEGREE OF
BACHELOR OF COMMERCE. (COMPUTER APPLICATION)
Program (2011-2012)
Submitted by Guided byDharmishtha Parmar Mr. Manish Tailor
Afsana Patel
Pinki Sharma
ORGANIZATION
Z.F. WADIA WOMENS COLLEGE & N.K. JHOTA COLLEGE OF COMMERCE
7/28/2019 Librery System
2/88
LIBRARY MANAGEMENT SYSTEM
2
ACKNOWLEDGEMENT
We would like to this opportunity to below my acknowledgement onthe entire person who have directly helped us in making feasible and to turn it
a successful piece of work.We are grateful to Dr.Ashok desai for giving us the opportunity to
work with this esteemed organization, which will be the building step for ourbright future.
The assiduous help presumed by Mrs.kaillas madam our project guide was the inevitable part of the successful consummation for our project.We sincerely thanks her for her guidance and helpfulness through the and easytimes during the project.
We would also like to acknowledge tee advice and suggestion of Mr.Manish Tailor and the entire staff member who have directly or indirectlyhelped us in completing the project.
Many of our friends were the continuous source of inspirationthrough out the project development. They have been very supportive to us inachieving the milestones.
And the most precious part of our life, our parents, who have show-
ered their love end support hitch can never be repaid in any form but can becommemorated without them this achievement could not have been achieved.
DHARMISHTHA PARMAR
AFSANA PATEL
PINKI SHARMA
7/28/2019 Librery System
3/88
LIBRARY MANAGEMENT SYSTEM
3
I n d e xChapter
No.Name Page
No.1 COLLEGE PROFILE 4
1.1 History1.2 About college1.3 College profile
2 COMPUTER BASED SYSTEM 16
2.1 Aim of Computer based system3 ENVIRONMENT SUSTEM 203.1 Overview of Visual Basic3.2 Overview if Ms Access3.3 Understanding Database
4 SYSTEM PLANNING 274.1 Scope of the system4.2 Constraints
5 SYSTEM STUDY 30
5.1 Requirement Analysis5.2 Data flow diagram
6 SYSTEM DESIGN 346.1 Database Design6.2 Forms & coding6.3 Report
7 TESTING 848 BIBLIOGRAPHIES 87
7/28/2019 Librery System
4/88
LIBRARY MANAGEMENT SYSTEM
4
1.
7/28/2019 Librery System
5/88
LIBRARY MANAGEMENT SYSTEM
5
HISTORY History of Vidhyamandir Society
ESTABLISHEDMENT, AIMS AND OBJECTIVES:With a view to making women or girls-students self-reliant and impart-
ing them useful productive higher education, Vidhyamandir society was set upin 1948.
This institute faced a lot of trouble with courage. The sincere and dedi-cated founder members and the teaching staff labored hard to achieve thegoals step by step and today it has secured the highest position in the field of women Education in the South Gujarat Region.
The chief motto of this Institute is to arouse the need and awareness forthe higher education among women and train them as well disciplined andself-dependent in various field of life. An exclusive college for women wasstarted with a few students in a private building in the beginning but today thiswomen college having its grand building on the bank of the river Tapi inathwalines area of Surat City.
A generous donor Mr.Faramrose Wadia donated a big building to this
women college in memory of his loving son Let Mr. ZAL so this college namedas Z.F.Wadia Womens College, which was affiliated with S.N.D.T. University,Mumbai. Besides these colleges building the Institute is fortunate enough tobuilding with all necessary facilities. A large member of women has taken theadvantages of this hostel. Thus Vidhyamandir Society has been making pro-gress in the field of women education and such other spheres with satisfaction.
7/28/2019 Librery System
6/88
LIBRARY MANAGEMENT SYSTEM
6
ACTIVITIES AND PROGRESS:
One of our ardent desires was to start well-equipped Home-Science col-lege in Surat for womens upliftment and we start a Home -Science college
1965. The women enrolled in this college get a degree of B.A. from the SouthGujarat University. We also started some other subjects like Literature, Eco-nomics, and Psychology to become helpful to the Gujarati women. When thisarts college was started ours was the only college in the whole South.
EXTRA CUPPICULAR ACTIVITE:
We started classis for the various crafts and small-scale industry so that women could earn for their needs. This college has provided facilities for manyindoor and outdoor games and the spacious ground. Every year sport competi-
tion is held to promote sports among women. Discussions, Debates, Tours, En-tertainment programs are held regularly for the overall personality develop-ments of women. To established rapport with the society and college students,Our College conducts program of social awareness and other socially useful ac-tivities.
Following are the Courses run by Vidhyamandir Society
1) Pre Primary Courses
Jr.K.G,Sr.K.GThis section is run by shashikala Doriwala BAL Bhavan. These courses are
taught in two mediums.
The Admission process for the Jr.K.G:
The Application forms are available usually in the month of April-May. Thedates are announced at the notice board of the school before the due date asmentioned on the Application forms. Upon submission of the forms, you will
get the receipt for the same.The Admission given is based on the draw system. The draw is done in the
presence of parents of applicants. The total Intake of Jr.K.G. class is 120, whichare divided into 3 sections of 40 students in each section and in each medium.
2) Primary Courses
Standard 1 to 7
This section is run by Ramlal Bagdia Primary School. These courses are taught
7/28/2019 Librery System
7/88
LIBRARY MANAGEMENT SYSTEM
7
in two mediums.
English Medium Gujarati Medium
The Admission Process for STD 1 to 7:
The Students Passing Sr.K.G from the same school is directly admittedto First standard. If the seats are vacant, external students are given admission.For external students to get admission, they need to contect the Principal of the school personally along with a copy of application.
3) Secondary courses
Standard 8 to 10
This section is run by M.T.Jariwala Secondary School. These courses aretaught in two medium.
English Medium Gujarati Medium
The Admission Process for STD 8 to 10:
The Students passing seven standards from the same school are ad-
mitted to eight standards. It the seats are vacant, external students are givenadmissions. For external students to get admission, they need to contect thePrincipal of the school.
4) Higher secondary courses
Standard 11th to 12 th
This section comes under M.T.Jariwala higher Secondary School. Thesecourses are taught in two medium.
English Medium Gujarati Medium
Currently we have commerce stream only.
The management is trying to open the Science stream.
5) Degree Courses
B.A, B.COM, B.Sc.(Home Science)
The Degree courses B.A, B.COM, B.Sc. (Home Science) runs under
7/28/2019 Librery System
8/88
LIBRARY MANAGEMENT SYSTEM
8
Z.F.Wadia Womens College & N.K.Zhota college of Commerce. All these coursesare of 3 years durations and examinations are held by the South Gujarat Uni-versity.
B.C.A. (Bachelor of compute Application): We have stared these coursesfrom 2001 with the intake capacity of 120 students. This course runs underVidhyamandir College of information science.
Objectives and its Function:-
The obj ectives and functions of Vidhyamandir Society are as follows.
1) Spreading the education and especially the education of women.2) To fulfill this objective taking steps to make efforts easy.3) To achieve this object, to set up an educational organization, accepting,
co-operating and organizing.4) To develop the education and helping in that case and by those efforts to
marbleize.5) Taking all the steps and doing all type of function to achieve these all ob-
jective.
Committees of the trust:-
Follows members were the first trustees.
1. Dr.Bhukhandas B.Gandhi2. Dr.Chimanlal M.Dalal.3. Dr.Amichand C.Shah.4. Mr. Krishna C.Zaveri.5. Mr.Hiralal R.Jariwala.6. Mr.Ishvarlal D.Khanwala.7. Mrs.Subhadrabahen R.Marfatiya.
After some years a little correction was made in committee. Some retied
and the others left their posts willingly. So some new trustees came on thescreen.
Area:-
Z.F.Womens College of Surat is being run under the committee of Vidhyamandir society of Surat. The organization, 6Km far from Surat RailwayStation has of 6125 sq mt.At earlier stage area was only 5753 sq mt. Its area isvast and attractive.
7/28/2019 Librery System
9/88
LIBRARY MANAGEMENT SYSTEM
9
Establishment of the College:-
On 15/7/1948 Mrs.Subhadrabahen Ravivadan Marfatia and other ladiesand gentlemen tried set up Vidhyamandir Society. In between 1948 and 1951
this organization run S.S.C, F.Y., S.Y. and T.Y.B.A., without connection with aUniversity. Afterwards it was connected with S.N.D.T. in 1951, with South Gu-jarat University in 1965.
Financial Sources:-
For Vidhyamandir Trust
1. Charity.2. Fund:
For z.f.wadia womens college
1. Laboratory fees, Library fees, Examination fees, Admission fees, etc.2. Fine of students.3. Selling of identity.4. State governments grant.
7/28/2019 Librery System
10/88
LIBRARY MANAGEMENT SYSTEM
10
COLLEGE PROFILE:-
Z.F.WADIA WOMENSCOLLEGE & N.K.JHOTA COLLEGE OF COM-MERCE trusted by Vidhyamandir society Surat. It established on river bank of
Tapi. It is working in trusts marvelous building. Vehicles or bus facility is eas i-ly available for coming to college.
EMPLOYEE:-
In starting the selection of the employee had been according to thecommittee of the trust. But now the selection of these employees like educa-tion and uneducational is done as constuent of the trust.
Students:-
When the Commerce faculty is stared in 1983 there were only a fewstudents. But now there are 1116 students in this college.
Staffs:-
Total strength of the college staff is which involves Hon principalAshok Desai and following members.
1996-1997 the staff of teachers was 33 and the others were 16.
7/28/2019 Librery System
11/88
LIBRARY MANAGEMENT SYSTEM
11
PROSPECTUS
1. Location:
Vidhyamandir Societys Z.F.Wadia Womens College & N.K.Jhota Collegeof Commerce is situated at Athwalines near Chow patty on the Blank of the en-chanting river Tapi. The institution has magnificent building houses the officecomplex and other facilities. It is easily accessible by transport.
2. Approval:
Arts, Commerce, Home science, Computer Application & m.Com.
The institute has been granted permanent approval by the Veer Nar-mad South Gujarat University to conduct three-year degree course in Arts andCommerce as well as postgraduate studies in Commerce. The institute offersgraduation as a special subject. This is a remarkable characteristic of the de-gree conferred by this institution.
This is the only institute granted recognition by Veer NarmadSouth Gujarat University to conduct postgraduate studies in commerce for onlywomen.
The medium of instruction in the Arts Faculty the institute impartseducation through both Gujarati and English medium.
3. Curriculum:
At the F.Y.B.A level any two subjects may be opted as optimal sub-jects and from this any one subject Gujarati or History or Home science or Eng-lish can be taken as principal subject at the S.y/T.Y.B.A lavel.
7/28/2019 Librery System
12/88
LIBRARY MANAGEMENT SYSTEM
12
ARTS FACULTY
The following subjects are taught in the Arts Faculty.
1. FIRST YEAR B.A.
(a) English (Higher level) OR Guajarati (Compulsory Language)-one paper.
(b) Environment studies-one paper.
(c) Sanskrit (classical Language)-one paper.
Optional Subjects:
Any two subjects can be opted from the following (d), (e), (f), (g) sub-jects.
(d) Gujarati (Principal) (two papers) with 1-hindi (subsidiary) (twopapers)
or English (subsidiary) (two papers) may be chosen.
(e) History (principal) (two papers) with English (subsidiary) or psycholo-gy
(subsidiary) (two papers) may be chosen.
(f) Home Science (principal) (two papers) & home science (subsidiary)(two
papers) may be chosen.
(g) English: English-self financed (principal) (two papers) with Hindi
(subsidiary) (two papers) or psychology (subsidiary) (two papers) or
Economics (subsidiary) (two papers) may be chosen.
NOTE: (a) Two papers of optional subject (principal subsidiary) have to be done.
(b) A part from the three compulsory subjects (each paper carries 70 marks)
there are two papers on principal subject (70 marks each) & two paper
on subsidiary subject (70 marks each).
(c) Internal marks to be given out of 30 on the basis of the students
attendance in the class, internal tests & assignment.
7/28/2019 Librery System
13/88
LIBRARY MANAGEMENT SYSTEM
13
2. SECOND YEAR B.A.
(a) English (higher level) or Gujarati (compulsory language) (two papers).
(b) Inter disciplinary subject:
(Choose any one subject from the following)
(1) Population education (one paper).
or
(2) History of major revolution.
Optional subjects:
Any two subjects can be opted from the following (c), (d) subjectsin
Continuation of the subjects selected at the F.Y.B.A. level.
(c) Gujarati (two papers) with Hindi (two papers) or English (two pa-pers)
may be chosen.
(d) History (two papers) with English (two papers) or psychology (two
papers) or economics (two papers) may be chosen.
7/28/2019 Librery System
14/88
LIBRARY MANAGEMENT SYSTEM
14
COMPUTER APPLICATION
In the year 1994 the institution commenced a computer applica-tion center.
The academy offers computer application (self financed) as prin-cipal subject in option to advanced accounting & auditing in the commerce fac-ulty. In this way you can obtain B.COM. degree with computer application asprincipal subject.
At present vidya mandir societysvast computer center with nea r-ly 90 computers are interlinked with ethenet facility & internet facility is alsoavailable.
Veer Nanmad South Gujarat University recognized B.COM. withcomputer application is a special feature of institution.
Students joining the college for B.COM. With computer applicationhave to study apart from the compulsory subject, one paper of computer appli-cation instead of the optional subject.
At the First year level, students have to study computer applica-tion paper-1 instead of Banking. In the second & third year computer applica-tion(in continuity if F.Y.B.COM.) paper 2, 3, 4, 5 have to be studied with cost ac-
counting paper-1 & auditing paper-3 as subsidiary subjects. In the third yearalong with computer application paper-5, students have to prepare a project work report, which os a characteristic of this subject.
After having opted for computer application students cannot change the subject half way through the course. There is a separate timetablefor practical. Attendance during practical classes is compulsory.
7/28/2019 Librery System
15/88
LIBRARY MANAGEMENT SYSTEM
15
FIRST YEAR Paper-1: COMPUTER FUNDAMENTALS &
OPERATING SYSTEM.
Paper-2: APPLICATION SOFTWARE FOX
PROGRAMMING.
SECOND YEAR
Paper-3: INTERNET, WEB PAGES DESIGNING
& COREL DRAW.
Paper-2: GRAPHICAL USERINTERFACE TOOLS
(VISUAL BASIC + ACCESS).
THIRD YEAR
Paper-3: ENTER PRENEURSHIP &
PRENEURSHIP
PROJECT REPORT.
7/28/2019 Librery System
16/88
LIBRARY MANAGEMENT SYSTEM
16
2.
7/28/2019 Librery System
17/88
LIBRARY MANAGEMENT SYSTEM
17
Aim of the computer based system
Every manual activity of function gives rise to consider related to theactivity. The information generated is either static of dynamic in nature. Once
the volume of information generated grows, it becomes difficult to control anduse it for effective decision making. One of major aspects of providing a com-puter based system for an application arioso capture the status of continuouslychanging information in raw from and provide timely, up-to-date and accurateinformation for decision making. As by product of his progress, the systemgenerates various reports. Which replace manually maintained registers thecomputer system provides detailed information, which can be used by the staff for better follow up action One of the inherent problems of maintaining infor-mation manually is the element of redundancy. To search the same infor-
mation with various views, duplicate registers have to be maintained comput-erized system helps in reducing duplication of data and provide single of datacapture.
To summarize, the following are the aims of the computer-based system
1. To provide timely update and accurate information to the management for decision-making.
2. To provide single point data capture for all input information and avoiddata redundancy.
3.
To reduce book keeping efforts and provide information for better fol-low-up action.4. To generate statistical information on activities for estimation and per-
formance comparison.
7/28/2019 Librery System
18/88
LIBRARY MANAGEMENT SYSTEM
18
On-Line data entry philosophy
In a computer system, there are two distinct of entering data intothe system. On-Line and Off-Line data entry refers to a system. Where the same
person who handles the transaction in the physical system enters the datathrough a terminal interface normally. One of the main characteristics of on-line data entry Is the relatively smalltime interval between the traction in thephysical and its entry into the computer system.
As opposed to the above. Off-Line data entry refers to a systemwhere data is transcribed on to a medium such as punch card. Floppy disc etc.this data is them entered as traction in the physical system and is entry intothe computer system is considerable. Off-line data entry is conventional and isused high-volume environment.
Data processing is incomplete without a facility for manipulating the datais entry into the system. Three distinct operations are possible on the data in-quiry. Update and Delete. Inquiry refers to facilities of selective retrieval of da-ta without altering the data. Update reference to the facility by which selectedby the facility by which selected parts of the data entered into the system ismodified. Deletion refers to removal of already residing in the system.
All these operation can be performed in any sequence at any time. But tosafeguard consistency of data, the principal of enquirer before update is fol-lowed in online system. The data should be retrieved, verified and then update.These risks are further reduced by the validation performed on the data by thecomputer system itself.
Thus, whenever input, updating of data is attempted, the computer systemchecks the consistency of data within itself and its relation with other data al-ready exiting any inconsistency found is reflected to user in the form of an er-ror message. This error message is in plain English and conveys the data errorthe nature of error. Data is accepted once all error is corrected.
7/28/2019 Librery System
19/88
LIBRARY MANAGEMENT SYSTEM
19
ON-LINE enquiry philosophy
On-line inquiry is the facility of selective retrieval of data without alteringthe data itself. The process of retrieval is on-line e.g. the request is made
thought terminal interface and response is received on the terminal the timeinterval between, the request and the response is very small, normally of theorder seconds.
The other type of information retrieval is through computer-generated re-ports. Information retrieval through reports is characterized by comparativelylarge time interval between the requests immediately. Information, which ismore static in nature, is retrieved through computer-generated reports.
7/28/2019 Librery System
20/88
LIBRARY MANAGEMENT SYSTEM
20
3.
7/28/2019 Librery System
21/88
LIBRARY MANAGEMENT SYSTEM
21
ABOUT VISUAL BASIC
Microsoft Visual Basic, the fastest and easiest way to create applica-tions for Microsoft Window. Whether you are an experienced professional or
brand new to windows programming. Visual Basic provider you with a com-plete set of tools to simplify rapid application development.
WHAT IS VISUAL BASIC?
The "Visual" part refers to the method used to create the graphicaluser interface (GUI). Rather than writing numerous lines of code to describethe appearance and location of interface element, you simply add prebuilt ob-jects into place on screen. If you've ever used a drawing program such as paint,you already have most of the skills necessary to create an effective user inter-
face.The "Basic" part to the BASIC (Beginners All Purpose Symbolic In-
struction Code) language, a language used by more programmers than anyother language in the history of computing. Visual Basic has evolved from theoriginal BASIC language and now contains several hundred statements, func-tion and keywords, many of which relate to the windows GUI.
VISUAL BASIC'S TOOLS:
Data access features allow you to create databases, front-end applica-tions, and scalable server-side components for most popular database formatsincluding Microsoft SQL server and enterprise level database.
AativeXtm technologies w you to user the functionality provided by other ap-plications, such as Microsoft Word Processor, Microsoft Excel spreadsheet andother Windows application. You can even automate applications and objectscreated using the Professional or Enterprise editions of Visual Basic.
Internet capabilities make it easy to provide access to documents and Appli-cations across the Internet from within your application, Or to create Internet server applications.
Your finished application is true.exe file that users a Visual Basic virtual Ma-chine that you can freely distribute.
Understanding the Event-Driven Model
In traditional or Procedural applications, the application it self controlswhich portions of code execute and in what sequence. Execution starts with
7/28/2019 Librery System
22/88
LIBRARY MANAGEMENT SYSTEM
22
the first line of code and follows a predefined path through the application,calling procedures as needed.
In an event- driven application, the code doesnt follow a predeterminedpath-it executes different code section in response to events. Events can betriggered by the users action by message from the system or other applic a-tions, or even from the application itself. The sequence of these events deter-mines the sequence in which the code executes, thus the path through the ap-plications code differs each time the program runs.
Because you cant predict the sequence of events, your code must makecertain assumption about the state of the world when it executes. When youmake Assumption (for example, that an entry field must contain a value beforerunning a Procedure to process that value), you should structure your applica-
tion in such a way as to make sure that assumption will always be valid (forexample, disabling the command button that starts the procedure until the en-try field contain a value), your code can also a trigger events during execution.For example, programmatically change the text boxs change events to occur.This would cause the code (if any) contained in the events to execute. If you as-sumed that this event would only be trigged by user interaction, you might seeunexpected results. It is for this reason that it is important to understand theevent-driven model and keep it in mind when designing your application.
Understanding properties, Methods and EventsVisual Basic forms and controls are objects, which expose their own
properties, methods and events. Properties can be thought of as an objects a t-tributes, methods as its actions, and events as its responses.
An ever yday object like a childs helium balloon also has properties,methods and events. A balloons properties includes such as its height, diam e-ter and color. Other Properties describe its state (inflated or not inflated), orattributes that arent visible su ch as its age. By definition, all balloons have
these Properties; the settings of these Properties may differ from one balloonto another.
A balloon also has inherent methods or actions that it might perform. It hasan inflate method (the action of filling it with helium), a deflate method (expel-ling its contents) and a rise method (if you to let go of it). Again, all balloonsare capable of these methods.
Balloons also have predefined responses to certain external events, Forinstance, a balloon would respond to the event of being punctured by deflating
its self, or to the event of being released by rising into the air.
7/28/2019 Librery System
23/88
LIBRARY MANAGEMENT SYSTEM
23
Data in MS-ACCESS is organized in a form of tables. Within a table, rec-ords are arranged accordingly to a common reference value, known as thePrimary Key or the Key field. The value in the key field ID different for ev e-ry record and thus helps in uniquely identifying the records. A combination of
low or fields an also be used as he primary key. Such a combination is calledcomposite.
Since a value in one table can be replicated across other tables, thereshould be a way to maintain a relation between the two t ables this relation isimplemented through the concept of foreign key. A Foreign key in a table isfield. Which link that table to another table?
Database stored in Ms-Access have a default extension of*. Mdb.MS-Access also Maintains index files of tables. An index is an internal table of
values that MS-Access maintains to store the order of records. An index object thus provides efficient access to data. It does not duplicate the data itself. Nordoes it change the sequence in which the data is stored in the table.
Same Key feature of MS-Access:
1. It is a window based application
MS-Access is a window based application and therefore has an interfacesimilar to WINDOWS NI. We can cut, copy, paste data form any window appli-cation to and from access. Since window and access are both products devel-oped by Microsoft Corporation, they work well together. You need to have ei-ther window NT or windows 9x on your machine before you can install MS access.
2. Large data management capacity
MS-Access lets us important from or export to FoxPro, Excel, Oracle andother data formats. Importing creates an access tables: exporting an MS-Accesstable create e file in the format that we are exporting to Linking means that we can use external data without creating an MS-Access table. We can link toFoxPro, Excel and
ASCII data.
3. Importing, Exporting and Linking External Files
MS-Access lets us important form or export to FoxPro, Excel, Oracleand Other data formats. Importing creates an access tables: exporting an MS-
7/28/2019 Librery System
24/88
LIBRARY MANAGEMENT SYSTEM
24
Access table create a file in the format that we are exporting to Linkingmeans that we can use external data without creating an MS-Access table. Wecan link to FoxPro, Excel and ASCII data.
4.
Wizard and BuildersA wizard is a utility that helps us perform the complex tasks by guiding
us through the process. Wizard asks us questions about the content, style andformant of the object that we want to create, such as a report or a data-entryscreen and then generate the object automatically. We need to answer thequestion by selection options or making yes/no decisions. MS-Access containsnearly 100 wizards to design database. Application, tables forms, report andgraph, mailing tables, controls and properties.
5. Context-sensitive help and the answer wizard Link window NT, access provides online, context sensitive helps. MS-
Access also includes a unique answer wizard that answer question which insimple English.
6. Built in function
MS-Access includes small program know as function that perform si m-ple calculation or data formation. Access includes mathematical, financial, date,
time and sting functions. We can use them to create expression for calculationin our forms. Reports and queries.
7. Macros
For those users who do not want to write programs, access provides macros.Macros let us perform common task without user intervention. Macros let usmanipulate data, open forms and automate any task i.e. repetitive and complex.
8. Built In Security
Since MS-Access is a multi-user database, security feature are built intothe DBMS. We can enrapt a database to prevent unauthorized access. Selectivehiding of database objects such as reports, macros and forms is also possible.We can also hide selective fields in a forms of report to protect sensitive. Wecan assign a password for loading MS-Access to that only authorized can use it.
7/28/2019 Librery System
25/88
LIBRARY MANAGEMENT SYSTEM
25
Advantages:
Redundancy of data can be reduced. Inconcentency of data can be avoided. Data can be shared. Data integrity can be maintained. Security restrictions can be implemented.
7/28/2019 Librery System
26/88
LIBRARY MANAGEMENT SYSTEM
26
HARDWARE SPECIFICATION
Computer:-Zenith Machine with P-III 933 MHZ Processor.
RAM: - 64MB
HD Disk: - 20GB
CD Drive: - 52X Creative
Operating System: -Window-XP
FD Disk: -1.44MB
SOFTWARE CONFIGURATION
Operating System :-Window- 7 (ultimate)Tools :-Visual Basic
Language :-Visual Basic
Data Base :-Microsoft Access
7/28/2019 Librery System
27/88
LIBRARY MANAGEMENT SYSTEM
27
4.
7/28/2019 Librery System
28/88
LIBRARY MANAGEMENT SYSTEM
28
Scope of the system:Master:
Student info:User can add record of student of the college, which is stored in the stu-
dent info.
Book INFO:
User can view the information of the entire book available in the libraryand its total quantity and current quantity of the books.
MAGAZINE INFO:
User can also get the information of the magazine. Student can issue themagazine for reference all the above information is maintained in maintainedin magazine info form. STAFF INFO:
User can add record of staff of the college, which is stored in the staff info.
TRANSACTION MENU
ISSUE STUDENT:
Student can issue the book for reference all the above information ismaintained in issue student info form.
ISSUE STAFF:
Staff can issue the book for reference all the above information is main-tained in issue student info form.
DEALER:
Dealers information is also available to the user.
User can get information about the payment detail.
PURCHASE:
The purchase information available in the purchase info form user canperform task of purchasing book and magazine on this form and also can view
7/28/2019 Librery System
29/88
LIBRARY MANAGEMENT SYSTEM
29
information of purchase.
REPORT:
User can get report of book, magazine, dealer, purchase book, issue book.
EXIT:
User can exit from project system.
CONSTRAINTS: The book issued by the student must be returned before deleting the
records and the returned book entry must be deleted otherwise this student can be not registered.
It is very difficult to maintain the project in absent of any one of u.
7/28/2019 Librery System
30/88
LIBRARY MANAGEMENT SYSTEM
30
5.
7/28/2019 Librery System
31/88
LIBRARY MANAGEMENT SYSTEM
31
Requirement analysis
Requirement analysis is the process of gathering informationabout the user requirement and to know about the exiting system.Whether manual or computerized.
The analysis of the system is as follows:
1. Onsite observation:
Working of the manual system was carefully studies and various prob-lems of the working staff were identified.
2. Interview conducted:
Interview were of the staff were conducted to discuss about other de-tails that were not fulfilled during observation.
3. Document observation:
Various document were scrutinized like free Book table, Book issued,Purchase book, etc.
7/28/2019 Librery System
32/88
LIBRARY MANAGEMENT SYSTEM
32
Master Dealer
Purchase Report
Exit
Student
Staff info Ma azine info
Book info
Student info Book infoStaff info
Purchase Magazine
Dealer infoMa azine info
Purchase book
Dealer info
Ma azine info
Dealer payment
7/28/2019 Librery System
33/88
LIBRARY MANAGEMENT SYSTEM
33
TABLE LINKING
Bookinfo
Staff
issueStudent
issue
Staff
issue
Student
issue
Purchasebook
Book id
Book id Book id
Book id
G.R.No. Staff id
7/28/2019 Librery System
34/88
LIBRARY MANAGEMENT SYSTEM
34
6.
7/28/2019 Librery System
35/88
LIBRARY MANAGEMENT SYSTEM
35
DATABASE DESIGN
BOOK ENTRY FORM SERIAL NO FIELD NAME FIELD TYPE SIZE1 PRIMARY KEY ACCESSIONNO NUMBER 202 TITLE TEXT 203 AUTHOR TEXT 204 LANGUAGE TEXT 205 CLASS TEXT 206 DATE OF ENTRY DATE/TIME 20
7 DEALER NAME TEXT 20
STUDENT S ENTRY FORM
SERIAL NO FIELD NAME FIELD TYPE SIZE1 PRIMARY KEY GRNO NUMBER 202 SURNAME TEXT 203 NAME TEXT 20
4 CLASS TEXT 20
BOOK ISSUE
SERIAL NO FIELD NAME FIELD TYPE SIZE1 FORIGN KEY ACCESSIONNO NUMBER 202 FORIGN KEY GRNO NUMBER 203 ISSUEDATE DATE/TIME 15
BOOK RETURN
SEREAL NO FIELD NAME FIELD TYPE SIZE1 FORIGN KEY ACCESSIONNO NUMBER 202 FORIGN KEY GRNO NUMBER 203 RETURNDATE DATE/TIME 20
7/28/2019 Librery System
36/88
7/28/2019 Librery System
37/88
LIBRARY MANAGEMENT SYSTEM
37
FORMS & CODING
MDI FORM
7/28/2019 Librery System
38/88
LIBRARY MANAGEMENT SYSTEM
38
BOOK ENTRY FORM
7/28/2019 Librery System
39/88
LIBRARY MANAGEMENT SYSTEM
39
CODING OF BOOK ENTRY FORM
Dim flag As Integer
Dim str As String
Dim rsmove As New ADODB.Recordset
Private Sub cmddelete_Click()
Dim k As Integer
k = InputBox("Enter accno to be deleted")
cn.Execute "delete from bookeform where accessionno=" & k
MsgBox "record deleted"
End Sub
Private Sub cmdedit_Click()
Dim rs As New ADODB.Recordset
flag = 2
Dim k As Integer
k = InputBox("Enter accno to be edited")
str = "select* from bookeform where accessionno=" & k
rs.Open str, cn, adOpenDynamic, adLockOptimistictxtaccno.Text = rs.Fields("accessionno")
txttitle.Text = rs.Fields("title")
txtauthor.Text = rs.Fields("author")
txtlang.Text = rs.Fields("language")
txtclass.Text = rs.Fields("class")
txtdate.Text = rs.Fields("dateofentry")
7/28/2019 Librery System
40/88
LIBRARY MANAGEMENT SYSTEM
40
txtdealer.Text = rs.Fields("dealername")
txtaccno.Enabled = False
End Sub
Private Sub cmdnext_Click()
rsmove.MoveNext
If rsmove.EOF = True Then
rsmove.MoveLast
End If
txtaccno.Text = rsmove.Fields("accessionno")
txttitle.Text = rsmove.Fields("title")
txtauthor.Text = rsmove.Fields("author")
txtlang.Text = rsmove.Fields("language")
txtclass.Text = rsmove.Fields("class")
txtdate.Text = rsmove.Fields("dateofentry")
txtdealer.Text = rsmove.Fields("dealername")
End Sub
Private Sub cmdprevious_Click()rsmove.MovePrevious
If rsmove.BOF = True Then
rsmove.MoveFirst
End If
txtaccno.Text = rsmove.Fields("accessionno")
txttitle.Text = rsmove.Fields("title")
7/28/2019 Librery System
41/88
LIBRARY MANAGEMENT SYSTEM
41
txtauthor.Text = rsmove.Fields("author")
txtlang.Text = rsmove.Fields("language")
txtclass.Text = rsmove.Fields("class")
txtdate.Text = rsmove.Fields("dateofentry")
txtdealer.Text = rsmove.Fields("dealername")
End Sub
Private Sub cmdsave_Click()
If flag = 1 Then
cn.Execute "insert into bookeform values('" & txtaccno.Text & "','" & txtti-tle.Text & "','" & txtauthor.Text & "','" & txtlang.Text & "','" & txtclass.Text &"','" & txtdate.Text & "','" & txtdealer.Text & "')"
MsgBox "record inserted"
Else
cn.Execute "update bookeform set title='" & txttitle.Text & "',author='" &txtauthor.Text & "',language='" & txtlang.Text & "',classno=" & txtclass.Text & ",dateofentry=" & txtdate.Text & ",'" & txtdealer.Text & "'where acces-sionno=" & txtaccno.Text & ""
MsgBox "record updeted"
End If
Call text_blank
End Sub
Sub text_blank()
txtaccno.Text = ""
txttitle.Text = ""
7/28/2019 Librery System
42/88
LIBRARY MANAGEMENT SYSTEM
42
txtauthor.Text = ""
txtlang.Text = ""
txtclass.Text = ""
txtdate.Text = ""
txtdealer.Text = ""
End Sub
Private Sub Command1_Click()
Dim rs As New ADODB.Recordset
rs.Open "select*from bookeform", cn
Set DataReport1.DataSource = rs
DataReport1.Show
End Sub
Private Sub Form_Load()
flag = 1
Call connect
cn.Open
End Sub
7/28/2019 Librery System
43/88
LIBRARY MANAGEMENT SYSTEM
43
STUDENT ENTRY FORM
7/28/2019 Librery System
44/88
LIBRARY MANAGEMENT SYSTEM
44
CODING OF STUDENT ENTRY FORM
Dim str As String
Dim flag As Integer
Dim rsmove As New ADODB.Recordset
Private Sub cmdadd_Click()
flag = 1
Call text_blank
txtgrno.SetFocus
End Sub
Private Sub cmddelete_Click()
Dim k As Integer
k = InputBox("enter grno to be deleted")
cn.Execute "delete from stud where grno=" & k
MsgBox "record deleted"
End Sub
Private Sub cmdedit_Click()
Dim rs As New ADODB.Recordset
flag = 2
Dim k As Integer
k = InputBox("enter grno to edited")
str = "select * from stud where grno= " & k
rs.Open str, cn, adOpenDynamic, adLockOptimistic
txtgrno.Text = rs.Fields("grno")
txtsurname.Text = rs.Fields("surname")
7/28/2019 Librery System
45/88
LIBRARY MANAGEMENT SYSTEM
45
txtname.Text = rs.Fields("name")
txtclass.Text = rs.Fields("class")
txtgrno.Enabled = False
End Sub
Private Sub cmdfirst_Click()
If rsmove.State = 0 Then
rsmove.Open "select* from stud", cn, adOpenDynamic, adLockOptimistic
End If
If rsmove.BOF True Then
rsmove.MoveFirst
txtgrno.Text = rsmove.Fields("grno")
txtsurname.Text = rsmove.Fields("surname")
txtname.Text = rsmove.Fields("name")
txtclass.Text = rsmove.Fields("class")End If
End Sub
Private Sub cmdlast_Click()
If rsmove.EOF True Then
rsmove.MoveLast
txtgrno.Text = rsmove.Fields("grno")
txtsurname.Text = rsmove.Fields("surname")
txtname.Text = rsmove.Fields("name")
txtclass.Text = rsmove.Fields("class")
End If
End Sub
7/28/2019 Librery System
46/88
LIBRARY MANAGEMENT SYSTEM
46
Private Sub cmdnext_Click()
rsmove.MoveNext
If rsmove.EOF Then
rsmove.MovePrevious
End If
txtgrno.Text = rsmove.Fields("grno")
txtsurname.Text = rsmove.Fields("surname")
txtname.Text = rsmove.Fields("name")
txtclass.Text = ("class")
End Sub
Private Sub cmdprevious_Click()
rsmove.MovePrevious
If rsmove.BOF Thenrsmove.MoveFirst
End If
txtgrno.Text = rsmove.Fields("grno")
txtsurname.Text = rsmove.Fields("surname")
txtname.Text = rsmove.Fields("name")
txtclass.Text = rsmove.Fields("class")
End Sub
Private Sub cmdsave_Click()
If flag = 1 Then
cn.Execute "insert into stud value(" & txtgrno.Text & ",'" & txtsurname.Text & "', '" &txtname.Text & "','" & txtclass.Text & "')"
7/28/2019 Librery System
47/88
LIBRARY MANAGEMENT SYSTEM
47
MsgBox "recored inserted"
Else
cn.Execute "update stud set surname= '" & txtsurname.Text & "',name= '" & txt-
name.Text & "', class= '" & txtclass.Text & "' where grno= " & txtgrno.Text & ""MsgBox "record updated"
End If
End Sub
Private Sub Command1_Click()
Dim rs As New ADODB.Recordset
rs.Open "select * from stud", cn
Set DataReport1.DataMember = rs
DataReport1.Show
End Sub
Private Sub Form_Load()
flag = 1
Call connect
cn.Open
End Sub
Sub text_blank()
txtgrno.Text = " "
txtsurname.Text = " "
txtname.Text = " "
txtclass.Text = " "
End Sub
7/28/2019 Librery System
48/88
LIBRARY MANAGEMENT SYSTEM
48
BOOK ISSUE
7/28/2019 Librery System
49/88
LIBRARY MANAGEMENT SYSTEM
49
CODING OF BO OKISSUE
Dim str As String
Dim flag As Integer
Dim rsmove As New ADODB.Recordset
Private Sub cmddelete_Click()
Dim k As Integer
k = InputBox("Enter accno. to be deleted")
cn.Execute "delete from bookissue where srno=" & k
MsgBox "record deleted"
End Sub
Private Sub cmdedit_Click()
Dim rs As New ADODB.Recordset
flag = 2
Dim k As Integer
k = InputBox("Enter SR NO.to be edited")
str = "select*from bookissue where srno='" & k & "'"
rs.Open str, cn, adOpenDynamic, adLockOptimistic
Text1.Text = rs.Fields("accno")
Text2.Text = rs.Fields("grno")
Text3.Text = rs.Fields("issuedate")
Text1.Enabled = False
End Sub
Private Sub cmdnext_Click()
rsmove.MoveNext
7/28/2019 Librery System
50/88
LIBRARY MANAGEMENT SYSTEM
50
If rsmove.EOF = True Then
rsmove.MoveLast
End If
Text1.Text = rsmove.Fields("accno")
Text2.Text = rsmove.Fields("grno")
Text3.Text = rsmove.Fields("issuedate")
End Sub
Private Sub cmdprevious_Click()
rsmove.MovePrevious
If rsmove.BOF = True Then
rsmove.MoveFirst
End If
Text1.Text = rsmove.Fields("accno")
Text2.Text = rsmove.Fields("grno")Text3.Text = rsmove.Fields("issuedate")
End Sub
Private Sub cmdsave_Click()
If flag = 1 Then
cn.Execute "insert into bookissue values(" & Text1.Text & "," & Text2.Text & "," &Text3.Text & ")"
MsgBox "record insert"
Else
cn.Execute "update bookissue set grno=" & Text2.Text & ",issuedate=" & Text3.Text & " where accno=" & Text1.Text & ""
MsgBox "record update"
End If
7/28/2019 Librery System
51/88
LIBRARY MANAGEMENT SYSTEM
51
End Sub
Sub text_blank()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
End Sub
Private Sub Form_Load()
flag = 1
Call connect
cn.Open
End Sub
7/28/2019 Librery System
52/88
7/28/2019 Librery System
53/88
LIBRARY MANAGEMENT SYSTEM
53
CODING OF BOOK RETURN
Dim str As String
Dim flag As Integer
Dim rsmove As New ADODB.Recordset
Private Sub cmddelete_Click()
Dim k As Integer
k = InputBox("Enter accno to be deleted")
cn.Execute "delete from bookreturn srno=" & k
MsgBox "record deleted"
End Sub
Private Sub cmdedit_Click()
Dim rs As New ADODB.Recordset
flag = 2
Dim k As Integer
k = InputBox("Enter srno to be edited")
str = "select*from bookreturn where srno='" & k & "'"
rs.Open str, cn, adOpenDynamic, adLockOptimistic
txtaccno.Text = rs.Fields("accno")
txtgrno.Text = rs.Fields("grno")
txtreturndate.Text = rs.Fields("returndate")
txtsrno.Enabled = False
End Sub
Sub text_blank()
txtaccno.Text = ""
7/28/2019 Librery System
54/88
LIBRARY MANAGEMENT SYSTEM
54
txtgrno.Text = ""
txtreturndate.Text = ""
End Sub
Private Sub cmdnext_Click()
rsmove.MoveNext
If rsmove.EOF = True Then
rsmove.MoveLast
End If
txtaccno.Text = rsmove.Fields("accno")
txtgrno.Text = rsmove("grno")
txtreturndate.Text = rsmove.Fields("returndate")
End Sub
Private Sub cmdprevious_Click()rsmove.MovePrevious
If rsmove.BOF = True Then
rsmove.MoveFirst
End If
txtaccno.Text = rsmove.Fields("accno")
txtgrno.Text = rsmove("grno")
txtreturndate.Text = rsmove.Fields("returndate")
End Sub
Private Sub cmdsave_Click()
If flag = 1 Then
7/28/2019 Librery System
55/88
LIBRARY MANAGEMENT SYSTEM
55
cn.Execute "insert into bookreturn values(" & txtaccno.Text & "," & txtgrno.Text & ","& txtreturndate.Text & ")"
MsgBox "record insert"
Elsecn.Execute "update bookreturn set grno=" & txtgrno.Text & ",returndate=" & txtre-turndate.Text & "where srno=" & txtaccno.Text & ""
MsgBox "record update"
End If
End Sub
Private Sub Form_Load()
flag = 1
Call connect
cn.Open
End Sub
7/28/2019 Librery System
56/88
LIBRARY MANAGEMENT SYSTEM
56
STAFF INFO
7/28/2019 Librery System
57/88
LIBRARY MANAGEMENT SYSTEM
57
CODING OF STAFF INFO
Dim str As String
Dim flag As Integer
Dim rsmove As New ADODB.Recordset
Private Sub cmdadd_Click()
flag = 1
Call text_blank
txtstaffid.SetFocus
End Sub
Private Sub cmddelete_Click()
Dim k As Integer
k = InputBox("enter staffid to be deleted")
cn.Execute "delete from staffinfo where staffid=" & k
MsgBox "record deleted"
End Sub
Private Sub cmdedit_Click()
Dim rs As New ADODB.Recordset
flag = 2
Dim k As Integer
k = InputBox("enter staffid to be edited")
str = "select* from staffinfo where staffid=" & k
rs.Open str, cn, adOpenDynamic, adLockOptimistic
txtstaffid.Text = rs.Fields("staffid")
txtteachername.Text = rs.Fields("teachername")
txtstream.Text = rs.Fields("stream")
txtadd.Text = rs.Fields("add")
7/28/2019 Librery System
58/88
LIBRARY MANAGEMENT SYSTEM
58
txtsex.Text = rs.Fields("sex")
txtstaffid.Enabled = False
End Sub
Private Sub cmdfirst_Click()
If rsmove.State = 0 Then
rsmove.Open "select* from staffinfo", cn, adOpenDynamic, adLockOptimistic
End If
If rsmove.BOF True Then
rsmove.MoveFirst
txtstaffid.Text = rsmove.Fields("staffid")
txtteachername.Text = rsmove.Fields("teachername")
txtstream.Text = rsmove.Fields("stream")
txtadd.Text = rsmove.Fields("add")
txtsex.Text = rsmove.Fields("sex")End If
End Sub
Private Sub cmdlast_Click()
If rsmove.EOF True Then
rsmove.MoveLast
txtstaffid.Text = rsmove.Fields("staffid")
txtteachername.Text = rsmove.Fields("teachername")
txtstream.Text = rsmove.Fields("stream")
txtadd.Text = rsmove.Fields("add")
txtsex.Text = rsmove.Fields("sex")
End If
End Sub
7/28/2019 Librery System
59/88
LIBRARY MANAGEMENT SYSTEM
59
Private Sub cmdnext_Click()
rsmove.MoveNext
If rsmove.EOF Then
rsmove.MovePrevious
End If
txtstaffid.Text = rsmove.Fields("staffid")
txtteachername.Text = rsmove.Fields("teachername")
txtstream.Text = rsmove.Fields("stream")
txtadd.Text = rsmove.Fields("add")
txtsex.Text = rsmove.Fields("sex")
End Sub
Private Sub cmdprevious_Click()
rsmove.MovePrevious
If rsmove.BOF Then
rsmove.MoveFirst End If
txtstaffid.Text = rsmove.Fields("staffid")
txtteachername.Text = rsmove.Fields("teachername")
txtstream.Text = rsmove.Fields("stream")
txtadd.Text = rsmove.Fields("add")
txtsex.Text = rsmove.Fields("sex")
End Sub
Private Sub cmdsave_Click()
If flag = 1 Then
cn.Execute "insert into staffinfo values(" & txtstaffid.Text & ",'" & txtteachername.Text & "', '" & txtstream.Text & "', '" & txtadd.Text & "', '" & txtsex.Text & "')"
7/28/2019 Librery System
60/88
7/28/2019 Librery System
61/88
LIBRARY MANAGEMENT SYSTEM
61
STAFF ISSUE
7/28/2019 Librery System
62/88
LIBRARY MANAGEMENT SYSTEM
62
COD ING OF STAFF ISSUE
Dim str As String
Dim flag As Integer
Dim rsmove As New ADODB.Recordset
Private Sub cmdadd_Click()
flag = 1
Call text_blank
txtstaffid.SetFocus
End Sub
Private Sub cmddelete_Click()
Dim k As Integer
k = InputBox("enter staffid to be deleted")
cn.Execute "delete from staffissue where staffid=" & k
MsgBox "record deleted"
End Sub
Private Sub cmdedit_Click()
Dim rs As New ADODB.Recordset
flag = 2
Dim k As Integer
k = InputBox("enter staffid to be edited")
str = "select* from staffissue where staffid=" & k
rs.Open str, cn, adOpenDynamic, adLockOptimistic
txtstaffid.Text = rs.Fields("staffid")
txtaccno.Text = rs.Fields("accno")
7/28/2019 Librery System
63/88
LIBRARY MANAGEMENT SYSTEM
63
txtbookname.Text = rs.Fields("bookname")
txtissuedate.Text = rs.Fields("issuedate")
txtstaffid.Enabled = False
End Sub
Private Sub cmdfirst_Click()
If rsmove.State = 0 Then
rsmove.Open "select* from staffissue", cn, adOpenDynamic, adLockOptimistic
End If
If rsmove.BOF True Then
rsmove.MoveFirst
txtstaffid.Text = rsmove.Fields("staffid")
txtaccno.Text = rsmove.Fields("accno")
txtbookname.Text = rsmove.Fields("bookname")
txtissuedate.Text = rsmove.Fields("issuedate")End If
End Sub
Private Sub cmdlast_Click()
If rsmove.EOF True Then
rsmove.MoveLast
txtstaffid.Text = rsmove.Fields("staffid")
txtaccno.Text = rsmove.Fields("accno")
txtbookname.Text = rsmove.Fields("bookname")
txtissuedate.Text = rsmove.Fields("issuedate")
End If
End Sub
7/28/2019 Librery System
64/88
7/28/2019 Librery System
65/88
LIBRARY MANAGEMENT SYSTEM
65
MsgBox "record inserted"
Else
cn.Execute "update staffissue set accessionno=" & txtaccno.Text & " bookname='" &
txtbookname.Text & "' issuedate=" & txtissuedate.Text & " where staffid=" &txtstaffid.Text & ""
MsgBox "record updated"
End If
End Sub
Private Sub Command1_Click()Dim rs As New ADODB.Recordset
rs.Open "select * from staffissue", cn
Set DataReport5.DataSource = rs
DataReport5.Show
End Sub
Private Sub Form_Load()
flag = 1
Call connect
cn.Open
End Sub
Sub text_blak()
txtstaffid.Text = " "
txtaccno.Text = " "
txtbookname.Text = " "
txtissuedate.Text = " "
End Sub
7/28/2019 Librery System
66/88
LIBRARY MANAGEMENT SYSTEM
66
SUBJECT
7/28/2019 Librery System
67/88
LIBRARY MANAGEMENT SYSTEM
67
CODING OF SUBJECT
Dim str As String
Dim flag As Integer
Dim rsmove As New ADODB.Recordset
Private Sub cmdadd_Click()
flag = 1
Call text_blank
txtsubjectid.SetFocusEnd Sub
Private Sub cmddelete_Click()
Dim k As Integer
k = InputBox("enter subjectid to be deleted")
cn.Execute "delete from subject where subjectid=" & k
MsgBox "record deleted"
End Sub
Private Sub cmdedit_Click()
Dim rs As New ADODB.Recordset
flag = 2
Dim k As Integer
k = InputBox("enter subjectid to be edited")
str = "select * from subject where subjectid=" & k
rs.Open str, cn, adOpenDynamic, adLockOptimistic
txtsubjectid.Text = rs.Fields("subjectid")
7/28/2019 Librery System
68/88
LIBRARY MANAGEMENT SYSTEM
68
txtname.Text = rs.Fields("subject")
End Sub
Private Sub cmdnext_Click()
rsmove.MoveNext
If rsmove.EOF Then
End If
txtsubjectid.Text = rsmove.Fields("subjectid")
txtname.Text = rsmove.Fields("subject")End Sub
Private Sub cmdprevious_Click()
rsmove.MovePrevious
If rsmove.BOF Then
rsmove.MoveFirst
End If
txtsubjectid.Text = rsmove.Fields("subjectid")
txtname.Text = rsmove.Fields("subject")
End Sub
Private Sub cmdsave_Click()
If flag = 1 Then
cn.Execute "insert into subject values(" & txtsubjectid.Text & ", ' " & txt-name.Text & " ') "
MsgBox "record inserted"
Else
7/28/2019 Librery System
69/88
LIBRARY MANAGEMENT SYSTEM
69
cn.Execute "update subject set subject=' " & txtname.Text & " ' where sub-jectid=" & txtsubjectid.Text & " "
MsgBox "record update"
End If
End Sub
Private Sub Command1_Click()
Dim rs As New ADODB.Recordset
rs.Open "select * from subject", cn
Set DataReport3.DataSource = rs
DataReport3.Show
End Sub
Private Sub Form_Load()
flag = 1Call connect
cn.Open
End Sub
Sub text_blank()
txtsubjectid.Text = " "
txtname.Text = " "
End Sub
7/28/2019 Librery System
70/88
LIBRARY MANAGEMENT SYSTEM
70
DEALER INFO
7/28/2019 Librery System
71/88
LIBRARY MANAGEMENT SYSTEM
71
CODING OF DEALER INFO
Dim str As String
Dim flag As Integer
Dim rsmove As New ADODB.Recordset
Private Sub cmddelete_Click()
Dim k As Integer
k = InputBox("enter dealercode to be deleted")
cn.Execute "delete from dealerinfo where dealercode=" & k
MsgBox "record deleted"
End Sub
Private Sub cmdedit_Click()
Dim rs As New ADODB.Recordset
flag = 2
Dim k As Integer
k = InputBox("enter dealecode to be edited")
str = "select* from dealerinfo where dealercode=" & k
rs.Open str, cn, adOpenDynamic, adLockOptimistic
txtdealercode.Text = rs.Fields("dealercode")
txtname.Text = rs.Fields("name")
txtadd.Text = rs.Fields("add")
txtphone.Text = rs.Fields("phone")
txtwebsite.Text = rs.Fields("website")
txtdealercode.Enabled = False
End Sub
Private Sub cmdnext_Click()
7/28/2019 Librery System
72/88
LIBRARY MANAGEMENT SYSTEM
72
rsmove.MoveNext
If rsmove.EOF Then
rsmove.MovePrevious
End If
txtdealercode.Text = rsmove.Fields("dealercode")
txtname.Text = rsmove.Fields("name")
txtadd.Text = rsmove.Fields("add")
txtphone.Text = rsmove.Fields("phone")
txtwebsite.Text = rsmove.Fields("website")
End Sub
Private Sub cmdprevious_Click()
rsmove.MovePrevious
If rsmove.BOF Then
rsmove.MoveFirst End If
txtdealercode.Text = rsmove.Fields("dealercode")
txtname.Text = rsmove.Fields("name")
txtadd.Text = rsmove.Fields("add")
txtphone.Text = rsmove.Fields("phone")
txtwebsite.Text = rsmove.Fields("website")
End Sub
Private Sub cmdsave_Click()
If flag = 1 Then
cn.Execute "insert into dealerinfo values(" & txtdealercode.Text & ", '" & txtname.Text & "', '" & txtadd.Text & "', " & txtphone.Text & ", '" & txtwebsite.Text & "')"
MsgBox "record inserted"
7/28/2019 Librery System
73/88
LIBRARY MANAGEMENT SYSTEM
73
Else
cn.Execute "update dealerinfo set name='" & txtname.Text & "' add='" & txtadd.Text &"' website='" & txtwebsite.Text & "' phone=" & txtphone.Text & " where dealercode=" &txtdealercode.Text & ""
MsgBox "record updated"
End If
End Sub
Private Sub Command1_Click()
Dim rs As New ADODB.Recordset rs.Open "select * from dealerinfo", cn
Set DataReport6.DataSource = rs
DataReport6.Show
End Sub
Private Sub Form_Load()
flag = 1
Call connect
cn.Open
End Sub
Sub text_blank()
txtdealercode.Text = " "
txtname.Text = " "
txtadd.Text = " "
txtphone.Text = " "
txtwebsite.Text = " "
End Sub
7/28/2019 Librery System
74/88
LIBRARY MANAGEMENT SYSTEM
74
DEALER PURCHASE
7/28/2019 Librery System
75/88
LIBRARY MANAGEMENT SYSTEM
75
CODING OF DEALER PURCHASE
Dim str As String
Dim flag As Integer
Dim rsmove As New ADODB.Recordset
Private Sub cmddelete_Click()
Dim k As Integer
k = InputBox("Enter dealer code to be deleted")
cn.Execute "delete from dealerp where dealercode=" & k
MsgBox "record deleted"
End Sub
Private Sub cmdedit_Click()
Dim rs As New ADODB.Recordset
flag = 2
Dim k As Integer
k = InputBox("Enter dealer code to be edited")
str = "select*from dealerp where dealercode='" & k & "'"
rs.Open str, cn, adOpenDynamic, adLockOptimistic
Text1.Text = rs.Fields("dealercode")
Text2.Text = rs.Fields("dealername")
Text3.Text = rs.Fields("bookname")
Text4.Text = rs.Fields("price")
Text1.Enabled = False
End Sub
Private Sub cmdnext_Click()
7/28/2019 Librery System
76/88
LIBRARY MANAGEMENT SYSTEM
76
rsmove.MoveNext
If rsmove.EOF = True Then
rsmove.MoveLast
End If
Text1.Text = rsmove.Fields("dealercode")
Text2.Text = rsmove.Fields("dealername")
Text3.Text = rsmove.Fields("bookname")
Text4.Text = rsmove.Fields("price")
End Sub
Private Sub cmdprevious_Click()
rsmove.MovePrevious
If rsmove.BOF = True Then
rsmove.MoveFirst
End If Text1.Text = rsmove.Fields("dealercode")
Text2.Text = rsmove.Fields("dealername")
Text3.Text = rsmove.Fields("bookname")
Text4.Text = rsmove.Fields("price")
End Sub
Private Sub cmdsave_Click()
If flag = 1 Then
cn.Execute "insert into dealerp values(" & Text1.Text & ",'" & Text2.Text & "','" &Text3.Text & "'," & Text4.Text & ")"
MsgBox "record insert"
Else
7/28/2019 Librery System
77/88
LIBRARY MANAGEMENT SYSTEM
77
cn.Execute "update dealerp set dealername='" & Text2.Text & "',bookname='" &Text3.Text & "',price=" & Text4.Text & " where dealercode=" & Text1.Text & ""
MsgBox "record update"
End If End Sub
Sub text_blank()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
End Sub
Private Sub Form_Load()
flag = 1
Call connect
cn.Open
End Sub
7/28/2019 Librery System
78/88
LIBRARY MANAGEMENT SYSTEM
78
DEALER PAYMENT
7/28/2019 Librery System
79/88
LIBRARY MANAGEMENT SYSTEM
79
CODING OF DEALER PAYMENT
Dim str As String
Dim flag As Integer
Dim rsmove As New ADODB.Recordset
Private Sub cmddelete_Click()
Dim k As Integer
k = InputBox("enterdealercode to be deleted")
cn.Execute "delete from dealerpayment where dealercode=" & k
MsgBox "record deleted"
End Sub
Private Sub cmdedit_Click()
Dim rs As New ADODB.Recordset
flag = 2
Dim k As Integer
k = InputBox("enter dealecode to be edited")
str = "select* from dealerpayment where dealercode=" & k
rs.Open str, cn, adOpenDynamic, adLockOptimistic
txtdealercode.Text = rs.Fields("dealercode")
txtdealername.Text = rs.Fields("dealername")
txtdate.Text = rs.Fields("date")
txtpaidamount.Text = rs.Fields("paidamount")
txtdealercode.Enabled = False
End Sub
Private Sub cmdnext_Click()
7/28/2019 Librery System
80/88
LIBRARY MANAGEMENT SYSTEM
80
rsmove.MoveNext
If rsmove.EOF Then
rsmove.MovePrevious
End If
txtdealercode.Text = rsmove.Fields("dealercode")
txtdealername.Text = rsmove.Fields("dealername")
txtdate.Text = rsmove.Fields("date")
txtpaidamount.Text = rsmove.Fields("paidamount")
End Sub
Private Sub cmdprevious_Click()
rsmove.MovePrevious
If rsmove.BOF Then
rsmove.MoveFirst
End If txtdealercode.Text = rsmove.Fields("dealercode")
txtdealername.Text = rsmove.Fields("dealername")
txtdate.Text = rsmove.Fields("date")
txtpaidamount.Text = rsmove.Fields("paidamount")
End Sub
Private Sub cmdsave_Click()
If flag = 1 Then
cn.Execute "insert into dealerpayment values(" & txtdealercode.Text & ", '" &txtdealername.Text & "', " & txtdate.Text & ", " & txtpaidamount.Text & ")"
MsgBox "record inserted"
Else
7/28/2019 Librery System
81/88
LIBRARY MANAGEMENT SYSTEM
81
cn.Execute "update dealerinfo set dealername='" & txtdealername.Text & "'dueamount=" & txtdueamount.Text & " date=" & txtdate.Text & " where dealercode="& txtdealercode.Text & ""
MsgBox "record updated"
End If
End Sub
Private Sub Command1_Click()
Dim rs As New ADODB.Recordset
rs.Open "select * from dealerpayment", cnSet DataReport7.DataSource = rs
DataReport7.Show
End Sub
Private Sub Form_Load()
flag = 1
Call connect
cn.Open
End Sub
Sub text_blank()
txtdealercode.Text = " "
txtname.Text = " "
txtdate.Text = " "
txtpaidamount.Text = " "
End Sub
7/28/2019 Librery System
82/88
LIBRARY MANAGEMENT SYSTEM
82
REPORT
The report represents the project output in the from of hardcopy. It is very important aspect of the software system. It provides the in-formation of the project in very attractive & organized manner. Much re-port can be generated in a project depending upon the type of require-ment.
7/28/2019 Librery System
83/88
LIBRARY MANAGEMENT SYSTEM
83
REPORT OF BOOK ENRTY FORM
accessionno title author Dateofentry 1 BHAGVADGITA MADHUSUDAN 1/1/2012
2 SOFTWARE LEE 1/28/20123 MS-WORD JEK 1/4/2012
4 MS-EXCEL TOM 1/13/2012
5 GHITA KRISHNA 1/5/2012
7/28/2019 Librery System
84/88
LIBRARY MANAGEMENT SYSTEM
84
7.
7/28/2019 Librery System
85/88
LIBRARY MANAGEMENT SYSTEM
85
TESTING
A basic objective of the testing is to find error. Testing is the processof exciting a program with the intent of finding an error. If testing is conductedsuccessfully it will uncover errors in the software. Testing demonstrates that software functions according to the specification and that performance re-quirement appear to the defect. For testing a module prepare a test case that force execution of each path.
The development of the system was done modules wisi.e. First main
modules were identified and than these modules were developed and indepen-dently. The goal here is to test the internal logic of the module. Also at properinternal new developments were represented to the college to take their ap-provals to overcome any misunderstanding. These present in help a lot in re-ducing the overhead of time that otherwise would have resulted.
When the complete system was tested with live data. This techniquehelped in improving overall efficiency of the system. The goal here is to see if the software meets its requirements.
Once source code has been generated, software must be tested touncover as many errors as possible before delivery to the customer. Softwaretesting is very improves the perforce and overall quality of development soft-ware, each time a developer tests the software. There are various levels of software testing namely, unit testing, integration testing, system and ac-ceptance testing. At each level of testing software is tested in more details toimprove software quality in an efficient manner. Various objective and princi-pal of good are stated below:
7/28/2019 Librery System
86/88
LIBRARY MANAGEMENT SYSTEM
86
Testing objective:
Testing is a process of executing a program with the inter of find-ing an error.
A good test case is one that a high profanity of finding an as-yet-undiscovered error.
A successful test is one that uncovers an as-yet-uncovered error.
Testing principal:
All tests should be traceable to customer requirements. Test should be planned long before test begins. Testing should begin in the small & process toward testing in the lar g-er.
Exhaustive testing is not possible.
7/28/2019 Librery System
87/88
LIBRARY MANAGEMENT SYSTEM
87
8.
7/28/2019 Librery System
88/88
LIBRARY MANAGEMENT SYSTEM
BIBLIOGRAPHY
BOOK NAME AUTHOR
Mastering Visual Basic 6.0 Delaney
Learn to Program with VB6 John Smiley
Successful project in Access P.M.Heathcotse
Successful project in VB D.Christopher