You are on page 1of 42

A project report summitted to

Department of computer science & engineering,


Daffodil International University

By
DURGA PRASAD MAHATO
rd
Student of Diploma 3 year K.K. Polytechnic govindpur,Dhanbad.
Session-2007-10
Board Roll no-3213782516
Under the supervision of-
Professor- Mr. Bipin kumar roy (H.O.D. of c.s.e)
Professor- Mr. Sandip Das.
&
Engineer- Mr. Amit Jha.

ACKNOWLEDGEMENT
We are very thankful to our faculty Mr.Bipin
Roy(HOD),Mr.Sandeep Das & Mr.Amit Jha for
giving us opportunity and we are also very thankful to
office members
for giving us the platform to present our view on the topic:
EMPLOYEE MANAGEMENT SYSTEM

Software Requirements Specification

For
EMPLOYEE
MANAGEMENT
SYSTEM
● Introduction:-

Every organization, whether big or small,

has human resource challenges to overcome. every organization has different

employee management needs, therefore we design exclusive employee manage

ment systems that are adapted to your managerial requirements. This is designed

to assist in strategic planning, and will help you ensure that your organization is

equipped with the right level of human resources for your future goals.

Also, for those busy executive who are always on the go, our systems come with

remote access features, which will allow you to manage your workforce anytime,

at all times. These systems will ultimately allow you to better manage resources.

One of the main features in employee management system is time tracking for

employees. Effective time tracking mechanism saves both time and money for the
organization.

● PURPOSE OF THE SYSTEM:-

As we know in any technical educational office, the man

ager of office used to spare lot of time even after the normal office hours either

at home or office for preparation of daily/weekly report and other necessary

record.Now with the help of this system ,the manager has the information on his

finger tips and can easily prepare a record based on their requirements apart

from daily/weekly report. Finally,We can say that this system will not only auto-

mate the process but save the valuable time of the office manager, which can be

well utilized by this institute. This will be an additional advantage and manage-

ment of manpower based on their free time from his normal duty.

● BENEFITS OF THIS SYSTEM:-

● This system wii reduce the complexcity of employee management.

● By using this system we can easily maintain all the records about” ON

EMPLOYEES” or “OFF EMPLOYEES”.

● It will reduce searching time.

● It can be easily handeled by the person who have elementary know

ledge of computer because it provides an user friendly environment.

● It’s hardware and software configuration is not very costly that means
The hardware and and software requirement for this soft

ware/project are not very costly.

● TOOLS, PLATFORM AND LANGUAGES TO BE USED:-

In order to run this project following is the configuration which is

required for smooth running of the software.

Software's Required

Front End Not any special

Back End Microsoft Office Access

Operating System Windows XP or Higher Version

Hardware Required:

Processor Pentium III or above

RAM 64 MB

HDD 10GB

Why Visual Basic 6.0?

Microsoft Visual Basic, the fastest and easiest way to create applications

for Microsoft Windows. Whether you are an experienced professional or brand new to
windows programming. Visual Basic provides you with a complete set of tools to

simplify rapid application development. (RAD Approach)

What is Visual Basic?

The “Visual” part refers to the method used to create the

graphical user interface (GUI). Rather than writing numerous lines of code to describe

the appearance and location of interface elements, you simply add pre-built objects

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 interface.

The “Basic” part refers to the BASIC (Beginners All-Purpose


Symbolic Instruction Code) language, a language used by more programmers than any
other language in the history of computing. Visual Basic has evolved from the original
BASIC language and now contains several hundreds statements, functions, and key
words. Many of which are related directly to the windows GUI. Beginners can create use
ful application by learning just a few of the keywords, yet the language allows profess
sionals to accomplish anything that can be accomplished using any other Windows pro
gramming language.

The Visual Basic Programming language is not unique to Visual Basic. The
Visual Basic programming system, Applications Edition includes in Microsoft Excel, Mi
crosoft Access, and many other Windows application use the same language. The Visual
Basic Scripting Edition (VBScript) is a widely used scripting language and a subset o f
the Visual Basic language. The investment you make in learning Visual Basic will carry
over to these other areas.Whether your goal is to create a small utility for yourself or
your work group, a large enterprise-wide system, or even distributed applications
spanning the globe via the internet, Visual Basic has tools you need.
● Data access features allow you to create databases, front-end application, and

scalable server-side components for most popular database formats, including

