You are on page 1of 92

A PROJECT REPORT ON

LIBRAY MANAGEMENT SYSTEM

SUBMITTED BY

Ayush Jain
DEPARTMENT OF MBA (IT) IIIrd Sem

Sikkim Manipal University Learning Center


DEHRADUN
1

2011-2013

ACKNOWLEDGEMENT
We would like to pay sincere gratitude to Learning center of SMU Dehradun who created a healthy and technical Environment for the successful completion of the project. We humbly extends our words of gratitude faculty member s for providing us with their valuable time and help whenever it was required.

And finally ,thanks to all those who inspired us directly or indirectly.

Ayush Jain

PREFACE
Software is a mechanism for automating business,industry ,government,education and medium for transferring new technology, a method of capturing valuable expertise for use by others, a others ,a means of differentiating one companys products from other competitors into corporations collective knowledge.

This software is meant for making the library processes easier and comfortable to the librarians.the software is quite user friendly and self explanatory.the algoriythms used For this purpose are trusted over years and sufficiently Secure and efficient.Some of the features of this software are its handiness and quick response. Project is developed in VISUAL BASIC, which provides a greater flexibility in data management.this project provide better linkage between different modules and by use of menus and buttons,it is more easy to use.It provides an uninterrupted flow of information and control along with adequate security.Record handling is made easy by process of addition,modification,deletionand query of any record.In this project it is tried to make system more convenient and effective in terms of file handling,costand record maintenance.This report provides better way for use to understand.User can understand the project with a very little effort. PROJECT REPORT ON
3

LIBRARY MANAGEMENT SYSTEM AT IAIT SIKKIM MANIPAL UNIVERSITY DEHRADUN SUBMITTED AS THE PRACTICAL WORK OF SOFTWARE ENGINEERING IN IIIrd Sem of MBA

SUBMITTED BY: Ayush Jain

SUBMITTED AT: DEPARTMENT OF MBA IT IAIT DEHRADUN

CONTENTS

CONTENTS
1. SOFTWARE DEVELOPMENT LIFE CYCLE 5

2. SYSTEM ANALYSIS AND DESIGN 3. FEASIBILITY CONSIDERATIONS 4. UTILITY OF THE SOFTWARE 5. REQUIREMENT ANALYSIS AND SPECIFICATION 6. HARDWARE REOUIREMENTS 7. SOFTWARE REQUIREMENTS 8. S.R.S. 9. DESIGNING. 10. DATA FLOW DIAGRAM 11. ER DIAGRAM 12. . 13. QUALITY ASSURANCE 14. TESTING 15. LEVEL OF TESTING 16. IMPLEMENTATION 17. ANNEXURE 18. INPUT FORMS 19. OUTPUT FORMS 20. MENUS 21. FLOW CHART 22. MAINTENANCE 23. COST ESTIMATION 24. CONCLUSION 25. REFERENCES

INTRODUCTION
6

This project on Library Management System aims on making the working of library processes easier and comfortable to the librarians and students.this project will help to issue the books, maintain the book-bank and charging the and other library related issues. This software will also help to get information about a particular book,availability of books etc.
SOFTWARE DEVELOPMENT LIFE CYCLE
A software life cycle is a series of identifiable stages that a software product undergoes during its life time.This project LIBRARY
7

MANAGEMENT usually starts with a feasibility study stage, and then reouirement analysis and specification,design,coding,testing and maintenance.In this model the life cycle model is Iterative Waterfall Model ITERATIVE WATERFALL MODEL The waterfall model divides the life cycle of a software development process into phases as shown:FEASIBILITY FEASIBILITY ST STUDY REQUIREMENT AND SPECIFICATION ANALYSIS AND SPECIFICATION

DESIGN CODING AND TESTING UNIT TESTING

INTEGRATION & SYSTEM TESTING

MAINTENANC E

The classical waterfall model is an idealistic one since it assumes that no development error is ever committed by the engineers during any of the life cycle phases .However in practical development environment,the engineers do commit a large numbers of errors in almost every phase of life cycle.Resource of the many can be :oversight ,wrong assumptions,use of inappropriate technologies
8

,communication gape among the project engineers etc.These defects usually get detected much later in the life cycle.For example a designdefect might go unnoticed till we reach the coding and trusting phase.Once,a dfect is detected,the engineers need to go back to the phase where the defect had occurred and redo some of the work done during that phase and subsequent phase to correct the defect and its effect on the later phases. Therefore in any practical software development work it is not possible to strictly follows the classical waterfall model.Feedback paths are needed in the figure,to allow for the correction of the errors committed during the phase that are detected in later phase . Though errors are inevitable in almost every phase of development it is desirable to detect these errors in the same phase in which they occur.However ,it may not always be possible to detect all errors in the same phase in which they occur.Nevertheless ,the the error should be detected in the design phase itself this problem can be taken care of easily than if the error is identified,say, at the end of the integration and system testing phase.In the later case,it would be necessary not only to rework ,but also to appropriately redo the coding and the system testing,thus incurring higher cost.The principle of detecting errors as close to their points of introduction as possible is known as the phase containment of errors.This is an important software engineering principle.

SYSTEM ANALYSIS AND DESIGN

TRANSFORMATION

DESIGN
SRS DESIGN SPECIFICATION

10

CONCEPTUAL DESIGN

TECHNICAL DESIGN

CUSTOMER

SYSTEM BUILDER

S/W DESIGNING is a highly creative process of s/w development cycle where the designer plan how a s/w system should be produce to make a functional reliable and reasonably easy to understand SRS tell us what a system does and became the input for the design It is a process which help us how a system works SRS justified with the designed specifications The process of s/w design involves the transformation of idea in to detail, implementation, description with the objective of satisfying the s/w requirement in to working system the designer must satisfy both customer as well as system builders A good s/w design need to fulfill . Correct and complete . Understandable . At the right level . Maintainable . Flexiblity

SAD
DEFINITION
11

A system is an orderly grouping of interdependent components linked together to a plan to achieve a specific objective.

The design of system has three basic implications:


1. System must be designed to achieve a predetermined objective. 1. Interrelationship and interdependence must exist among the components.

2. The objective of the organization as a whole should have a higher priority then the objective of its subsystems.

Steps In System Design:


Recognition of Need The problem Feasibility Study Analysis Design Implementation Post Implementation and Maintenance

An Approach to System Development


12

The basic objective of System Analysis and Design is to develop methods and procedures for system development that can scale up for large systems and that can be used for consistently produce high quality systems at low cost and small cycle time.The basic approach is to be separate the development project.The former the controls the quality,scalability ,consistency and productivity.Hence,we need to focus on development process. The basic approach used in System Design is PHASED DEVELOPMENT PROCESS.The development process consists of many phases,each phase ending in a defined output.The phases are performed in the order specified by the processs model. This ensures that the cost of the problem is lower than it would have been by taking the whole problem together . There are many models of development process.But there are some phases that are must to develop the system and rest depends on the model chosen. These activities are shown in figure and dicussed further:

