Employee Management System
Employee Management System
ICDEOL HPU
This project has been designed to solve the problems, which are likely to be faced by the employees of the department at the time of calculating the Salary Details of employees. The project has covered almost all the necessary data, which is required for Employee anagement System. The main purpose of the project is to save time, money and to remove heavy workload of the employees.
Every organi!ation maintains data pertaining to its business, students and employees and other topics. This data needs to be maintained in such a manner that it is easily available and can be presented in desired formats. This data also updated on regular basis. 1 What is Database? Database anagement System as the name suggests is used for managing information and data. D" S consists of a number of database programs, which help a user in entering and managing information or data electronically. Data management involves creating, modifying, deleting and adding data files and using this data to generate reports. Thus, a D" S is a collection of data and program that help you to retrieve this data and perform operations on it. ost database management system has the following facilities#capabilities. i$ ii$ iii$ iv$ definition. ICDEOL HPU 2 %reating of a file, addition to data, deletion of data, modification of data, creation, addition and deletion of entire files. &etrieving data collectively or selectively. The stored data can be sorted ore inde'ed at the user(s discretion or direction. )arious reports cab is produced from the system. These may either be standardi!ed reports or that may be specifically generated according to specific user
The D" S responds to a query by invoking an appropriate sub+program, each of which performs its special function to interpret the query or to located the desired data in the database and present it in the desired order. Thus, the D" S shields database users from the tedious programming they would have to do to organi!e data for storage, or to gain access to it once it was stored. ,s already mentioned, a database consists of a group of related files of different record types and the D" S allows users to access data anywhere in the database without the knowledge of how data are actually organi!ed on the storage device. The role of D" S as an intermediary between the users and the database is very much like the functions of a salesperson in a consumer(s distributor system. , consumer ICDEOL HPU 3
1.1 Steps in Data Access DBMS User Data Manager File Manager Disk Manager
Data Base
ICDEOL HPU
a certain business topic or business application, such as in employee database or a product database.
ICDEOL HPU
COMPONENTS O# D MS Nati&e Use!s Database Appli ati!n A*minist!at'! Pr!grams System Calls Data"ase S %eme App$icati'n P!'g!amme!s ()e!y
DDL C!mpiler
Data"ase Manager
File Manager
ICDEOL HPU
DML P!ec'mpi$e!" *t converts D 4 statement embedded in an application program to normal procedure calls in the host language. The 3recompiler must interact with the query processor in order to generate appropriate code. DDL C'mpi$e!" The DD4 compiler coverts the data definition statements into a set of tables and these tables contain information concerning the database and are in a form that can be used by other components of the D" S. Database Manage!" , database manager is program module that provides the interface between the low level data stored in the database and the application programs and queries submitted to the system. *t is responsible for interfacing with file system. ()e!y P!'cess'!" The database user retrieves data by formulating a query in the data manipulation language provided with the database. The query processor is used to interpret the online users query and convert it into an efficient series of operations in a form capable of being sent to a data manager for e'ecution. The query processor uses the data dictionary to find the structure of the relevant portion of the database and uses the data dictionary to find the structure for the relevant portion of the database and uses this information in modifying the query and preparing an optimal plan to access the database. Database A*minist!at'!" 2ne of the main reasons for having D" S is to have control of both data and programs accessing that data. The person having such control over the system is called the Database ,dministrator 5D" $. The D", administers the three levels of the database and in consultation with the overall user(s community, sets up the definition of the global view or conceptual levels lf the database.
ICDEOL HPU
D MS APPLICATION RE(UIREMENTS D" S includes some poplar packages for 3%(s such as etc. we in developing our project have made use of D" S developed by S ,%%ESS, %lipper, 6o' 3ro S ,%%ESS is a powerful multi+user
amounts of information and automatic repetitive tasks. "y using ,%%ESS one can develop easy+to+use data input forms and create meaningful reports. INTRODUCTION TO MS+ACCESS S+,ccess is powerful multi+user D" S developed by icrosoft %orp. it can be used to store and manipulate large amounts of information and automated repetitive tasks such as maintaining an inventory and generating invoices. "y using ,%%ESS, one can develop easy+to+use input forms. 7ou can process your data and create meaningful reports. Data in ,ccess is organi!ed in the form of table. 8ithin a table, records are arranged according to a common reference value, known as the primary key or the key field. The value in the key field is different for every record and thus helps in uniquely identifying records. ost database applications comprise of a /"ack+end( and a /6ront 9end(. The /"ack+end( part of the application is the one that takes care of storing and retrieving the data. The / 6ront+end( on the other hand, provides a user+interface or a means by which the user can interact with the data in the back+end. The user of a particular application usually only interacts through the front end. The comprises usually of /forms(, which present the data in an attractive and user friendly manner. *t is these that are used to add, modify or generally manipulate data in the tables. What is ACCESS? S+,%%ESS is a &D" S 5&elational Database anagement System$ under 8indow. *t is used to store and manipulate large amounts of data. The data is stored in multiple tables. , relational database utili!es two or more tables, containing data arranged in rows and columns, to cross+reference and define relationships between the data. *n contrast, a flat+file database is limited to a single table.
ICDEOL HPU
ICDEOL HPU
what work it performs. The most important object of manage this data in tables.
holds the data and all related objects such as queries, forms and reports that are used to Mac!'s"+ Those users who don(t want to write a program ,%%ESS provides them with macros. comple'. )i$*+in Sec)!ity System"+ S+,%%ESS being a multi user database, security features are built into the D" S. ,uthori!ation is provided at various levels. 3asswords can be assigned for loading ,%%ESS so that any unauthori!ed user cannot use it. Database can be encrypted and selective hiding of objects such as reports, macros and forms and also possible. C'nte/t+Sensiti&e 3e$p an* t4e ans-e! ,i1a!*s"+ like 8indows 0T, ,ccess provides online, conte't+sensitive help. 8e can access the help facility by invoking the help menu and selecting the topic your want to help on. ,ccess also includes a unique ,nswer 8i!ard that answers question. 8ritten in simple English, e.g. if you want to learn how to crate a database we can invoke the answer wi!ards and type in question as E.ow to create a databaseF. ,ccess then displays a list of topics related to a database creation. acro lets you perform simple tasks without the user(s intervention. acros let you manipulate data, open forms and reports and automate any task that is repetitive or
ICDEOL HPU
10
ICDEOL HPU
11
ICDEOL HPU
12
ICDEOL HPU
13
ICDEOL HPU
14
ICDEOL HPU
15
SYSTEM ANALYSIS &equirement specification is the basis for the well+managed development process, for the developer as well as for the customer. Software requirement specification contains design hints and guidelines. *t is primary concerned with the functional and performance aspects of a software product and emphasis is placed on specification product characteristics without implying how the product will provide these characteristics. *t includes e'ternally observable characteristics of the software product commands and report options, data flow diagram and data dictionary. *t should be detailed enough for 3lanning, Development, Design and *mplementing of software. The input for this phase of project is study of e'isting system and minutes of meeting with the %omputer Department. #ACTS A OUT E;ISTING SYSTEM The already e'isting system of Employee management in offices are manual i.e. all the information regarding the employee detail i.e. Salary of employee, ,ddress of employee, Status of employee, Date of joining is done manually. ,ll the information is written on the files. ,lthough data security is there but the process is time consuming. There is no check against wrong data entry and duplicity. is none. oreover integrity and consistency
ICDEOL HPU
16
LIMITATION O# T3E E;ISTING SYSTEM ;. >. =. L. B. *nefficient System 0ot a user friendly System Security and integrity is very low 0o facility to provide#generate report System is slow and time consuming
PROPOSED SYSTEM EMPLOYEE MAN AGEMENT SYSTEM is user friendly, comprehensive package taking care of many functional areas. This system stores the vital and complete information of employee. 8ith the help of this project: Kser can easily enter the information of new employee Kser can delete the fault employee Kser can easily display the various information about the employee. Kser can easily modify the information of e'isting employee.
ICDEOL HPU
17
PRO5ECT LI#E CYCLE The project life cycle is divided in four phases as follows ;. >. =. L. &equirement Specification 3hase ,nalysis and Design 3hase. %oding and Testing 3hase. *mplementing and aintenance 3hase. SYSTEM DESIGN Design is the central process for process for software development and maintenance. System design is a translation from user+oriented document towards a document towards a document+oriented mere towards programmer or data base personnel. Design process maps the E8hat to doHF of user requirement specification into the E.ow to doHF of user requirement specification into the E.ow to do itHF of design specification. *t goes through logical and physical design. L'gica$ *esign c'&e!s t4e 0'$$'-ing" ;. contents etc. >. =. L. B. @. 3repare input specification. 3repare output specification. 3repare a edit, control and security specification. 3repare a logical design. &eviews benefits, cost and system constraints. &eview of the current system i.e. data flows, file
P4ysica$ *esign c'&e!s t4e 0'$$'-ing" ;. >. Design the physical system. 3lan system implementation.
ICDEOL HPU
18
ICDEOL HPU
19
SYSTEM TESTING
,fter the programs are tested individually, the system as a whole needs to be tested. During testing, the system is used e'periment all to ensure that the software does not fail i.e. runs according to specifications and in the way the users e'pect it to. Special test data is prepared as input for processing and the results are e'amined to locate errors or une'pected results. The persons other than those who wrote the original problem perform testing. Different levels of testing are: DE UGGING AND TESTING Debugging and testing are vital stages of implementation phase. 8ithout these we cannot be sure of the quality of his software. Debugging is the process of isolate and correcting the causes of known errors. Debugging process is applied after coding ad again after coding and again after testing, because during compilation of code system is corrected and during testing logical errors is removed two types of testing is performed on the system. 1. Unit testing *n unit testing each program of each module is testifying using separately for its correctness. They are tested under all relevant condition using dummy data. Knit testing was done to find bugs and improved the efficiency and check constraints of each program module. 6 System Testing"
ICDEOL HPU
20
ICDEOL HPU
21
ICDEOL HPU
22
ICDEOL HPU
23
ICDEOL HPU
24
ICDEOL HPU
25
3roject E'plorer
ICDEOL HPU
26
Data
Detailed Analysis of Tables and Forms Used in the project Tab$es Emp Salary tblKser tblKserlog #'!ms" frmsplash frm4og*n frmmain frm,ddEmp frmDisplay frmDelEmp frmEditEmp frmSearch frmsalary
;. >. =. L. ;. >. =. L. B. @. ?. A. I.
ICDEOL HPU
27
M'*)$e
1. odule;
The details of the above mentioned elements used in the project is describe below TA LES" *n ;. >. =. S+,%%ESS table can be accessed in three ways. %reate Table *n Design )iew %reate Table "y Ksing 8i!ard %reate Table "y Entering Data The tables use in this project is discussed briefly as follows:
1= Emp" This is the main table in the project. This table contains all the basic data details of the employees. <eneral description of all the fields of this table, their data types, and their importance is given below
S.N' ; > = L B
Desc!ipti'n *t is a 3rimary Mey Stores 0ame of Employee Stores %ity of The Employee Telephone 0umber of an Employee Date of "irth of an Employee
6= Sa$a!y" This table keep track of the salary details of each employee and also contains the net pay and gross pay calculated by the project <eneral description of all the fields of this table, their data types, and their importance is given below
#ie$* Name
Data Type
Desc!ipti'n 28
@= tb$Use!" This table contains the user names and their password to get log into the project with supplying the e'act user name and password that are contained in this table <eneral description of all the fields of this table, their data types, and their importance is given below S.N' ; > #ie$* Name Kser0ame 3assword Data Type Te't Te't Desc!ipti'n %ontains 0ame of the Kser %ontains 3assword of Employee. *nput 29
ICDEOL HPU
#ORMS 6orms are used in visual basic to display the control and add functionality to these controls. The various forms and the control used in this project is shows below with their details #'!m sp$as4
ICDEOL HPU
30
T4e Main C'nt!'$s Use* In T4is #'!m a!e 0ame ; 3rogressbar > Timer 3roperties 0ameOpd a'O;DD *ntervalO;DD
ICDEOL HPU
31
#!'m L'gin ,s the value of progress bar is reached to ;DD the frmspalsh form gets unloaded and frmlogin is loaded. The controls used in this form and their properties are given below along with the form .This form as loaded appears like as shown below. ,s this form loaded the combo bo' control use in it access the user name from the table named tblKser. The user only given three chances to supply the correct 3assword, if user fails
ICDEOL HPU
32
T4e Main C'nt!'$s Use* In T4is #'!m a!e Name ; %ombo"o' > Te't"o' = %ommand "utton; L %ommand "utton> P!'pe!ties 0ameOcombo; 0ameOt't3assword 3asswordcharOFQF %aptionOF4og*nF 0ameOcmd2k %aptionO%ancel 0ameOcmd%ancel
S')!ce C'*e"+ Dim rights ,s String Dim pass, user ,s String ICDEOL HPU 33
3rivate Sub cmd%ancelN%lick5$ *f End End *f End Sub sg"o'5R,re you sure you want to e'it nowHR, vb7es0o$ O vb7es Then
3rivate Sub 6ormN4oad5$ odule;.%onn3ass Te't;.)isible O 6alse S%onnection> 4abel=.%aption O R2nly authorised users are allowed to login.R T vb%r4f T R*f you forgot your password, please contact the system administrator immediately.R %all %onnection> 8ith rs; 8hile 0ot .E26 %ombo;.,dd*tem rs;5D$ S sg"o' user
. ove0e't 8end End 8ith Te't;.Te't O = End Sub 3rivate Sub cmd2MN%lick5$ Dim test ,s String 8ith rs; login O %ombo;.Te't . ove6irst 8hile 0ot .E26
ICDEOL HPU
34
ICDEOL HPU
35
End Sub
#'!m main This is the main form of the project. *t contains a menu bar having three menu5Employee,Edit,3ayroll$ The controls used in this form and the their properties are given below along with the form. This form as loaded appears like as shown below.
ICDEOL HPU
36
T4e Main C'nt!'$s Use* In T4is #'!m a!e Name ; %ommand "utton; > %ommand "utton> P!'pe!ties %aptionO4ogoff %aptionOE'it
ICDEOL HPU
37
ICDEOL HPU
38
End Sub 3rivate Sub dispN%lick5$ frmDisplay.Show End Sub 3rivate Sub editN%lick5$ frmEditEmp.Show End Sub 3rivate Sub editempN%lick5$ frmEditEmp.Show End Sub 3rivate Sub empdelN%lick5$ frmDelEmp.Show End Sub 3rivate Sub e'itN%lick5$
%onnection> *f sg"o'5R,re you sure you want to quitHR, vb*nformation P vb7es0o, RE'it ,pplicationR$ sg"o' RThank you for using this application R T login, vb2M2nly, R R T Date T R R T Time O vb7es Then
ICDEOL HPU
39
ICDEOL HPU
40
ICDEOL HPU
41
#'!m A** Emp$'yee This is the form of the project that add general details of the Employee like Employee 0umber,Employee 0ame,Date of birth, Telephone0umber, %ity.The controls used in this form and the their properties are given below along with the form. This form as loaded appears like as shown below. ,s this form loads it shows the details of the first Employee in the database.
ICDEOL HPU
42
T4e Main C'nt!'$s Use* In T4is #'!m a!e Name ; Te't"o'; > Te't"o'> = Te't"o'= L Te't"o'L B Te't"o'B @ %ommand "utton; %aptionO,DD ? %ommand "utton> %aptionOE'it A %ommand "utton= ICDEOL HPU 0ameOcmdSave 43 0ameO cme'it P!'pe!ties 0ameOt't0o 0ameOt't0ame 0ameOt't%ity 0ameOt'tDob 0ameOt't3hone 0ameO cmd,dd
S')!ce C'*e"+ 3rivate Sub cmd,ddN%lick5$ rs.,dd0ew t't0o.Te't O RR t't0ame.Te't O RR t't%ity.Te't O RR t'tDob.Te't O RR t't3hone.Te't O RR S cmd,dd.)isible O 6alse cmdSave.)isible O True End Sub 3rivate Sub cmdE'itN%lick5$ Knload End Sub 3rivate Sub cmdSaveN%lick5$ Dim ' ,s String 2n Error <oTo KpdateErr rs5D$ O t't0o.Te't rs5;$ O t't0ame.Te't rs5>$ O t't%ity.Te't rs5L$ O t'tDob.Te't rs5=$ O t't3hone.Te't e frmmain.Show
ICDEOL HPU
44
End Sub
ICDEOL HPU
45
ICDEOL HPU
46
T4e Main C'nt!'$s Use* In T4is #'!m a!e Name ; Te't"o'; ICDEOL HPU P!'pe!ties 0ameOt't0o 47
S')!ce C'*e
rs. ove6irst t't0o.Te't O rs5D$ t't0ame.Te't O rs5;$ t't%ity.Te't O rs5>$ t'tDob.Te't O rs5L$ t't3hone.Te't O rs5=$
ICDEOL HPU
48
End Sub 3rivate Sub cmd4astN%lick5$ rs. ove4ast t't0o.Te't O rs5D$ t't0ame.Te't O rs5;$ t't%ity.Te't O rs5>$ t'tDob.Te't O rs5L$ t't3hone.Te't O rs5=$
End Sub 3rivate Sub cmd0e'tN%lick5$ rs. ove0e't *f rs.E26 O True Then sg"o' RThis is the last record.R, vbE'clamation, R4ast &ecordR E'it Sub
End *f *f rs."26 O True Then sg"o' RThis is 6irst &ecordR, vb2M%ancel P vb*nformation, R 6irst &ecordR E'it Sub End *f
ICDEOL HPU
49
rs. ove6irst End *f t't0o.Te't O rs5D$ t't0ame.Te't O rs5;$ t't%ity.Te't O rs5>$ t'tDob.Te't O rs5L$ t't3hone.Te't O rs5=$ End Sub
ICDEOL HPU
50
kOD Do Kntil rs.E26 kOkP; rs. ove0e't 4oop sg"o' RThere ,re R T k T R R T REmployees *n The %ompanyR, vb2M%ancel P vb*nformation, RTotal EmployeesR
End Sub 3rivate Sub %ommand;N%lick5$ Knload End Sub 3rivate Sub 6ormN4oad5$ %onnection> t't0o.Te't O rs5D$ t't0ame.Te't O rs5;$ t't%ity.Te't O rs5>$ t'tDob.Te't O rs5L$ t't3hone.Te't O rs5=$ End Sub e frmmain.Show
ICDEOL HPU
51
#'!m De$ete Emp$'yee This form is used to delete the record of the employee from the database. ,s this form loads the combo bo' gets loaded with the employee number this combo bo' is used to select the employee whose details has been deleted. The controls used in this form and the properties are given below along with the form.
T4e Main C'nt!'$s Use* In T4is #'!m a!e Name ; Te't"o'; > Te't"o'> = Te't"o'= L Te't"o'L B Te't"o'B ICDEOL HPU P!'pe!ties 0ameOt't0o 0ameOt't0ame 0ameOt't%ity 0ameOt'tDob 0ameOt't3hone 52
S')!ce C'*e Dim a ,s *nteger Dim b ,s *nteger 3rivate Sub 4oad,ddress5$ %onnection>
%ombo;.%lear Set rs O co;.E'ecute5Rselect Q from R T RempR$ a O rs5ReNnoR$ Do Kntil rs.E26 %ombo;.,dd*tem rs5ReNnameR$ %ombo;.*temData5%ombo;.0ew*nde'$ O rs5ReNnoR$ rs. ove0e't 4oop bOD %ombo;.4ist*nde' O D
ICDEOL HPU
53
3rivate Sub cmdDelN%lick5$ Dim int&esponse ,s *nteger %onnection> str&esponse O RDelete GueryR$ *f str&esponse O @ Then %onnection> sql O Rdelete from emp where eNno O R T a co;.E'ecute sql rs.Kpdate 4oad,ddress End *f End Sub sg"o'5R,re you &eally 8ant To Delete The &ecordHR, vb7es0o,
3rivate Sub cmdE'itN%lick5$ Knload End Sub 3rivate Sub 6ormN4oad5$ %all 4oad,ddress End Sub e frmmain.Show
ICDEOL HPU
54
3rivate Sub %ombo;N%lick5$ *f b O ; Then sql O Rupdate emp set R T ReNno O SR T t't0o.Te't T RS, R T ReNname O SR T t't0ame.Te't T RS, R T Rcity O SR T t't%ity.Te't T RS, R T Rdob O SR T t'tDob.Te't T RS, R T RphoneNnoO SR T t't3hone.Te't T RS where eNno O R T a co;.E'ecute sql End *f a O %ombo;.*temData5%ombo;.4ist*nde'$ Set rs O co;.E'ecute5Rselect Q R T Rfrom emp where eNno O R T a$ t't0o.Te't O rs5D$ t't0ame.Te't O rs5;$ t't%ity.Te't O rs5>$ t'tDob.Te't O rs5L$ t't3hone.Te't O rs5=$ STe'tB.Te't O rs>5R2ptionDR$ *f )al5t't0o.Te't$ O %ombo;.4ist%ount Then sg"o' RThis *s The 4ast &ecordR, vb2M%ancel P vb*nformation, RGuestion SelectionR End *f End Sub
ICDEOL HPU
55
#'!m E*it Emp$'yee This form is used to edit the records of the employees. The controls used in this form and the properties are given below along with the form.
T4e Main C'nt!'$s Use* In T4is #'!m a!e Name ; Te't"o'; > Te't"o'> = Te't"o'= L Te't"o'L B Te't"o'B ICDEOL HPU P!'pe!ties 0ameOt't0o 0ameOt't0ame 0ameOt't%ity 0ameOt'tDob 0ameOt't3hone 56
rs. ove0e't *f rs.E26 O True Then sg"o' RThis is the last record.R, vbE'clamation, R0ote it...R rs. ove4ast End *f t't0o.Te't O rs5D$ t't0ame.Te't O rs5;$ t't%ity.Te't O rs5>$ t'tDob.Te't O rs5L$ t't3hone.Te't O rs5=$ End Sub 3rivate Sub cmdSaveN%lick5$
ICDEOL HPU
57
End Sub 3rivate Sub cmdKpdateN%lick5$ Dim ans ,s String t't0o.Enabled O 6alse t't0ame.4ocked O 6alse t't%ity.4ocked O 6alse t'tDob.4ocked O 6alse t't3hone.4ocked O 6alse ans O sg"o'5RDo you really want to modify the current recordHR, vbE'clamation P
ICDEOL HPU
58
ICDEOL HPU
59
#'!m Sea!c4 This form is used to display the record of a particular employee based upon the employee 0umber supplied, if there is no matching values of employee number in the database then a appropriate message is displayed The controls used in this form and their properties are given below along with the form.
T4e Main C'nt!'$s Use* In T4is #'!m a!e Name ; Te't"o'; > Te't"o'> P!'pe!ties 0ameOt't0o )isibleOfalse 0ameOt't0ame )isibleOfalse ICDEOL HPU 60
ICDEOL HPU
61
End Sub 3rivate Sub 6ormN4oad5$ t't0ame.)isible O 6alse t't%ity.)isible O 6alse t'tDob.)isible O 6alse t't3hone.)isible O 6alse End Sub
ICDEOL HPU
62
#'!m Sa$a!y This form is use to calculate the salary details of the employee this form also display the employee number and employee name whose salary details is to be calculated. 2nce the gross and net pay of the employee calculated, it can be saved to the database. The controls used in this form and the properties are given below along with the form.
T4e Main C'nt!'$s Use* In T4is #'!m a!e Name ; %ommand "utton; > %ommand "utton> P!'pe!ties 0ameOcmd0e't %aptionO 2)E 0ECT 0ameOcmdprev %aptionO 2)E 3&E)*2KS
ICDEOL HPU
63
0ameOcmd<ross %aptionO%alculate <ross 3ay 0ameOcmd0et3ay %aptionO%alculate 0et 3ay 0ameOcmdE'it %aptionOE'it
S')!ce C'*e Dim bp, dp, da, cap, com, hra, gross, loan, gpf, lic, net ,s Double 3rivate Sub cmd0e'tN%lick5$ rsB. ove0e't *f rsB.E26 Then sg"o' R7ou ,re 2n 4ast &ecordR, vb2M%ancel P vb*nformation, R4ast &ecord..R Else t't0o O rsB5D$ t't0ame.Te't O rsB5;$ t't"asic.Te't O rsB5>$ *f t't"asic.Te't O D Then sg"o' RDo 7ou 8ant To Kpdate the Salary DetailsR, vb7es0o P vb*nformation, RSalary:R *f vb7es Then t't"asic.Set6ocus End *f End *f
ICDEOL HPU
64
End Sub
ICDEOL HPU
65
rsB5>$ O t't"asic.Te't rsB5=$ O t'tD3.Te't rsB5L$ O t'tD,.Te't rsB5B$ O t't%omp.Te't rsB5@$ O t't%apital.Te't rsB5?$ O t't.&,.Te't
ICDEOL HPU
66
3rivate Sub %ommandLN%lick5$ Knload End Sub 3rivate Sub %ommandBN%lick5$ rsB. ove3revious *f rsB."26 Then sg"o' R7ou ,re 2n 6irst &ecordR, vb2M%ancel P vb*nformation, R6irst &ecord..R Else t't0o O rsB5D$ t't0ame.Te't O rsB5;$ t't"asic.Te't O rsB5>$ *f t't"asic.Te't O D Then e frmmain.Show
ICDEOL HPU
67
End Sub 3rivate Sub 6ormN4oad5$ %onnection> t't0o.Te't O rsB5D$ t't0ame.Te't O rsB5;$ t't"asic.Te't O rsB5>$ *f t't"asic.Te't O D Then
ICDEOL HPU
68
ICDEOL HPU
69
ICDEOL HPU
70
M'*)$e1 This is very important module, because it initiali!es the database file named employee.mdb, and make a connection with this file and make a connecting string with this help of Data "ase Driver name icrosoft.Jet.24ED".L.D that helps in connecting with the database file. This module also contains a recordset variables that help to open the tables included in the database files
CONCLUSION %onclusion of this project includes problem encountered, benefits of computeri!ed Employee payroll, employee details, T scope of improvement in a project in future. 3roblem encountered: 8hen a person is trying to do something here might e'ist some problem is everywhere, with all of others T us. During the developed of this project * have also faced some problems. The main problem that * faced was that * had to learn basic of )isual "asic language and database as project is based on the visual basic language . These are the main problems which are encountered in the project. "enefits of computeri!ed Employee &ecord Meeping System. "enefits of computeri!ed Employee record keeping and payroll of employees as compared to manual record keeping are s follows: anual record keeping of each employee and salary calculations is time consuming as compared to computeri!ed system. *n manual record keeping manpower is large as compared to the computeri!ed system 4ess storage space is required in computeri!ed system as compared to the manual record keeping system. Scope of modification in a project * future: 4ater on the system can be connected to the on+line so that one can employee of the department can get access to their details S+,%%ESS side by side because this
ICDEOL HPU
71
Boo s astering )isual "asic @ 53aperback$ )isual "asic "lack "ook 53aperback$ SG4 "ible, >nd Edition 53aperback$ Database Development in )isual "asic
ICDEOL HPU
72
ICDEOL HPU
73