Microsoft SQL server and other enterprise level databases.


● ActiveX technologies allow you to the functionality provided by other

applications, such as Microsoft Word processor, Microsoft Excel spreadsheet

and other windows applications. You can even automate applications and

objects created using the Professional or enterprise of Visual Basic.

● Internet capabilities make it easy to provide access to documents and

application or to create Internet server applications.

● Your finished application is a true, .exe file that uses a Visual Virtual Machine

that you can freely distribute.

● VISUAL BASIC EDITIONS:-

Visual Basic is available in three versions, each geared to meet a specific

set of development requirements.

● The Visual Basic Learning edition allows programmers to easily create powerful
applications for Microsoft Windows and Windows NT. It includes all intrinsic

controls, plus grid, tab, data-bound controls.

● The professional’s edition provides computer professionals with a full-featured

set of tools for developing solutions for others. It includes all the features of the

Learning edition, plus additions Designer, Integrated Visual Databases Tools and

data Environment, Active Data Object and Dynamic HTML Pages Designer.

● The Enterprise edition allows professionals to create robust distributed

applications in a team setting. It includes all the features of the professional

edition, plus back office tools such as SQL Server, Microsoft Transaction Server,

Internet Information System, Visual SourceSafe and more.

● MS ACCESS

Microsoft Office Access, previously known as Microsoft Access, is a pseudo

relational database management system from Microsoft that combines the

relational Microsoft Jet Database Engine with a graphical user interface and

software development tools. It is a member of the Microsoft Office suite of

applications, included in the Professional and higher editions or sold separately.


Microsoft specified the minimum hardware requirements for Access v2.0:

Microsoft Windows v3.1 with 4 MB of RAM required, 6 MB RAM

recommended; 8 MB of available hard disk space required, 14 MB hard disk

space recommended. Users can create tables, queries, forms and reports, and

connect them together with macros. Advanced users can use VBA to write rich

solutions with advanced data manipulation and user control. The original

concept of Access was for end users to be able to “access” data from any source.

Other uses include: the import and export of data to many formats including

Excel, Outlook, ASCII, dBase, Paradox, FoxPro, SQL Server, Oracle, ODBC,

etc. It also has the ability to link to data in its existing location and use it for

viewing, querying, editing, and reporting. This allows the existing data to change

and the Access platform to always use the latest data. It can perform

heterogeneous joins between data sets stored across different platforms. Access is

often used by people downloading data from enterprise level databases for

manipulation, analysis, and reporting locally.

All database tables, queries, forms, reports, macros, and modules are stored in

the Access Jet database as a single file.

To scale Access applications to enterprise or web solutions, a recommended

technique is to migrate to Microsoft SQL Server or equivalent server database.

A client–server design significantly reduces maintenance and increases security,

availability, stability, and transaction logging.


● FEASIBILITY STUDY:-

The feasibility study of this project has revealed the project as follows: -

ECONOMIC FEASIBILITY

The project has shown the economic feasibility by the study of the fact

that by using this software the increased number of the consumers can be given

service effectively and efficiently and can save a lot time and saving time means saving

money. The cost and benefit analysis has shown that cost that have incurred in

developing the project is less than the benefits that the project is going to provide

once it is developed, so this project has passed the feasibility test.

BEHAVIOURAL FEASIBILITY
The working staff members are also interested in this project, as it will

help them to do work with ease and efficiently without complexity, so they supported

the development of this project with full enthusiasm. This shows the behavioral

feasibility of the project.

TECHNICAL FEASIBILITY

Technical feasibility centers on the existing computer system (Hardware,

Software etc) and to what extent it supports the existing system. As the existing

system computer system is viable so there is no matter of technical feasibility that is

the system is technically feasible.

TIME FEASIBILITY

It is the determination of whether a proposed project can be

implemented fully within stipulated time frame. The project was decided to be done in

three months and was thought to be feasible enough.


● REQUIREMENT ANALYSIS:-

The aim of requirement analysis is to understand the exact requirement

of the customer and to document and to document them properly. Requirement

analysis involves obtaining a clear and thorough understanding of the product to be

developing with a view to remove all ambiguities and inconsistencies from the initial

customer perception the problem.

The question arising during the requirement analysis phases is: -

● What is the problem?

● Why is it important to solve the problem?

● What are the possible solutions to the problem?