Sources of System Ideas Organization Govt Rules and Regulations

Top Management 13

Consumers

User

Union

System Analysis

Competition

System Development Process

Recoginition of Need Feasibility Study


Analysis

Design Implementation Post Implementation

Maintenance

Recognition of Need The Problem?


The first step in development process is to know the problem that the system is going to solve.The basic for a candidate system is the
14

recognition of the need for improving an information to determine whether an alternative system can solve the problem. In large environments ,where formal procedures are the norm, the task is to prepare a statement specifying the scope and objective of the problem.Then the problem must be reviewed with the user for accuracy and efficiency.At this stage , only rough estimate of the cost analysis and benefits of developing the process may be determined. However an accurate analysis can be made by a feasibility study.

15

FEASIBILITY STUDY

FEASIBILITY STUDY
The feasibility study proposes one or more conceptual solutions to the problem set for the project . the conceptual solutions give an idea of what the new system will look like.They define what will be done on the computer and what will remain manual.They also whaty inputs the systems and outputs will produce.These solutions must be accepted .feasibility study is done
16

so that an ill-conceived system is recognized early in definition phase. During system engineering ,however ,we concentrate our attention on four primary areas of interest:

Economic Feasibility: An evaluation pf development cost


weighed against the ultimate income or benefit derived from the developed system.This new propsed system is economically feasible as it does not involve much financial costs and is very beneficial to the division as this system will save the time required queries ,will generate reports and also make sure that the data is not damaged as in the case of manual system where the data is written on papers.

Technical Feasibility: A study of function, performance and


constraints that may affect the ability to achieve an acceptable system.In technical feasibility , configuration of the system is given more importance than the actual make of hardware.The configuration should give the complete picture about the system requirement.

Operational Feasibility: It is mainly related to human


organizational and political aspects.It is carried out by a small group of people who are familiar with information system techniques,who understand the parts of the business that are relevant to the project and skilled in system analysis and design process.This system feasible since the staff using older manual system is experienced in handling the computerized systems.The staff of the division support the new system,as it will be designied keeping their views in consideration.The changes made in the system are as advised by them and some others according to the needs which will make the system user friendly and easy to use.

17

Legal Feasibility: Legal feasibility is a determination of


whether a proposed project infringes on known acts,statues,as well as any pending might appear sound, on closer investigation it may be found to infringe on several legal areas.

Time Feasibility: Time feasibility is adeterminatin of


whether a proposed project can be implemented fully within a stipulated time frame.If a project takes too much time it is likely to be rejected.

Accordingly, the proposed system LIBRARY MANAGEMENT stands out on these constraints to fulfill the requirements.Economically the proposed system is cost-effective as it makes use of the minimum available resources ( H/W,S/W) AND IS IN TUNE WITH THE LATEST TECHNOLOGY.The system is designed keeping in view further expansion at the software level. As the proposed system is GUI based ,it is user friendly and saves the end-user from the complexities of the internal working.This enables the user to understand the usability of the system in a very short period of tme. During the project development the users were consulted and the developed applications were shown to them and some demo had been given to have the comments of them and to modify our project.The suggestions of the users had been noted the

18

19

ANALYSIS

ANALYSIS
Analysis is the detailed study of the various operations performed by the System and their relationship within and outside of the system.During Analysis data are collected on the available files,decisions points and transaction system. The interview is the commonly used tool in analysis.Training experience and common sense are required for collection of information needed to do the analysis . Once analysis is completed the analyst has a firm understanding of what is to be done.
20

SYSTEM ANALYSIS INITIAL INVESTIGATION:The iitial investigation system has the objective of determinig the validity of the user request for the candidate system and whether a feasibility study should be conducted . The objective of determining the validity of the user request for the candidate system and whether a feasibility study should be conducted .The objective should be understood within the framework of the organization MIS(Management Information System). The basic steps that were followed during the initial investigation :-

Recognition of the Need :


To recognize what the user need from the system.The success of the system depends largely on how accurately a problem is defined,through investigation , and properly carried out through the choice of the solution .User need identification and analysis are concerned with the user needs rather than what he\she wants.

What is the problem? :


What problem the users are facing which has motivated them to ask for the candidate system? What all short coming do the existing system is having? What all changes does the user request?

21

INFORMATION GATHERING

Review Literature Procedures and Forms

On-Site Obeservation
Information Gathering Tools Data 22 Organization

Interviews

Questionaire

On-Site observation Technique


The major objectives of on-site observation is to get as close as possible to the real system being studied.The following questions were answered during the on-site observation technique:What kind of system is it ? What does it do? Who runs the system ? Who are the important people in it ? What is the history of the system ? How did it get to its present stage? What kind of system is it in comparision with other systems in the organization?

Information About the User Staff

23

Another kind of information for the analysis is knowledge about the people who run the Present system.Their job functions and information requirements.The relationships of their jobs to the existing system,and the interpersonal network that holds the users group together . In summary, the major focus is to find out what people the analyst is going to be dealing with and what each person expects to get out of a candidate system before it goes through design and final implementation. The application using staff is the well-qualified employees.They are very good in their respective fields. But less about the use of the application,so the system has to be developed so that it can help them to understand the application better and fater.

INTERVIEWS

24

QUESTIONAIRE

25

USER REQUIREMENTS:
Besides all the jobs that were being done in the existing system ,the user expected certain other features to be added to the package.Since the existing system is manual,reports are not generated but in the proposed computerised system the reports are required at different queries.In the manual system , all return item and returnable not return item were not obtained but in the proposed system, user requires to generates these ranges.

PERFORMANCE REQUIREMENTS :
The following performance characteristics were taken care of while developing the system:

User Friendliness
The system is easy to learn and understand.Anative user can also use the system effectively,without any difficulty.
26

User Satisfaction
The system is such that it stands up to the users expectations.

Respose Time
The response time of all the operations is good .This has been made possible by careful programming.

Error Handling
Response to user errors and undesired situations have been taken care of ensure that the system operates without halting.

Safety and Robustness


The system is able to avoid or tackle disastrous action.In other words,it should be foul proof.The system safetyguards against undesired events without human intervention.

27

HARDWARE-SOFTWARE SELECTION
There are several things to do before selection:
1. Define sysem capabilities that make sense . 2. Specify the magnitude of the problem. 3. Assess the competence of the in-house staff. 4. Consider hardware and software as a package. 5. Develop a time frame for selection. 6. Provide user indoctrinations.

The criteria for software selection are:


1. Reliability

: Gives consistent results. : Functions to standards.


28

2. Functionality

3. Capacity 4. Flexibility 5. Usability 6. Security 7. Performance 8. Serviceability 9. Ownership