● What exactly are the data inputs and data outputs by system?

● What are the likely the complex cities that might arise while solving the

problem?
During requirement analysis there exist mainly two activities.

1. Requirement gathering

2. Analysis of gathered requirements.

Requirement gathering: - This involves interviewing the end user and customers to

collect all possible information regarding the bank.

Analysis of gathered requirement: - The main purchase of analysis is to collect

information to clearly understand the exact requirement of customer and resolve

anomalies, conflicts and inconsistencies in the gathered requirement.


SOFTWARE LIFE CYCLE ADOPTED:-

In order to develop the project “Employee Management” we have

adopted the iterative enhancement model. This model removes the shortcoming of

waterfall model. Since many facts of this system are already known. It is not a new

concept and hence no research is required. A working version can be easily created and

hence the system can start working. Rest of the functionalities can be implemented in

the next iteration and can be delivered later. As the requirement analysis is also not

required. It not being a new technology risk involved is also less. So one need not

perform detailed risk analysis. If redevelopment staff is less than development can be

started with less number of people and in next increments others can be involved. As

this model combines the advantage of waterfall model and prototyping, clients are

always aware of the product being delivered and can always suggest changes and

enhancements and can get them implemented. As less amount of customer

communication is required one need not apply spiral model in which all types of

analysis is done in detail. As the deadline is affordable one need not to for Rapid

Application Development model. Iterative enhancement model is useful when less

manpower is available for software development and the release deadlines are specified.

It is best suited for in house product development, where it is ensured that the user has

something to start with. The complete product is divided into releases and the developer

delivers the product release by release.


Requirement Analysis
Coding
Testing
Maintenance
Design

Delivery of first increment

Thus increments are developed till final product is not obtained.

● FLOW Diagram of the proposed software.


VIEW
DAILY ATT ENTRY PAGE
VIEW
DAILY ATTENDENCE
EXIT
ENDENCE

HOME PAGE

ENTRY PAGE

STORAGE i.e.
DATABASE
EXIT

● FLOW Diagram for entrying a new employee:-

NEW ENTRY PAGE


BACK
SUBMIT

NEW

DATABASE

● NEW ENTRY PAGE:-In this page we enter all the records or informations about
a employee.

● SUBMIT:- This is used to save the record in the database.


● BACK:-This is used to come back from new entry page i.e. in the HOME PAGE.

● NEW:-This is used to blank the entry form fields for entering new records for NEXT
employee.

VIEW
● FLOW Diagram for viewing the records:-

“OFF” EMPLOYEES
“ON” EMPLOYEES

RECORDS OF ALL WORKING RECORDS OF


ALL LEFT. EMPLOYEES
EMPLOYEES

● FLOW Diagram for viewing the records of “ON” employees:-


“on”employees
records

Attendance details
Salary details
Employee permanent details
Search fram
(for searching about a particular emp.)

● FLOW Diagram for viewing the records of “OFF” employees:-


“OFF”employees
records

Attendance details
Employee permanent details
Search fram
(for searching about a particular emp. Who has left the organization)

Salary details
● FLOW Diagram for entrying daily attendance:-
New

Back

Submit

Attendance page
Attendance button
b
Home page

Database

DATA BASE DESIGN

Table1
Attendence table :-
● ABOUT PAGES USED IN THE PROJECT:-

● HOME PAGE:- It is the front page where all the buttons are present,They are-
● Record entry
● View
● Daily attendance
● Exit

● SELECTION PAGE:-It is the page where we have to select,Whom record


we want to view ON emp record or OFF emp record.

● RECORD PAGE:- It is the page where records of all the employees are
present.if it is ON employee record page it contains record about ON
employees and if it is OFF employee page it contains record about OFF
employees.

● SEARCH FRAME:- It is the frame where we have to enter emp name and
empid for get more information about a particular employee. After entrying
name and id, we can know-

● Employee permanent record


● Employee salary details
● Employee attendance record

● DAILY ATTENDENCE PAGE:- It is the page by which we enter daily attendance


of all working employees.

● EMPLOYEE PERMANENT RECORD PAGE:- It is the page where all the


permanent records about an employee is present.such as- Emp name
,Qualification,Experience etc.

● EMPLOYEE SALARY DETAILS:- I t is the page where salary details about an


particular employee is present. Such as salary scale,Basic,H.R.A.,D.A etc.

● EMPLOYEE ATTENDENCE RECORD:- It is the page where attendence record


of a particular employee is present. Such as- no. of attendance in current
month.
● TESTING

This phase determine the error in the project. If there is any error

then it must be removed before delivery of the project. For determining errors

various types of test action are performed.

1. Unit Testing: -

Unit testing focuses verification effort on the smallest unit of software

design – the module. Using the detail design description as a guide, important

control paths are tested to uncover errors within the boundary of the module. The

relative complexity of tests and the errors detected as a result is limited by the

constrained scope established for unit testing. The unit test is always white box

oriented, and the step can be conducted in parallel for multiple modules.

Unit testing is normally considered an adjunct to the coding step.

After source level code has been developed, reviewed, and verified for correct

syntax, unit test case design begins. A review of design information provides

guidance for establishing test cases that are likely to uncover errors. Each test case

should be coupled with a asset of expected results.

Because a module is not a stand-alone program, driver and/or stub

software must be developed for each unit test. In most applications a driver is

nothing more than a main program that accepts test case data passes such data to
the module(to be tested), and prints the relevant results. Stubs serve to replace

modules that are subordinate (called by) the module to be tested. Stub or “dummy

subprogram” users the subordinate module’s interface, may do minimal data

manipulation, prints verification of entry and returns.

Drivers and stubs represent overhead. That is, both are software that

must be written but tat is not delivered with the final software product. If drivers

and stubs are kept simple, actual overhead is relatively low. Unfortunately, many

modules cannot be adequately unit tested with “simple” overhead software. In such

cases, complete testing can be postponed until the integration test step.

Unit testing is simplified when a module with high cohesion is

designed. When only one function is addressed by a module, the number of test cases

is reduced and errors can be more easily predicted and uncovered.

2. System Testing: -

Software is only one element of a larger computer based system.

Ultimately, software is incorporated with other system elements (e.g. new hardware,

information), and a series of system integration and validation tests are conducted.

Steps taken during software design and testing can greatly improve the probability

of successful software integration in the larger system.

A classics system testing problem is “finger pointing”. This occurs

when a defect is uncovered, and one system element developer blames another for

the problem. Rather that including in such nonsense, the software engineer should

anticipate potential interfacing problems and (1) design error handling paths that

test all information coming from other elements of the system.(2) conduct a series of
tests that simulate bad data or other potential errors at the software interface; (3)

record the results or tests to use as “evidence” if finger pointing does occur (4)

participate in the planning and design of system test to ensure that software is

adequately tested.

There are many types of system tests, which are worthwhile for

software-based systems, as detailed hereunder:

Recovery testing is a system test that forces the software to fail in a

variety of ways that verifies that recovery is properly performed.

Security testing attempts to verify that protection mechanisms built

into a system will protect it from improper penetration

Stress tests are designed to confront programs with abnormal

situations.

Performance testing is designed to test the run-time performance of

software within the context of an integrated system.

3. Integration Testing: -

A neophyte in the software world might ask a seemingly legitimate

question once all modules have been unit-tested. If they all work individually, why

do you doubt that they’ll work when we put tem together? The problem, of course,

is putting them together – interfacing. Date can be lost across an interface; one

module can have an inadvertent, adverse effect on anther, sub functions, when

combined, may not produce the desired major function; individually acceptable

imprecision may be magnified to unacceptable levels; global data structures can

present problems. Sadly, the list goes on and on.


Integration testing is a systematic technique for construction the

program structure while at the same time conduction test to uncover errors

associated with interfacing. The objective is to take unit tested modules and build a

program structure that has been dictated by design. There is often a tendency to

attempt non-incremental integration; that is, to construct the program using a big

bang approach. All modules are combined in advance. The entire program is tested

as a whole. And chaos usually results! A set of errors are encountered. Correction is

difficult because the isolation of causes is complicated by the vast expanse of the

entire program. Once these errors are corrected, new ones appear and the process

continues in a seemingly endless loop.

Incremental integration is the antithesis of the “big bang” approach.

The program is constructed and tested is small segments, where errors are easier to

isolate and correct; interfaces are more likely to be tested completely, and a

systematic test approach may be applied.

Integration testing can be categorized into two types, namely

top-down integration or bottom-up integration. Top-down integration is an

incremental approach to the construction of program structure. Modules are

integrated by moving downward through the control hierarchy, beginning with the