: Satisfies volume requirements. : Adapts to changing needs. : Is user friendly? : Maintains integrity and prevents unauthorized access. : Delivers as expected. : Has good documentation and vendor support. : Has right to modify and share use of package.

10. Minimal Costs

: Is affordable for intended Application

OPERATING ENVIRONMENT
Minimum Hardware Requirments
Micoprocessor RAM Hard Disk Monitor FDD : Pentium-3 166MHz : 32 MB : 2.1 GB : SVGA Monitor : 1.44 MB

Software Requirments
Operating System Front-End-Tools Back-End 29 : Windows 98/NT/XP/VISTA : Visual Basic 6.0 : MS Access 97

Structured Analysis
Structured analysis is a set techniques and graphical tools and that allow the analyst to develop a new kind of system specifications that are easily understandable to the user Analyst works primarily with their wits, pencils and paper. Structured analysis considers new goals and structured analysis are:-

Data Flow Digram ER Diagram Data Dictionary Structured English Decision Trees
30

Decision Tables

DFD CONTEXT DIAGRAM

STUDENT

MANAGEMENT

0
Issue request

Formatted report request

LIBRARY MANAGEMENT SYSTEM

31

Items
SUPPLIERS

Context Diagram

USER

FACULTY INFORMATIO N SYSTEM

DATA

BASE

32

LEVEL ONE

Information entered

Data collection process

Information of Storage process

DATA BASE

Informatio n processor

Print report

33

User

Informatio n request

DESIGNING

34

DESIGN
The design process for software system has two levels.At the first Level the focus is on deciding which module is needed for the System ,the specifications of these modules , and how the modules Should be interconnected.That is what is called the system design or Top-level design .It is used in two ways , a verb , it represents the Process of design.Used as noun, it represents the result of the design process , which is the design of the system,the goal of the design process is to produce a model or representation of the system , which can be used later to build that system .The produced model is called the design of the system , in the second level , the internal design of the modules, or how the specifications of the module can be satisfied, is decided .This design level is often called detailed or logic design. A design methodology is a systematic approach to creating a design by applying of a set of techniques and guidelines.Most design methodologies focus on the system design .Most current design methodologies essentially offer a setoff guidelines that can be used as a developer to design a system. These techniques are not formalized and not reduce the design activity to a Sequence of steps thet can be followed by the designer.The input to the design phase is the specifications for the system to be designed.The output of the top level design phase is the architectural design or the system design for the software system to built. The design can be object-oriented or function-oriented .The purpose of the design phase is to specify the components for transformation function. Hence , the basic output of the system design phase.When the function oriented design approach is being followed ,is the definition of all the
35

major data structures of the system, all the modules of the system , and how the modules interact with each other.

The design of the system is essentially a blueprint or a plan for the solution for the system.Here we consider a system to be a set of components with clearly defined behavior that interacts with each services for its environment .A component of a system can be considered a system, a component is a software module.

TRADITIONAL DESIGN APPROACH


The traditional design approach is currently being used by many software development houses. Traditional design consist of two different activities : first a structured analysis of the requirement specification is carrie out where the detailed structure of the program is examined.During structured analysis are transformed into software design. Structured analysis involves preparing a detailed analysis of the different functions to be supported by the system and identification of the dataflow among the different function in addition to identifying the various processes in the system, the dataflow among the processes are also identified.Dataflow diagrams DFDs are used to perform structured analysis and to document the results. Structured design consists of two main activities : Architectural design and Detailed design

System Designing

System design, aims to identify the modules that should be in the system , the specifications of these modules , and how they interact with each other to produce the desired results. In the system design the focus is on identifying the modules .In other words , in system design the attention is on what components are needed . After identifying the modules ,after that the inter action, after that the interaction between those modules is carried out to get the desired output .The out put
36

of this phase is data structure , file format and major modules in the system and specifications are decided. The system design controls the major structural characteristics of the system. The system design has the major impact on the testability and modifiability of a system, and it impacts its efficiency.Much of the design efforts for the designing software are spent creating a system design. DETAILED DESIGNING During Detailed design, the internal logic of each of the modules specified in system design is decided.During this phase further details of the data structures and logarithmic design of each of the modules is specified. The basic goal of detailed design is to specify the logic for the different modules that have been specified during system design.Specifying the logic will require developing an algorithm that will implement the given specifications. The term algorithm is quite general and applicable to a wide variety of areas. There are a number of steps that one has to perform while developing an algorithm.The starting step is the design of algorithms is the statement of the problem.The problem for ahich the algorithm is being derived has to be precisely stated and properly understood by the person responsible for designing the algorithms in the next step the data structure and the program structure is decided to design the algorithm.Once the algoritm is designed , its correctness should be verified.

OBJECT-ORIENTED DESIGNING APPROACH


Object-Oriented design is a relatively new technique.In this technique various objects that occur in the problem domain and the solution domain are first identified and different relationships that exists among these objects are identified .The object structure is further refined to obtain the detailed design.The OOD approach has several benefits such as lower development time and effort and better maintainability of the product.

37

DBMS
DATABASE MANAGEMENT SYSTEM
38

DATABASE MANAGEMENT SYSTEM


Between the data base itself (i.e. where the data is actually stored ) and the user of the system , is a layer of software called DBMS . All requests from the users for access to the database from hardware level details. All database management systems allow users to create containers (i.e. relation and tables) for data storage and management.

CHARACTERISTICS OF DBMS: It represents complex relationships between data. Keeps tight control over data redundancy. Enforces user defined rules to ensure the integrity of table data.
Has a centralized data dictionary for the storage of information pertaining to data and manipulation Ensures that data can be shared across applications. Enforces data access authorization. Has automatic intelligent backup and recovery procedure for data.

Have different interfaces via which users can manipulate data.

39

Database Management System provides user with a method of abstracting their data requirements and removes the problems of specifying the details of the storage and maintenance of data . Database Management System is a complex software system consisting of number of componenets.It provides the user data definition language and data manipulation language.

ADVANTAGES OF DBMS:
In brief advantages of DBMS are as follows: Centralized management and control over the data. Reduction of redundancies. Data can be shared. Data integrity can be maintained. Security Restriction can be applied. Data Inconsistency can be avoided Data Independency can be obtained.

40

DATABASE DESIGN
Whenever you start making a project,which has some data to be stored at the back end .It is necessary to first choose the database you will be using for providing the back end.In this project Library Management we used MS ACCESS as back end for storing the data .The data is to be stored in the form of tables.Below is the description of the various tables that are used in the database.

41

42

PROJECT TESTING

43