main control module. Modules subordinate to the main control module are

incorporated into the structure in either a depth-first or breadth-first manner. The

bottom-up integration testing as its name implies, begins construction and testing

with atomic modules. Because modules are integrated for the bottom up processing

required for modules subordinate to given level is always available and the need for

stubs is eliminated.
The selection of an integration strategy depends upon software

characteristic and, sometime project schedule. In general, a combined approach that

uses the top-down strategy for the upper levels of the program structure, coupled

with a bottom-up strategy for the subordinate levels, may be the best compromise.

● SCOPE OF FUTURE APPLICATION

This software can be able to support internetworking with the little

advancement in the coding. Then any user can upload the date to the school website

and can view the data and all reports online from any part of the world. This can

also be connected strongly with the internet, even if management wants, parents can

view their child’s record through an attractive and graphic rich website. They can

also make their child’s fee online.

This software can also be equipped with strong backup facilities to

protect the important data and hence preventing any sort of problem which might

occur due to lost of data.

● SNAPSHOT WITH CODE:-

Form1:-

Private Sub Command1_Click()

Form2.Show
Unload Me

End Sub

Private Sub Picture1_Click()

End Sub

Private Sub Command2_Click()

Form4.Show

Unload Me

End Sub

Private Sub Command3_Click()

Form3.Show

Unload Me

End Sub

Private Sub Command4_Click()

Form1.Hide

End Sub
FORM2:-

Dim empid As String


Private Sub Image1_Click()
End Sub

Private Sub Combo2_Change()


Combo2.Text = Combo2.List(Combo2.ListIndex)
End Sub

Private Sub Command1_Click()


Form1.Show
Unload Me
End Sub

Private Sub Command2_Click()


Dim rs As New Recordset
rs.Open "insert into table1 values('" & Text1.Text & "',
'" & Text2.Text & "',
'" & Text3.Text& "',
'" & Text10.Text & "',
’" & Text4.Text & "',
'" & Text5.Text & "',
'" & Text31.Text & "',
'" & Combo4.Text & "',
'" & DTPicker2.Value & "',
'" & Combo1.Text & "',
'" & Combo3.Text & "',
'" & Combo2.Text & "',
'" & Text7.Text & "',
'" & Text11.Text & "',
'" & Text15.Text & "',
'" & Text19.Text & "',
'" & Text23.Text & "',
'" & Text12.Text & "',
'" & Text16.Text & "',
'" & Text20.Text & "',
'" & Text24.Text & "',
'" & Text13.Text & "',
'" & Text17.Text & "',
'" & Text21.Text & "',
'" & Text25.Text & "',
'" & Text14.Text & "',
'" & Text18.Text & "',
'" & Text22.Text & "',
'" & Text26.Text & "',
'" & Text27.Text & "',
'" & Text20.Text & "',
'" & Text29.Text & "',
'" & Text30.Text & "')", con
MsgBox ("Record Saved...")
EmpCode
End Sub

Private Sub Command3_Click()


Text1.Text = " "
Text3.Text = " "
Text4.Text = " "
Text10.Text = " "
Text4.Text = " "
Text5.Text = " "
Combo1.Text = " "
Combo3.Text = " "
Combo2.Text = " "
Text11.Text = " "
Text15.Text = " "
Text19.Text = " "
Text23.Text = " "
Text12.Text = " "
Text16.Text = " "
Text20.Text = " "
Text24.Text = " "
Text13.Text = " "
Text17.Text = " "
Text21.Text = " "
Text25.Text = " "
Text14.Text = " "
Text18.Text = " "
Text22.Text = " "
Text26.Text = " "
Text27.Text = " "
Text20.Text = " "
Text29.Text = " "
Text30.Text = " "
Text7.Text = " "
Text31.Text = " "
Text28.Text = " "
End Sub

Private Sub Form_Load()


EmpCode
End Sub

Private Sub EmpCode()


Dim rsCode As New ADODB.Recordset
rsCode.Open "Select Count(EmpID) as Empid from table1", con, adOpenDynamic,
adLockPessimistic, adCmdText
empid = "KKP/" & rsCode(0) + 1001
Text2.Text = empid
rsCode.Close
End Sub

FORM3:-
Private Sub Command1_Click()
Dim rs As New Recordset
rs.Open "insert into attendence values('" & DTPicker1.Value & "',
'" & Text1.Text & "',
'" & Text2.Text & "',
'" & Text3.Text & "',
'" & Combo2.Text & "',
'" & Combo3.Text & "',
'" & Combo1.Text & "')", con
End Sub

Private Sub Command2_Click()


Form1.Show
Unload Me
End Sub

Private Sub Command3_Click()


Text1.Text = " "
Text2.Text = " "
Combo3.Text = " "
Text3.Text = " "
Combo2.Text = " "
Combo1.Text = " "
End Sub

Private Sub Form_Load()

End Sub
FORM4:-

Private Sub Command1_Click()


Form5.Show
Unload Me
End Sub

Private Sub Command3_Click()


Form1.Show
Unload Me
End Sub

Private Sub Form_Load()


End Sub
FORM5:-
Private Sub Form_Load()
fixMyData.Visible = True
Frame3.Visible = False
Command5.Visible = False
Frame2.Visible = False
Frame6.Visible = False

Set rs = New ADODB.Recordset


rs.CursorLocation = adUseClient

rs.Open "select Empname,EmpID,Cadd,Gender,Designation,Branch,Salaryscale,Contact


from table1", con, adOpenDynamic, adLockPessimistic, adCmdText

Set fixMyData.Recordset = rs

End Sub

Private Sub mydatafixed_Click()

End Sub

Private Sub Frame2_DragDrop(Source As Control, x As Single, Y As Single)


rst As New Recordset

End Sub
Private Sub Frame6_DragDrop(Source As Control, x As Single, Y As Single)
Dim rs1 As New Recordset
rs1.Open " select * from table2", con

Do While Not rs1.EOF


Combo2.AddItem (rs1!table2)
rs1.MoveNext

End Sub

SEARCH FRAME:-

Private Sub Command2_Click()

If (Len(Trim(Text1.Text)) > 0) Then


Frame2.Visible = True

Else
MsgBox ("Pleas insert emp ID and emp name ..")
End If

End Sub
PARTICULAR SEARCH PAGES:-

Private Sub Frame2_DragDrop(Source As Control, X As Single, Y As Single)


rst As New Recordset

End Sub

PERSONAL DETAILS PAGE:-


Private Sub Command1_Click()
Form4.Show
Unload Me

End Sub

Private Sub Command2_Click()

If (Len(Trim(Text1.Text)) > 0) Then


Frame2.Visible = True

Else
MsgBox ("Pleas insert emp ID and emp name ..")
End If

End Sub

Private Sub Command5_Click()


Dim rs2 As New Recordset
rs2.Open " update table1 set empname='" & Text3.Text & "',
fname='" & Text5.Text & "',mname='" & Text11.Text & "'
,cadd='" & Text7.Text & "',padd='" & Text10.Text & "',dob='" & Text35.Text & "',
doj='" & Text6.Text & "',branch='" & Text8.Text & "',
contact='" & Text12.Text & "',gender='" & Text9.Text & "',
designation='" & Text32.Text & "',salaryscale='" & Text33.Text & "',
maty='" & Text13.Text & "',matb='" & Text17.Text & "',
matmarks='" & Text21.Text & "',matdiv='" & Text25.Text & "',
inty='" & Text14.Text & "',intb='" & Text18.Text & "',
intmarks='" & Text22.Text & "',intdiv='" & Text26.Text & "',
degy='" & Text15.Text & "',degb='" & Text19.Text & "',
degmarks='" & Text23.Text & "',degdiv='" & Text27.Text & "',
pgy='" & Text16.Text & "',pgb='" & Text20.Text & "',
pgmarks='" & Text24.Text & "',pgdiv='" & Text28.Text & "',
noorz1='" & Text29.Text & "',expyear1='" & Text30.Text & "',
noorz2='" & Text31.Text & "',expyear2='" & Text32.Text & "'
where empname='" & Text1.Text & "'and empid='" & Text2.Text & "'", con
'rs2.Open " update table1 set empname='" & Text3.Text & "',
fname='" & Text5.Text & "',mname='" & Text11.Text & "',
cadd='" & Text7.Text & "',padd='" & Text10.Text & "'
where empname='" & Text1.Text & "'and empid='" & Text2.Text & "'", con
End Sub

Private Sub Command6_Click()