PROJECT TESTING
A strategy for software testing must accommodate low-level tests that are necessary to verify that a small source code segment has been correctly implemented as well as high-level tests that validate major system functions against customer requirements. A strategy must provide guidance for the practitioner and a set of milestones for the manager. Because the steps of the test strategy occur at a time when deadline pressure begins to rise, progress must be measurable and problems must surface as earl as possible. Following testing techniques are well known and the same strategy is adopted during this project testing. 1 Unit testing: Unit testing focuses verification effort on the smallest unit of software design- the software component or module. The unit test is white-box oriented. The module interface is tested to ensure that information properly flows into and of the program unit under test the local data structure has been examined to ensure that data stored temporarily maintains its integrity during all steps in an algorithms execution. Boundary conditions are tested to ensure that the module operated properly at boundaries established to limit or restrict processing. All independent paths through the control structure are exercised to ensure that all statements in a module haven executed at least once.
44

Integration testing: Integration testing is a systematic technique for constructing the program structure while at the same time conducting tests to uncover errors associated with interfacing. The objective of this test is to take unit tested components and build a program structure that has been dictated by design.

Validation testing: At the culmination of integration testing, software is completely assembled as a package, interfacing errors have been uncovered and corrected, and a final series of software testsvalidation testing-may begins. Validation can be defined in many ways, but a simple definition is that validation succeeds when software functions in a manner that can be reasonably expected by the customer.

System testing:

System testing is actually a series of

different tests whose primary purpose is to fully exercise the computer-based system. Below we have described the two types of testing which have been taken for this project. (a) Security testing: Any computer-based system that manages sensitive information causes actions that can improperly harm (or benefit) individuals is a target for improper or illegal penetration. Penetration spans a broad range of activities: hackers who attempt to penetrate system for sport; disgruntled employees who attempt to penetrate for revenge; dishonest individuals who attempt to penetrate for illicit personal gain. For security purposes, when anyone who is not authorized user cannot penetrate this system. When programs
45

first load it check for correct username and password. If any fails to act according will be simply ignored by the system. (b)Performance Testing: Performance testing is designed to test the run-time performance of software within the context of an integrated system. Performance testing occurs throughout all steps in the testing process. Even at the unit level, the performance of an individual module may be assessed as white-box tests are conducted. Criteria for Completion of Testing Every time the customer/user executes a compute program, the program is being tested. This sobering fact underlines the importance of other software quality assurance activities. Validation Checks Software testing is one element of broader topic that is often referred to as verification and validation. Verification refers to the set of activities that ensure that software correctly implements a specific function. Validation refers to a different set of activities that ensure that the software that has been built is traceable to customer requirements. Validation checks are useful when we specify the nature of data input. In this project while entering the data to many text box you will find the use of validation checks. When you try to input wrong data, your entry will be automatically abandoned.

46

IMPLEMENTATION

47

Implementation
This phase is primarily concerned with user training,site preparation and file conversion.The candidate system is linked to terminals or remote sites,the telecommunication network and tests of the network and tests of the network along with the system are also included under implementation. System testing checks the readlines and accuracy of the system to accesss update and retieve data from the files .Once the programs become available,test data are read and processed against the test files.If the successful, the program is then run with live data . Otherwise, a diagnostic procedure is used to locate and correct errors in the program.

48

MAINTENANCE

POST IMPLEMENTATION AND


49

MAINTENANCE
After the installation phase is completed and the user stall is adjusted to the challenges created by the candidate system ,evaluation and the maintenance begin.Like any system,there is any aging process that requires periodic maintenance of hardware and software .If the new information is inconsistent with the design specifications,in tune with design specifications.The importance of maintenance is to continue to bring the new system to standards. It has been estimated that maintenance of any software product usually requires much more efforts than the efforts necessary to develop the product. Many study indicates that the relative effort of development of a typical system to its maintenanace effort to roughly in the ratio 40:60. Maintenance involves performing any one or more of the following three kinds of activities:
1. Correcting errors that wwere not discovered during the probuctdeveloping phase.This is called Corrective Maintenance. 2. Improving the Implementation of the system and enhancing the functionality of the system according to the customers requirements. This is called Perfective Maintenance. 3. Porting the software to a new environment,e.g. to a new computer or to a new operating system.This is called Adaptive Maintenance.

50

COST ESTIMATION

51

ANNEXURE
FLOW CHART SCREEN INTERFACE

52

START

ENTER DETAILS & NO.

BOOK ID

ALREADY EXIST

DATA BASE

SAVE DATA IN DATABASE

53

STOP

START

ENTER STUDENT ID

DATA BASE

CHECK STUDENT ID

PLEASE ENTER STUDENT ID

SAVE DATA IN DATA BASE

STOP54

START

ENTER THE STUDENT ID

DATA BASE

SHOW ALL THE BOOKS STORED IN DATA BASE

CHECK BUTTON CLICK RETURN CLICK

QUIT

55

CODING
Private Sub CmdAddBook_Click() If (Text1.Text = "" Or Text2.Text = "" Or Text3.Text = "" Or Text4.Text = "" Or Text5.Text = "" Or Text6.Text = "") Then MsgBox ("Please fill the book details completely."), vbCritical Text1.SetFocus Else Data1.RecordSource = "select * from book_mast" Data1.Refresh Data1.Recordset.AddNew Data1.Recordset.Fields(0) = UCase(Trim(Text1.Text)) Data1.Recordset.Fields(1) = Text2.Text Data1.Recordset.Fields(2) = Text3.Text Data1.Recordset.Fields(3) = Text4.Text Data1.Recordset.Fields(4) = CInt(Text5.Text) Data1.Recordset.Fields(5) = CInt(Text6.Text) Data1.Recordset.Update Data1.Recordset.Close Text1.Text = "" Text2.Text = "" Text3.Text = "" Text4.Text = "" Text5.Text = "" Text6.Text = "" MsgBox ("New book record has been saved sucessfully."), vbInformation End If End Sub Private Sub CmdBackHome_Click() FrmHomePage.Data2.RecordSource = "select * from book_mast" FrmHomePage.Data2.Refresh FrmHomePage.Show Unload Me End Sub
56

Private Sub Form_Activate() Text1.SetFocus End Sub Private Sub Form_Load() Data1.DatabaseName = App.Path & "\" & "Member.mdb" End Sub Private Sub Text1_LostFocus() On Error GoTo errorhandle Data1.RecordSource = "select * from book_mast where book_code='" + Trim(Text1.Text) + "'" Data1.Refresh Do While Not Data1.Recordset.EOF c=c+1 Data1.Recordset.MoveNext Loop If c <> 0 Then MsgBox ("This book Code all ready exist, please enter another code."), vbCritical, "Duplicate" Text1.Text = " " Text1.SetFocus End If Exit Sub errorhandle: MsgBox "Error occurred!Wrong Book Code", vbInformation, "Error" End End Sub Private Sub Command1_Click() If (Text1.Text = "" Or Text2.Text = "" Or Text3.Text = "" Or Text4.Text = "" Or Combo1.Text = "" Or Combo2.Text = "") Then MsgBox ("Please fill the book details completely."), vbCritical Text1.SetFocus Else Data1.RecordSource = "select * from Mem_mast" Data1.Refresh Data1.Recordset.AddNew Data1.Recordset.Fields(0) = UCase(Trim(Text1.Text)) Data1.Recordset.Fields(1) = Text2.Text Data1.Recordset.Fields(2) = Text3.Text Data1.Recordset.Fields(3) = Combo1.Text Data1.Recordset.Fields(4) = Combo2.Text Data1.Recordset.Fields(5) = Text4.Text
57

Data1.Recordset.Update Data1.Recordset.Close Text1.Text = "" Text2.Text = "" Text3.Text = "" Text4.Text = "" End If End Sub Private Sub Command2_Click() FrmHomePage.Data1.RecordSource = "select * from Mem_mast" FrmHomePage.Data1.Refresh FrmHomePage.Show Unload Me End Sub Private Sub Form_Activate() Text1.SetFocus End Sub Private Sub Form_Load() Data1.DatabaseName = App.Path & "\" & "Member.mdb" End Sub Private Sub Text1_LostFocus() On Error GoTo errorhandle Data1.RecordSource = "select * from mem_mast where Member_ID='" + Trim(Text1.Text) + "'" Data1.Refresh Do While Not Data1.Recordset.EOF c=c+1 Data1.Recordset.MoveNext Loop If c <> 0 Then MsgBox "This member code all ready exist, please enter new code.", vbCritical, "Duplicate" Text1.Text = " " Text1.SetFocus End If Exit Sub errorhandle: MsgBox "Error occurred!Wrong Member Code", vbInformation, "Error" End End Sub
58

Dim cs As Integer Dim s As Integer Private Sub CmdCencel_Click() Unload Me FrmHomePage.Enabled = True End Sub Private Sub Cmdok_Click() FrmHomePage.Enabled = False m = Trim(Text1.Text) b = Trim(Text2.Text) If (Text1.Text = "" Or Text2.Text = "") Then MsgBox ("Please enter the member code or book code"), vbInformation, "Enter Code" Text1.SetFocus Else FrmHomePage.Data3.RecordSource = "select * from issue_mast where Member_ID='" + m + "' and Book_Code='" + b + "'" FrmHomePage.Data3.Refresh Do While Not FrmHomePage.Data3.Recordset.EOF c=c+1 FrmHomePage.Data3.Recordset.MoveNext Loop If (c = 0) Then FrmHomePage.Data3.RecordSource = "select * from issue_mast" FrmHomePage.Data3.Refresh MsgBox ("Wrong Member code or book code, Please enter correct code."), vbCritical, "Wrong code" Text1.Text = "" Text2.Text = "" Text1.SetFocus FrmHomePage.Data3.Recordset.Close Else FrmHomePage.Data3.RecordSource = "select * from issue_mast where Member_ID='" + m + "' and Book_Code='" + b + "'" FrmHomePage.Data3.Refresh FrmHomePage.Data3.Recordset.Delete FrmHomePage.Data3.Recordset.Close FrmHomePage.Data3.RecordSource = "select * from issue_mast" FrmHomePage.Data3.Refresh FrmHomePage.Data2.RecordSource = "select * from book_mast where book_code='" + b + "'"
59

FrmHomePage.Data2.Refresh FrmHomePage.Data2.Recordset.Edit s = FrmHomePage.Data2.Recordset.Fields(4) cs = s + 1 FrmHomePage.Data2.Recordset.Fields(4) = cs FrmHomePage.Data2.Recordset.Update FrmHomePage.Data2.Recordset.Close Unload Me FrmHomePage.Enabled = True End If End If End Sub Private Sub Form_Unload(Cancel As Integer) MDIForm1.Enabled = True End Sub Private Sub Text2_KeyPress(KeyAscii As Integer) If (KeyAscii = 13) Then Cmdok_Click End If End SubPrivate Sub CmdFirst_Click() Data1.Recordset.MoveFirst CmdFirst.Enabled = False CmdPrevious.Enabled = False CmdLast.Enabled = True CmdNext.Enabled = True End Sub Private Sub CmdNext_Click() Data1.Recordset.MoveNext s = Data1.Recordset.RecordCount CmdFirst.Enabled = True CmdPrevious.Enabled = True If Data1.Recordset.AbsolutePosition = s - 1 Then CmdNext.Enabled = False CmdLast.Enabled = False End If End Sub Private Sub CmdLast_Click() Data1.Recordset.MoveLast CmdFirst.Enabled = True CmdPrevious.Enabled = True
60

CmdNext.Enabled = False CmdLast.Enabled = False End Sub Private Sub CmdPrevious_Click() If Data1.Recordset.AbsolutePosition = 0 Then CmdFirst.Enabled = False CmdPrevious.Enabled = False Else Data1.Recordset.MovePrevious CmdNext.Enabled = True CmdLast.Enabled = True End If End Sub Private Sub CmdDelete_Click() BookCode = Text1.Text FrmHomePage.Data3.RecordSource = "select * from issue_mast where book_code='" + BookCode + "'" FrmHomePage.Data3.Refresh Do While Not FrmHomePage.Data3.Recordset.EOF c=c+1 FrmHomePage.Data3.Recordset.MoveNext Loop If c <> 0 Then MsgBox "Don't Delete, we have issued this book", vbInformation, "Library" FrmHomePage.Data3.Recordset.Close CmdBackHome.SetFocus Else If MsgBox("Are you sure want to remove all information of this book.", vbYesNo + vbQuestion, "Delete Book") = vbYes Then Data1.Recordset.Delete MsgBox ("All information of this book has been removed."), vbInformation FrmHomePage.Data2.Refresh Data1.Recordset.MoveFirst Else CmdBackHome.SetFocus End If End If End Sub Private Sub CmdBackHome_Click() FrmHomePage.Show
61

Unload Me FrmHomePage.Data2.RecordSource = "select * from book_mast" FrmHomePage.Data2.Refresh End Sub Private Sub Form_Activate() CmdDelete.SetFocus End Sub Private Sub Form_Load() Data1.DatabaseName = App.Path & "\" & "Member.mdb" End Sub Private Sub CmdFirst_Click() Data1.Recordset.MoveFirst CmdFirst.Enabled = False CmdPrevious.Enabled = False CmdLast.Enabled = True CmdNext.Enabled = True End Sub Private Sub CmdNext_Click() Data1.Recordset.MoveNext s = Data1.Recordset.RecordCount CmdFirst.Enabled = True CmdPrevious.Enabled = True If Data1.Recordset.AbsolutePosition = s - 1 Then CmdNext.Enabled = False CmdLast.Enabled = False End If End Sub Private Sub CmdLast_Click() Data1.Recordset.MoveLast CmdFirst.Enabled = True CmdPrevious.Enabled = True CmdNext.Enabled = False CmdLast.Enabled = False End Sub Private Sub CmdPrevious_Click() s = Data1.Recordset.RecordCount If Data1.Recordset.AbsolutePosition = 0 Then CmdFirst.Enabled = False CmdPrevious.Enabled = False
62