Frame2.Visible = False
Frame1.Visible = False
Label1.Visible = False
Label4.Visible = False
Command5.Visible = True
'Labell.Visible = False
'Label4.Visible = False
fixMyData.Visible = False
Frame1.Visible = False
Frame3.Visible = True
'rst As New Recordset
Dim rst As New Recordset

rst.Open " select * from table1 where empname='" & Text1.Text & "'
and empid='" & Text2.Text & "'", con
Text3.Text = rst!empname
Text4.Text = rst!empid
Text5.Text = rst!fname
Text11.Text = rst!mname
Text7.Text = rst!cadd
Text10.Text = rst!padd

Text35.Text = rst!dob
Text6.Text = rst!doj
Text8.Text = rst!branch
Text12.Text = rst!contact
Text9.Text = rst!gender
Text32.Text = rst!designation
Text33.Text = rst!salaryscale
Text13.Text = rst!maty
Text17.Text = rst!matb
Text21.Text = rst!matmarks
Text25.Text = rst!matdiv
Text14.Text = rst!inty
Text18.Text = rst!intb
Text22.Text = rst!intmarks
Text26.Text = rst!intdiv
Text15.Text = rst!degy
Text19.Text = rst!degb
Text23.Text = rst!degmarks
Text27.Text = rst!degdiv
Text16.Text = rst!pgy
Text20.Text = rst!pgb
Text24.Text = rst!pgmarks
Text28.Text = rst!pgdiv
Text29.Text = rst!noorz1
Text30.Text = rst!expyear1
Text31.Text = rst!noorz2
Text34.Text = rst!expyear2
End Sub

Private Sub Command7_Click()


Frame6.Visible = True
fixMyData.Visible = False
Frame2.Visible = False
Frame1.Visible = False
Label1.Visible = False
Label4.Visible = False
Frame3.Visible = False
Frame2.Visible = False
Dim rsp As New Recordset

rsp.Open " select * from table1 where empname='" & Text1.Text & "'
and empid='" & Text2.Text & "'", con
Text44.Text = rsp!salaryscale

End Sub

Private Sub Form_Load()


fixMyData.Visible = True
Frame3.Visible = False
Command5.Visible = False

Frame2.Visible = False
Frame6.Visible = False
Set rs = New ADODB.Recordset
rs.CursorLocation = adUseClient

rs.Open "select Empname,EmpID,Cadd,Gender,Designation,Branch,Salaryscale,


Contact from table1", con, adOpenDynamic, adLockPessimistic, adCmdText

Set fixMyData.Recordset = rs

End Sub

Private Sub mydatafixed_Click()

End Sub

Private Sub Frame2_DragDrop(Source As Control, x As Single, Y As Single)


rst As New Recordset

End Sub

Private Sub Frame6_DragDrop(Source As Control, x As Single, Y As Single)


Dim rs1 As New Recordset
rs1.Open " select * from table2", con

Do While Not rs1.EOF


Combo2.AddItem (rs1!table2)
rs1.MoveNext

End Sub
SALARY PAGE:-

Private Sub Frame6_DragDrop(Source As Control, x As Single, Y As Single)


Dim rs1 As New Recordset
rs1.Open " select * from table2", con

Do While Not rs1.EOF


Combo2.AddItem (rs1!table2)
rs1.MoveNext

End Sub

● CONCLUSION:-

This software/package is designed especially for the K.K. Polytechnic

office and can be replicated with minor modification in any technical educational

organization office.The database of this system can also easily be ported in any

other standard database with nominal change. The manager of office used to

spare lot of time even after the normal office hours either at home or office for
preparation of daily/weekly report and other necessary record.Now with the help

of this system ,the manager has the information on his finger tips and can easily

prepare a record based on their requirements apart from daily/weekly report.

Finally,We can say that this system will not only automate the process but save

the valuable time of the office manager, which can be well utilized by this

institute. This will be an additional advantage and management of man

power based on their free time from his normal duty.

● BIBLIOGRAPHY:-

● Websites:-
● http://www.google.com
● http://www.microsoft.com
● http://www.codeproject.com
● http://www.vb123.com
● http://www.vbcode.com

● BOOKS:-
● Mastering Visual Basic 6(Paperback)
● Visual Basic Black Book(Paperback)
● Databas Development in Visual Basic
● Teach Yourself Visual Basic 6 McGraw Hill

● Software Engineering-Robert A. Pressman(McGraw Hill)

You might also like