Else Data1.Recordset.MovePrevious CmdNext.Enabled = True CmdLast.Enabled = True End If End Sub Private Sub CmdDelete_Click() MemberCode = Text1.Text FrmHomePage.Data3.RecordSource = "select * from issue_mast where Member_ID='" + MemberCode + "'" FrmHomePage.Data3.Refresh Do While Not FrmHomePage.Data3.Recordset.EOF c=c+1 FrmHomePage.Data3.Recordset.MoveNext Loop If c <> 0 Then MsgBox "The member has not returned the book", vbInformation FrmHomePage.Data3.Recordset.Close CmdBackHome.SetFocus Else If MsgBox("Are you sure want to remove all information of this member.", vbYesNo + vbQuestion, "Delete Member") = vbYes Then Data1.Recordset.Delete MsgBox ("All information of this member has been removed"), vbInformation Data1.Recordset.MoveFirst Else CmdBackHome.SetFocus End If End If End Sub Private Sub CmdBackHome_Click() FrmHomePage.Show Unload Me FrmHomePage.Data1.RecordSource = "select * from mem_mast" FrmHomePage.Data1.Refresh End Sub Private Sub Form_Activate() CmdDelete.SetFocus End Sub Private Sub Form_Load()
63

Data1.DatabaseName = App.Path & "\" & "Member.mdb" End Sub Private Sub CmdNewMember_Click() FrmHomePage.Hide FrmAddMember.Show FrmAddMember.Text1.Text = "" FrmAddMember.Text2.Text = "" FrmAddMember.Text3.Text = "" End Sub Private Sub CmdAddBook_Click() FrmHomePage.Hide FrmAddBook.Show FrmAddBook.Text1.Text = "" FrmAddBook.Text2.Text = "" FrmAddBook.Text3.Text = "" FrmAddBook.Text4.Text = "" FrmAddBook.Text5.Text = "" FrmAddBook.Text6.Text = "" End Sub Private Sub CmdBookIssue_Click() FrmHomePage.Hide FrmIssue.Show FrmIssue.Data1.RecordSource = "select * from Issue_mast" FrmIssue.Data1.Refresh FrmIssue.Text1.Text = "" FrmIssue.Text2.Text = "" FrmIssue.Text3.Text = "" FrmIssue.Text5.Text = "" FrmIssue.Text6.Text = "" FrmIssue.Text8.Text = "" FrmIssue.Text1.SetFocus End Sub Private Sub CmdDeleteMember_Click() FrmHomePage.Hide FrmDeleteMem.Show End Sub Private Sub CmdBookReturn_Click() FrmBookReturn.Show MDIForm1.Enabled = False
64

End Sub Private Sub CmdDeleteBook_Click() FrmHomePage.Hide frmDeleteBook.Show End Sub Private Sub CmdExitProgram_Click() End End Sub Private Sub Form_Load() Data1.DatabaseName = App.Path & "\" & "Member.mdb" Data2.DatabaseName = App.Path & "\" & "Member.mdb" Data3.DatabaseName = App.Path & "\" & "Member.mdb" If (CurrentAccType = "Administrator") Then AdministratorAcc Else LimitedAcc End If End Sub Private Sub SSTab1_Click(PreviousTab As Integer) If SSTab1.Tab = 0 Then Data1.RecordSource = "select * from Mem_mast" Data1.Refresh CmdNewMember.Visible = True CmdAddBook.Visible = False CmdBookIssue.Visible = False CmdDeleteMember.Visible = True CmdBookReturn.Visible = False CmdDeleteBook.Visible = False ElseIf SSTab1.Tab = 1 Then Data2.RecordSource = "select * from Book_mast" Data2.Refresh CmdNewMember.Visible = False CmdAddBook.Visible = True CmdBookIssue.Visible = False CmdDeleteMember.Visible = False CmdBookReturn.Visible = False CmdDeleteBook.Visible = True ElseIf SSTab1.Tab = 2 Then Data3.RecordSource = "select * from Issue_mast" Data3.Refresh
65

CmdNewMember.Visible = False CmdAddBook.Visible = False CmdBookIssue.Visible = True CmdDeleteMember.Visible = False CmdBookReturn.Visible = True CmdDeleteBook.Visible = False End If End Sub Private Sub Timer1_Timer() Text1.Text = Time() Text2.Text = Date End Sub Public Sub LimitedAcc() MDIForm1.MemberDetails = False MDIForm1.BookDetails = False MDIForm1.IssueReturn = False MDIForm1.UserAccount = False CmdNewMember.Enabled = False CmdAddBook.Enabled = False CmdBookIssue.Enabled = False CmdDeleteMember.Enabled = False CmdBookReturn.Enabled = False CmdDeleteBook.Enabled = False DBGrid1.AllowUpdate = False DBGrid2.AllowUpdate = False End Sub Public Sub AdministratorAcc() If SSTab1.Tab = 0 Then Data1.RecordSource = "select * from mem_mast" Data1.Refresh CmdNewMember.Visible = True CmdAddBook.Visible = False CmdBookIssue.Visible = False CmdDeleteMember.Visible = True CmdBookReturn.Visible = False CmdDeleteBook.Visible = False End If If SSTab1.Tab = 1 Then Data2.RecordSource = "select * from Book_mast" Data2.Refresh CmdNewMember.Visible = False
66

CmdAddBook.Visible = True CmdBookIssue.Visible = False CmdDeleteMember.Visible = False CmdBookReturn.Visible = False CmdDeleteBook.Visible = True End If If SSTab1.Tab = 2 Then Data3.RecordSource = "select * from Issue_mast" Data3.Refresh CmdNewMember.Visible = False CmdAddBook.Visible = False CmdBookIssue.Visible = True CmdDeleteMember.Visible = False CmdBookReturn.Visible = True CmdDeleteBook.Visible = False End If End SubPrivate Sub CmdBackHome_Click() FrmHomePage.Data3.RecordSource = "select * from issue_mast" FrmHomePage.Data3.Refresh FrmHomePage.Show Unload Me End Sub Private Sub CmdIssueBook_Click() If (Text1.Text = "" Or Text2.Text = "" Or Text3.Text = "" Or Text4.Text = "" Or Text5.Text = "" Or Text6.Text = "") Then MsgBox ("Please fill form completly."), vbCritical Text1.SetFocus Else Data1.RecordSource = "select * from issue_mast" Data1.Refresh Data1.Recordset.AddNew Data1.Recordset.Fields(0) = UCase(Text1.Text) Data1.Recordset.Fields(1) = Text2.Text Data1.Recordset.Fields(2) = Text3.Text Data1.Recordset.Fields(3) = Text4.Text Data1.Recordset.Fields(4) = CDate(Text5.Text) Data1.Recordset.Fields(5) = CDate(Text6.Text) Data1.Recordset.Fields(6) = CInt("1") Data1.Recordset.Update Data1.Recordset.Close FrmHomePage.Data2.RecordSource = "select * from book_mast where Book_Code='" + Text3.Text + "'" FrmHomePage.Data2.Refresh
67

FrmHomePage.Data2.Recordset.Edit Text8.Text = CInt(Text8.Text) - 1 FrmHomePage.Data2.Recordset.Fields(4) = Val(Text8.Text) FrmHomePage.Data2.Recordset.Update FrmHomePage.Data2.Recordset.Close Text1.Text = "" Text2.Text = "" Text3.Text = "" Text4.Text = "" Text5.Text = "" Text6.Text = "" End If End Sub Private Sub Form_Activate() Text1.SetFocus End Sub Private Sub Form_Load() Data1.DatabaseName = App.Path & "\" & "Member.mdb" End Sub Private Sub List1_Click() Text4.Text = List1.Text FrmHomePage.Data2.RecordSource = "select * from book_mast where book_name='" + List1.Text + "'" FrmHomePage.Data2.Refresh Do While Not FrmHomePage.Data2.Recordset.EOF Text3.Text = FrmHomePage.Data2.Recordset.Fields(0) Text8.Text = FrmHomePage.Data2.Recordset.Fields(4) FrmHomePage.Data2.Recordset.MoveNext Loop FrmHomePage.Data2.Recordset.Close If Val(Text8.Text) >= 1 Then CmdIssuebook.SetFocus Else MsgBox ("Please check your stock. All books are issued."), vbInformation, "Check Stock" Text3.Text = "" Text4.Text = "" Text8.Text = "" End If End Sub
68

Private Sub Text2_GotFocus() If Text1.Text = "" Then MsgBox ("Please enter member code first."), vbCritical, "Member Code" Text1.SetFocus Else FrmHomePage.Data1.RecordSource = "select * from Mem_mast where Member_ID='" + Trim(Text1.Text) + "'" FrmHomePage.Data1.Refresh Do While Not FrmHomePage.Data1.Recordset.EOF m=m+1 FrmHomePage.Data1.Recordset.MoveNext Loop FrmHomePage.Data1.Refresh If m = 0 Then MsgBox ("Wrong member code, Please retype member code."), vbCritical, "Worng Code" Text1.Text = "" Text1.SetFocus Else Data1.RecordSource = "select * from issue_mast where Member_ID='" + Trim(Text1.Text) + "'" Data1.Refresh Do While Not Data1.Recordset.EOF c=c+1 Data1.Recordset.MoveNext Loop If c <> 0 Then MsgBox "Please return the book first", vbInformation, "Return Book" Text1.Text = " " Text1.SetFocus Else FrmHomePage.Data1.RecordSource = "select * from Mem_mast where Member_ID='" + Trim(Text1.Text) + "'" FrmHomePage.Data1.Refresh Text2.Text = FrmHomePage.Data1.Recordset.Fields(1) FrmHomePage.Data1.Recordset.Close List1.Clear FrmHomePage.Data2.RecordSource = "select * from book_mast" FrmHomePage.Data2.Refresh Do While Not FrmHomePage.Data2.Recordset.EOF FrmIssue.List1.AddItem (FrmHomePage.Data2.Recordset.Fields(1)) FrmHomePage.Data2.Recordset.MoveNext Loop
69

FrmHomePage.Data2.Recordset.Close End If End If End If End Sub Private Sub Text5_GotFocus() Text5.Text = Date End Sub Private Sub Text6_GotFocus() Text6.Text = Date + 10 End SubPrivate Sub cmdSubmit_Click() Data1.Refresh Do While Not Data1.Recordset.EOF If UCase(txtId.Text) = UCase(Data1.Recordset.Fields(0)) And UCase(txtPass.Text) = UCase(Data1.Recordset.Fields(1)) Then CurrentUser = UCase(txtId.Text) CurrentPassword = UCase(txtPass.Text) CurrentAccType = Data1.Recordset.Fields(2) FrmHomePage.Show Unload Me c=0 Exit Do End If c=c+1 Data1.Recordset.MoveNext Loop If c <> 0 Then MsgBox ("Invalid Userid and Password,please try again. "), vbCritical, "Invalid" txtId.Text = "" txtPass.Text = "" txtId.SetFocus End If End Sub Private Sub Form_Load() Data1.DatabaseName = App.Path & "\" & "Member.mdb" End Sub Private Sub Label10_Click() frmAbout.Show End Sub Private Sub Label3_Click()
70

Frame1.Visible = False Frame2.Visible = True End Sub Private Sub txtPass_KeyPress(KeyAscii As Integer) If (KeyAscii = 13) Then cmdSubmit_Click End If End Sub Private Sub txtPass_LostFocus() cmdSubmit.SetFocus End SubPrivate Sub CmdChangePass_Click() Data1.Refresh Do While Not Data1.Recordset.EOF If (UCase(CurrentUser) = Data1.Recordset.Fields(0)) Then c=0 Exit Do Else c=c+1 Data1.Recordset.MoveNext End If Loop If (c = 0 And UCase(Text2.Text) = CurrentPassword) Then If (UCase(Text3.Text = Text4.Text)) Then Data1.Recordset.Edit Data1.Recordset.Fields(1) = UCase(Text4.Text) Data1.Recordset.Update Data1.Recordset.Fields.Refresh MsgBox ("Your Password has been changed sucessfully."), vbInformation + vbOKOnly MDIForm1.Enabled = True Unload Me Else MsgBox ("Your new password and confirm password do not match."), vbCritical Text2.Text = "" Text3.Text = "" Text4.Text = "" Text2.SetFocus End If Else MsgBox ("Your old password is invalid, please retype old password."), vbCritical
71

Text2.Text = "" Text3.Text = "" Text4.Text = "" Text2.SetFocus End If End Sub Private Sub CmdExit_Click() MDIForm1.Enabled = True Unload Me End Sub Private Sub Form_Activate() Text2.SetFocus End Sub Private Sub Form_Load() Data1.DatabaseName = App.Path & "\" & "Member.mdb" Data1.RecordSource = "Security" Text1.Text = CurrentUser End Sub Private Sub Form_Unload(Cancel As Integer) MDIForm1.Enabled = True End Sub Private Sub Text4_KeyPress(KeyAscii As Integer) If (KeyAscii = 13) Then CmdChangePass_Click End If End SubOption Explicit Private Sub Form_Load() Me.Caption = "Loding Application Please Wait Few Second" End Sub Private Sub Timer1_Timer() FrmLoginForm.Show Unload Me End Sub Private Sub Timer2_Timer() Me.Caption = Me.Caption & "..." End SubDim Atype As String
72

Private Sub cmdAddnew_Click() Frame1.Enabled = True cmdSave.Enabled = True cmdRemoveAccount.Enabled = False Option1.SetFocus End Sub Private Sub CmdCencel_Click() MDIForm1.Enabled = True Unload Me End Sub Private Sub CmdDelete_Click() If MsgBox("Are you sure want to delete this account.", vbYesNo + vbQuestion, "Delete Account") = vbYes Then Data1.Recordset.Delete Data1.Recordset.MoveFirst Text1.Text = Data1.Recordset.Fields(0) Text2.Text = Data1.Recordset.Fields(1) Data1.Refresh Else CmdCencel.SetFocus End If End Sub Private Sub CmdNext_Click() Data1.Recordset.MoveNext If Data1.Recordset.EOF = True Then MsgBox ("This is Last User Account"), vbInformation + vbOKOnly Data1.Recordset.MoveLast End If If Not Data1.Recordset.EOF = True Then Text1.Text = Data1.Recordset.Fields(0) Text2.Text = Data1.Recordset.Fields(1) Text4.Text = Data1.Recordset.Fields(2) End If End Sub Private Sub CmdPrevious_Click() Data1.Recordset.MovePrevious If Data1.Recordset.BOF = True Then MsgBox ("This is First User Account"), vbInformation + vbOKOnly Data1.Recordset.MoveFirst
73

End If If Not Data1.Recordset.BOF = True Then Text1.Text = Data1.Recordset.Fields(0) Text2.Text = Data1.Recordset.Fields(1) Text4.Text = Data1.Recordset.Fields(2) End If End Sub Private Sub cmdRemoveAccount_Click() Text4.Visible = True Frame4.Enabled = True Text1.Text = Data1.Recordset.Fields(0) Text2.Text = Data1.Recordset.Fields(1) Text4.Text = Data1.Recordset.Fields(2) Text3.Visible = False Label3.Caption = "Account Type" cmdAddnew.Enabled = False cmdRemoveAccount.Enabled = False End Sub Private Sub cmdSave_Click() If (Text1.Text = "" Or Text2.Text = "" Or Text3.Text = "") Then MsgBox ("Please fill all entery."), vbOKOnly + vbInformation Text1.Text = "" Text2.Text = "" Text3.Text = "" Text1.SetFocus Else If (Text2.Text <> Text3.Text) Then MsgBox ("Password and confirm password do not match."), vbOKOnly + vbInformation Text2.Text = "" Text3.Text = "" Text1.SetFocus Else Data1.Recordset.AddNew Data1.Recordset.Fields(0) = UCase(Text1.Text) Data1.Recordset.Fields(1) = UCase(Text2.Text) Data1.Recordset.Fields(2) = Atype Data1.Recordset.Update Data1.Refresh MsgBox ("New user account is created sucessfully."), vbOKOnly + vbInformation Data1.Refresh
74

Text1.Text = "" Text2.Text = "" Text3.Text = "" Frame1.Enabled = False Frame2.Enabled = False cmdSave.Enabled = False End If End If End Sub Private Sub Form_Activate() Text4.Visible = False cmdAddnew.SetFocus End Sub Private Sub Form_Load() Data1.DatabaseName = App.Path & "\" & "Member.mdb" Data1.RecordSource = "Security" Frame1.Enabled = False Frame2.Enabled = False Frame4.Enabled = False cmdSave.Enabled = False End Sub Private Sub Form_Unload(Cancel As Integer) MDIForm1.Enabled = True End Sub Private Sub Option1_Click() Atype = "Limited" Frame2.Enabled = True End Sub Private Sub Option2_Click() Atype = "Administrator" Frame2.Enabled = True End Sub Private Sub Text1_LostFocus() Data1.RecordSource = "select * from Security where UserName='" + UCase(Trim(Text1.Text)) + "'" Data1.Refresh Do While Not Data1.Recordset.EOF
75

c=c+1 Data1.Recordset.MoveNext Loop If c <> 0 Then MsgBox "This user name is all ready exist, please enter another name", vbExclamation + vbOKOnly Text1.Text = " " Text1.SetFocus Else Text2.SetFocus End If End Sub Private Sub AboutLMS_Click() frmAbout.Show End Sub Private Sub AddMember_Click() FrmAddMember.Show End Sub Private Sub ChangePassword_Click() FrmPassChange.Show MDIForm1.Enabled = False End Sub Private Sub DeleteBook_Click() frmDeleteBook.Show End Sub Private Sub DeleteMember_Click() FrmDeleteMem.Show End Sub Private Sub IssueBook_Click() FrmIssue.Show End Sub Private Sub NewBook_Click() FrmAddBook.Show End Sub Private Sub ReturnBook_Click() FrmBookReturn.Show MDIForm1.Enabled = False
76

End Sub Private Sub UserAccount_Click() FrmUserAccount.Show MDIForm1.Enabled = False End Sub

SNAP SHOTS

77

78

79

80

81

82

83

84

85

86

87

88

89

CONCLUSION

PRODUCT PERSPECTIVE
90

The has been developed for GEIT library for well equipped library.The system has been developed keeping in mind that the users might not have any specialization in computers and thus one of the major aim was to build a user friendly, easy to use system. An attractive and easy to use graphical user interface makes tasks easier for the users.The system will be used for viewing,manipulating and extraction information.This system has been developed to manage and keep records.

POST AUDIT IMPLEMENTATION


The system Library Management System will be implemented as the organization is in a desperate need of system.The system is aimed to provide its full fledged capabilities to the department and speed up the job.The system is supposed to provide all the support needed to manage the information related .

INSTALLATION DETAILS
The system can be installed as any other software is done by just running the setup. This can be done through the package and deployment tool provided by Visual Basic.The user can just click the setup icon and the system will be loaded and once it is loaded , it is ready to use.

LIMITATIONS
The system has following limitations :
91

This software is limited to the library automation. The coding of the software is complex and prone to errors. This software works out only in the systems in which the front-end and back-end used in the software are installed. If while editing or deleting the records the user confirms the operation and then wants to retrieve the original information then cannot be done. Since the information stored has a very high value for the organization hence in order to prevent accidental data loss the facility to delete more than one record at a time ,has not been provided.Thus whenever he/she wants to delete the records then they have to be deleted one by one.

SUGGESTIONS AND RECOMMENDATIONS


The system has been built purely as per the requirements of the organization.The system can be upgraded and made more powerful by adding extra features and refining the exixting ones. Thus user is suggested to be careful while changes to the existing information, as the information once lost would not be recovered back.

92

You might also like