Call Center Manegment
Call Center Manegment
Call Center Manegment
GIRLS COLLEGE,
KATNI
PROJECT REPORT ON
CALL CENTER MANAGEMENT SYSTEM
FOR THE PARTIAL FULFILLMENT OF
B.COM (COM.APP.)
CERTIFICATE
This is certify that Project Report on
CALL CENTER MANAGEMENT SYSTEM
DEEP NARAYAN PATEL
Submitted by
DEEPTI GOUTAM
ROOKSANA BEGUM
ARCHANA SHARMA
Has completed her Major Project work for
during the academic
Has completed her Major Project work for
during the academic
(Internal Examiner)
(External Examiner)
CERTIFICATE
This is certify that Project Report on
CALL CENTER MANAGEMENT SYSTEM
DEEP NARAYAN PATEL
Submitted by
DEEPTI GOUTAM
ROOKSANA BEGUM
ARCHANA SHARMA
Has completed her Major Project work
for during the academic year 2014-15 in
the partial fulfillment of the award of
B.COM.VI Semester
(Project Guide)
(H.O.D.)
ACKNOWLEDGEMENT
CERTIFICATE
We wish
to acknowledgement with deep
gratitude the valuable assistance
received by us from our guide
Mr.DEEP NARAYAN PATEL Who guided
and
encouraged us throughout
the development of this project.
We
also acknowledge our gratitude to
Mrs.
DR.
KIRAN
KHARADI
GOUTAM
ROOKSANA BEGUM
ARCHANA SHARMA
ACKNOWLEDGE
MENT CERTIFICATE
Self Certificate
This is to certify that the
dissertation / project report entitled CALL CENTER
MANAGEMENT SYSTEM is done by me is
authentic work carried out for the partial fulfillment
of the requirements for the award of the degree
B.Com. (Computer Application) in computer Science
under the guidance of Mr. DEEP NARAYAN
PATEL .The matter embodied in this project work
has not been submitted earlier for award of any degree
or diploma to the best of my knowledge and belief.
GOUTAM
BEGUM
Roll No,
GOVT. GIRLS COLLEGE KATNI
DELARATION
I herby declare that this CALL
CENTER MANAGEMENT SYSTEM has been
developed by me adhering to the conditions laid down
by the Govt.Girls College, Katni under the guidance
of Mr. DEEP NARAYAN PATEL
GOUTAM
BEGUM
DEEPTI
ROOKSANA
ARCHANA SHAR MA
PREFACE
The evolution of electronics computers began in 1940s.
With the coming of the multiprogramming operating systems
in the early 1960s; the usability and efficiency of the
computing machines took a big leap, prices of hardware also
decreased, and awareness of computers increased
substantially since their early days. With the availability of
cheaper and more powerful machines, higher level languages,
and more user friendly operating systems, the applications of
computers grew rapidly
The use of computers is growing very rapidly. Now
computer system are used in such areas as business
applications, scientific work, video games, air-traffic control,
missile control, hospital management, airline reservations and
medical diagnostic equipment, There is probably no discipline
that does not use computer system now even artists, linguists,
and filmmakers use it. With this increased use of computers,
the need for software is increasing dramatically. Furthermore,
the complexity of these systems is also increasing imagine the
complexity of the software for aircraft control or telephone
network-monitoring systems. Actually, the complexity of
applications and the software systems has grown much faster
than our ability to deal with it
INTRODUCTION
Computer is an electronic device, which is used to
compute various big calculations. It is basically a device,
which is used to input data, processes the data and gives the
output as required.
These days computer has become one of the basic
importance of a common man. Each and every thing is getting
computerized, because making use of computer has facilitated
to perform the task quickly and easily, it has also helped to
eliminate certain problems like:1. Efficiency to perform the work has increased to a very great
extent.
2. Results are accurate and reliable as it has a quality of
accuracy. The mistake occurs only on part of the user.
3. Manual work is reduced to a very large extent.
4. Large calculation is possible.
5. Large datas as well as files could be stored in computers.
6. As computers are versatile same computer could be used for
various applications.
7. There in a single PC we can record datas of various fields.
.
Due the above mentioned qualities computers
these days are used in fields like companies, railways,
airways, transportations, share markets and even at home.
Users specific software development is a mode of present
generation computer scientist I have developed project entitled CALL
CENTER MANAGEMENT SYSTEM to manage the information
related to human resources Records of office works. I use MS-Visual basic
as front-end tool and MS-Access as a backend tool. In this project we have
tried to reduce the manual work and improve efficiency. Through this
project we try to reduce the clerical work and provide fast working,
because computer is much faster and correct than human.
NEEDS FOR MACHINE BASED SYSTEM:Traditional methods for exploring the volume of
informations are inadequate. One is bulk about
growth rate of information.
Difficult to update the information due to
voluminous increase and rise in the degree of
specialization involved.
Techniques are suggested for applying the
computer in due its advantages of speed, vast
storage capacity and accuracy.
The need for co-operation and resources sharing
and the hope of achieving some saving through
our system.
ADVANTAGES
OF
COMPUTER
BASED
SYSTEM:It offers flexibility.
It speedup the processing and workflow.
Makes
for
greater
accuracy,
efficiency,
consistence and improved work control.
Reduces repetitive clerical work.
Permits erase control, checking and updating.
Permits to improved budget control.
PROJECT OUTLINE
I develop project entitled a CALL CENTER
MANAGEMENT SYSTEM to maintain information of
human resources.
Presently all the information is maintained manually.
There are following drawbacks of this approach:
1. It is difficult to handle large volume of information.
2. It is difficult to provide up-to-date information,
3. There is a chance of calculation mistake in Bill.
4. It requires more manpower.
5. It is difficult to analyzing data manually.
To overcome these difficulties I develop CCMS as software
and provided the following facilities:
1. In CCMS system I provide options to keep track
information of various classes of entry, new employee,
Members details & pay slip record etc.
2. In CCMS system I provide information about employee
year records details etc.
HARDWARE SPECIFICATION
CD Drives
Keyboard, Mouse
Printer, VDU
Software specification
ACCESS TERMINOLOGIES
Access is an object- oriented database management
system, which means the entire database is composed of the
objects with certain characteristic are attributes called properties
DEBUGGING
This stage is the discovery and correction of programming errors
so that it is Ingrid that the program does what the programmer intends to
do and produces the correct result for a set of test data.
The tools that can be used to debug programs:1.Simulators
2.Logic Analyzer
3.Break Point
4.Trace routine
5.Memory Dumps
6.Software interrupts
MAINTENANCE
This stage is the updating and correcting of the
program to account for changing conditions of fields
experience proper testing and documentation should
significantly reduce the frequency and extend of the
required maintenance. The original program may
need change for following reason:1.Newly discovered bugs
2.Specification changes
3.Specification expansion
4.New equipment
PROBLEM FACED
I did a lot of problems while making this project
during these six months. Firstly, I got the problem in getting
certificates and collecting the data for my project. Since I am still
amateur in the field of software Development, I did face a lot of
problems in coding. But all these problems were removed with the
efficient help of our faculty members and friends.
I have also the problem in understanding the terminology used in
CALL CENTER MANAGEMENT SYSTEMI also have
the problem regarding the collection of data, which are necessary
to build our project.
In design phase of system I face lot problems to implement the
logic of software, deciding table structure and applying integrity
constraints.
Report generated by the system as and when needed increase the
flexibility & speed of system.
PHYSICAL SECURITY
Physical security includes protection fronm fire, flood and other
physical damage. To avoid fire smoking is prohibited in computer
room. The must be an arrangement air-conditioner in computer
room to maintain the temperature between 20-30 degree Celsius.
Keep dust and magnetic components away from computer room.
OPERATING SYSTEM LEVEL SECURITY
Operating system must be capable to protect against deliberate
or accidental damage from a defined threat. Operating System
Level Security includes password protection to prevent
unauthorized access to the system
Setup. There must be an anti-virus program must be installed on
our system to detection of virus and repaired it.
DATABASE SECURITY
Database security is the protection of data from loss,
disclosure, modification and destruction. It must insure the
integrity and reliability of database. I have used Oracle as a back
VALIDATIONS
To debug the errors following options are included in software To avoid the storage to null values in table, all the text box,
combo values were tested first and if they contain null values
error message is generated and avoid inserting such data in table.
To avoid invalid date/month error, we used Dicker tools at the
time of date entry.
To avoid error insert value is too large we set
MAXLENGTH property of text boxes.
To avoid data type mismatch error we first the type of values type in
text box before display it. In case of numeric values text box are
allowed to accept number only.
Coding done in KEYPRESS event of text box which ensure
that the correct data type value entered in text box.
To avoid not enough value error we match the exact number and
type of values with their respective table structure.
If avoid EOF/BOF encounter error I first check weather item is
selected in combo box or not. In cast of not selection of item we
System maintenance
Feasibility Study
The data collection that occurs during
the Initial
Investigation examines system feasibility. There are three tests of
feasibility namely technical, operational and economic.
1. TECHNICAL FEASIBILITY: It involves determining
whether or not a system can actually be constructed to solve
the problem at hand.
Technically the system is feasible due to the following:
The necessary technology exits that is needed for the
system.
The system has technical capacity to hold the required
data. If the system is developed, it can be further
expanded
There is data security in the system.
2. OPERATIONAL FEASIBILTY: Proposed project are
beneficial only if they can be turned into information system that will
meet the organizations operating requirements. Simply stated, this
test of feasibility asks if the system will work when developed and
installed. System is made menu driven. Hence time consumption in
operation
Of the system is less and easy for the and users to operate.
Each and every step in the system is user Friendly hence no
extra computer literacy is required while handling the system.
2. ECONOMICAL FEASIBILITY: All the hardware
and software Facilities as available with the end
user so the cost if hardware and software
implementation is eradicated. The operational
cost is also minimized, as no special computer
training is essential. As the new system does not
demand any Investments for the operation of the
System Implementation
In this stage the system analyst put the new s/w into existence,
which has already been tested. After proper testing and validation the
question arises weather a system
Can be implemented or not which included all those activity in which
the system is converted old sys. To be new sys. The new sys May be
totally new, replacement of an existing manual or automated system
or it may be major modification to an existing system.
System Maintenance
A system should be created whose design is
comprehensive and foresight enough to serve current & project user
needs for several years. The eminence cost and Frequency depends
up on the system designing process. The better the system design
easier it will be to maintain and the system maintenance cast will be
low. The eminence cost will be low. The eminence is the Process,
Which ensures the updated & live project. It is basically of 2 type
eminence & enhance.
FORMS &
CODING
End Sub
Private Sub lbllogin_Click()
On Error GoTo Doctor
If rs.State = 1 Then rs.Close
rs.Open "select * from employeemaster where userid='" &
txtName.Text & "'", dbConn, adOpenDynamic, adLockOptimistic
If rs.Fields("Password") = GenerateCode(txtPassword.Text) Then
SaveSetting App.EXEName, "Settings", "UserName",
txtName.Text
currentUserName = txtName.Text
currentAccessibility = rs.Fields("Accessibility").Value
Unload Me
mdiCENPAP.Show
Else
MsgBox "Password is wrong."
rs.Close
Exit Sub
End If
rs.Close
Doctor:
If Err.Number <> 0 Then
MsgBox "User Name not found in the database"
End If
End Sub
Private Sub lbllogin_MouseDown(Button As Integer, Shift As Integer,
X As Single, Y As Single)
lbllogin.FontSize = 8
End Sub
Private Sub lbllogin_MouseMove(Button As Integer, Shift As Integer, X
As Single, Y As Single)
lbllogin.ForeColor = vbGreen
End Sub
Private Sub lbllogin_MouseUp(Button As Integer, Shift As Integer, X
As Single, Y As Single)
lbllogin.FontSize = 10
End Sub
rs.Update
rs.Close
LoadData
txtUserIDIn.Text = ""
txtPasswordIn.Text = ""
MsgBox "You are successfully Logged In"
Exit Sub
Doctor:
If Err.Number <> 0 Then
MsgBox "User Authentication Failed." & vbCrLf & "Inavlid
User!!!!!!!"
End If
End Sub
Private Sub cmdLogOut_Click()
On Error GoTo Doctor
Dim rsT As New ADODB.Recordset
rsT.Open "select password from employeemaster where userid='" &
txtUserIDOut.Text & "'", dbConn, adOpenDynamic, adLockOptimistic
If rsT.Fields(0).Value <> GenerateCode(txtPasswordOut.Text) Then
rsT.Close
MsgBox "User Authentication Failed." & vbCrLf & "Inavlid
User!!!!!!!"
Exit Sub
End If
rsT.Close
rsT.Open "select * from attendance where UserID='" & txtUserIDOut
& "' and workingdate=#" & Format(lbldate.Caption, "dd/mm/yyyy") &
"# and LogIn=Yes"
If rsT.RecordCount = 0 Then
MsgBox "You can't Log Out Without Logging In."
rsT.Close
Exit Sub
End If
rsT.Close
Exit Sub
End If
If Not SaveToEmployeeMaster Then
MsgBox "Unable to add new employee details."
Exit Sub
End If
ClearControls Me
Reload
MsgBox "User Database Updated Successfully."
Exit Sub
Doctor:
If Err.Number <> 0 Then
MsgBox "Error To Perform Action", vbCritical, "Error!!!!!!"
End If
End Sub
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyReturn Then
SendFocusToNext
End If
If KeyCode = vbKeyEscape Then
Unload Me
End If
End Sub
Private Function SaveToEmployeeMaster() As Boolean
On Error GoTo Doctor
Dim FSO As FileSystemObject
If Not editMode Then
rsEmployee.AddNew
End If
rsEmployee!EmployeeName.Value = UCase(txtName.Text)
rsEmployee!userID = LCase(txtUserID.Text)
rsEmployee!Password = GenerateCode(LCase(txtPassword.Text))
rsEmployee!DOB = dtpDOB.Value
rsEmployee!DOJ = dtpDOJ.Value
rsEmployee!BloodGroup = UCase(cmbBloodGroup.Text)
rsEmployee!SBU = UCase(cmbSBU.Text)
rsEmployee!level = UCase(Left(cmbLevel.Text, 1))
rsEmployee!Designation = UCase(cmbDesignation.Text)
rsEmployee!Accessibility = UCase(cmbAccess.Text)
rsEmployee!Mobile = txtMobile.Text
rsEmployee!LocalAddress = UCase(txtLocalAddress.Text)
rsEmployee!LocalNo = txtLocalPhone.Text
rsEmployee!PermanentAddress = UCase(txtPermanentAddress.Text)
rsEmployee!PermanentNo = txtPermanentPhone.Text
rsEmployee!EmergencyName = UCase(txtEmergencyName.Text)
rsEmployee!EmergencyNo = txtEmergencyNo.Text
rsEmployee!AppointmentNature = UCase(cmbNature.Text)
If cmbNature.ListIndex <> 0 Then rsEmployee!LDW =
dtpLDW.Value
rsEmployee!BankName = UCase(txtBank.Text)
rsEmployee!Branch = UCase(txtBranch.Text)
rsEmployee!LicenceNo = UCase(txtLicence.Text)
rsEmployee!PANNo = UCase(txtPAN.Text)
rsEmployee!BasicSalary = txtBasic.Text
rsEmployee!HRA = Val(txtHRA.Text)
rsEmployee!CCA = Val(txtCCA.Text)
rsEmployee!whoadded = currentUserName
rsEmployee.Update
Dim dest As String
dest = IIf(Right(App.Path, 1) = "\", App.Path & "images\", App.Path
& "\images\")
Set FSO = New FileSystemObject
FSO.CopyFile txtPhoto.Text, dest & txtUserID.Text & ".jpg"
SaveToEmployeeMaster = True
Exit Function
Doctor:
If Err.Number <> 0 Then
SaveToEmployeeMaster = False
End If
End Function
Private Function CheckUserID(id As String) As Boolean
On Error GoTo Doctor
Dim rs As New ADODB.Recordset
txtPermanentPhone.Text = rsEmployee!PermanentNo
txtEmergencyName.Text = rsEmployee!EmergencyName
txtEmergencyNo.Text = rsEmployee!EmergencyNo
cmbNature.Text = rsEmployee!AppointmentNature
dtpLDW.Value = rsEmployee!LDW
txtBank.Text = rsEmployee!BankName
txtBranch.Text = rsEmployee!Branch
txtLicence.Text = rsEmployee!LicenceNo
txtPAN.Text = rsEmployee!PANNo
txtBasic.Text = rsEmployee!BasicSalary
txtHRA.Text = rsEmployee!HRA
txtCCA.Text = rsEmployee!CCA
End Sub
Private Sub Reload()
On Error GoTo Doctor
If rsEmployee.State = 1 Then rsEmployee.Close
rsEmployee.Open "select * from EmployeeMAster where
whoadded<>'system'", dbConn, adOpenDynamic, adLockOptimistic
cmbEmployees.Clear
Do Until rsEmployee.EOF
cmbEmployees.AddItem
rsEmployee.Fields("EmployeeName").Value
rsEmployee.MoveNext
Loop
If cmbEmployees.ListCount > 0 Then
cmbEmployees.ListIndex = 0
rsEmployee.MoveFirst
End If
loadSBU
loadDesig
cmbLevel.ListIndex = 0
cmbAccess.ListIndex = 0
cmbNature.ListIndex = 0
Exit Sub
Doctor:
If Err.Number <> 0 Then
MsgBox "Error To Perform Action", vbCritical, "Error!!!!!!"
End If
End Sub
Public Sub SendFocusToNext()
Dim idx As Integer
Dim ctl As Control
idx = Me.ActiveControl.TabIndex
If idx = 10 Or idx = 12 Then Exit Sub
If idx >= 0 And idx < 26 Then
For Each ctl In Me.Controls
If TypeOf ctl Is CommonDialog Then GoTo X
If ctl.TabIndex = idx + 1 Then
If ctl.Enabled = False Then
txtBank.SetFocus
ElseIf TypeOf ctl Is TextBox Or TypeOf ctl Is ComboBox Or
TypeOf ctl Is Button Or TypeOf ctl Is DTPicker Then
ctl.SetFocus
End If
End If
X:
Next
End If
End Sub
Private Sub loadSBU()
Dim rsT As New ADODB.Recordset
rsT.Open "select distinct SBU from EmployeeMaster where
SBU<>'user' and SBU<>'ADMINISTRATOR'", dbConn,
adOpenDynamic, adLockOptimistic
cmbSBU.Clear
Do Until rsT.EOF
cmbSBU.AddItem rsT.Fields(0).Value
rsT.MoveNext
Loop
rsT.Close
If cmbSBU.ListCount > 0 Then cmbSBU.ListIndex = 0
End Sub
Private Sub loadDesig()
Dim rsT As New ADODB.Recordset
SendKeys "{home}+{end}"
Exit Sub
End If
rs.Fields("UserID").Value = LCase(txtName.Text)
rs.Fields("Password").Value = GenerateCode(LCase(txtPass1.Text))
rs.Update
MsgBox "User Details Altered Successfully"
Exit Sub
Doctor:
If Err.Number <> 0 Then
MsgBox "Problem to update users database."
End If
End Sub
Private Sub cmdSaveOthers_Click()
If chkCache.Value = vbChecked Then
SaveSetting App.EXEName, "Settings", "UserCaching", "1"
SaveSetting App.EXEName, "Settings", "UserName",
currentUserName
Else
SaveSetting App.EXEName, "Settings", "UserCaching", "0"
SaveSetting App.EXEName, "Settings", "UserName", ""
End If
If chkBypass.Value = vbChecked Then
SaveSetting App.EXEName, "Settings", "Bypass", "1"
Else
SaveSetting App.EXEName, "Settings", "Bypass", "0"
End If
MsgBox "All Settings applied Successfully"
End Sub
Private Sub Form_Activate()
Dim rsT As New ADODB.Recordset
LoadData
SendKeys "{Home}+{End}"
End Sub
Private Sub LoadData()
If rs.State = 1 Then rs.Close
rs.Open "Select userid,password From EmployeeMaster where
whoadded<>'system'", dbConn, adOpenDynamic, adLockOptimistic
cmbOldUser.Clear
Do Until rs.EOF
cmbOldUser.AddItem rs.Fields(0).Value
rs.MoveNext
Loop
If rs.RecordCount > 0 Then
cmbOldUser.ListIndex = 0
rs.MoveFirst
End If
End Sub
End If
basic = (Val(txtBasic.Text) / 30) * IIf(Val(txtTotalDays.Text) > 30,
30, Val(txtTotalDays.Text))
FixTotal = 0
rTotal = 0
dTotal = 0
nTotal = 0
''''''''''''''''''''' Fixed Total ''''''''''''''''''''''
If Right(txtHRA, 1) = "%" Then
FixTotal = basic + (basic * Val(txtHRA.Text) / 100)
txtHRA.Text = (basic * Val(txtHRA.Text) / 100)
Else
FixTotal = basic + Val(txtHRA.Text)
End If
If Right(txtCCA, 1) = "%" Then
FixTotal = FixTotal + (basic * Val(txtCCA.Text) / 100)
txtCCA.Text = (basic * Val(txtCCA.Text) / 100)
Else
FixTotal = FixTotal + Val(txtCCA.Text)
End If
'''''''''''''''''''''' Riemburhed Total ''''''''''''''''
If Right(txtCA, 1) = "%" Then
rTotal = rTotal + (basic * Val(txtCA.Text) / 100)
txtCA.Text = (basic * Val(txtCA.Text) / 100)
Else
rTotal = rTotal + Val(txtCA.Text)
End If
If Right(txtMedical, 1) = "%" Then
rTotal = rTotal + (basic * Val(txtMedical.Text) / 100)
txtMedical.Text = (basic * Val(txtMedical.Text) / 100)
Else
rTotal = rTotal + Val(txtMedical.Text)
End If
If Right(txtComm, 1) = "%" Then
rTotal = rTotal + (basic * Val(txtComm.Text) / 100)
txtComm.Text = (basic * Val(txtComm.Text) / 100)
Else
rTotal = rTotal + Val(txtComm.Text)
End If
If Right(txtSaleBonus, 1) = "%" Then
rTotal = rTotal + (basic * Val(txtSaleBonus.Text) / 100)
txtSaleBonus.Text = (basic * Val(txtSaleBonus.Text) / 100)
Else
rTotal = rTotal + Val(txtSaleBonus.Text)
End If
If Right(txtOvertime, 1) = "%" Then
rTotal = rTotal + (basic * Val(txtOvertime.Text) / 100)
txtOvertime.Text = (basic * Val(txtOvertime.Text) / 100)
Else
rTotal = rTotal + Val(txtOvertime.Text)
End If
If Right(txtExt, 1) = "%" Then
rTotal = rTotal + (basic * Val(txtExt.Text) / 100)
txtExt.Text = (basic * Val(txtExt.Text) / 100)
Else
rTotal = rTotal + Val(txtExt.Text)
End If
''''''''''''''''''''''''''' Deductions Total '''''''''''''''
If Right(txtIT, 1) = "%" Then
dTotal = dTotal + (basic * Val(txtIT.Text) / 100)
txtIT.Text = (basic * Val(txtIT.Text) / 100)
Else
dTotal = dTotal + Val(txtIT.Text)
End If
If Right(txtPT, 1) = "%" Then
dTotal = dTotal + (basic * Val(txtPT.Text) / 100)
txtPT.Text = (basic * Val(txtPT.Text) / 100)
Else
dTotal = dTotal + Val(txtPT.Text)
End If
If Right(txtLoans, 1) = "%" Then
dTotal = dTotal + (basic * Val(txtLoans.Text) / 100)
txtLoans.Text = (basic * Val(txtLoans.Text) / 100)
Else
dTotal = dTotal + Val(txtLoans.Text)
End If
If Right(txtOthers, 1) = "%" Then
dTotal = dTotal + (basic * Val(txtOthers.Text) / 100)
txtOthers.Text = (basic * Val(txtOthers.Text) / 100)
Else
dTotal = dTotal + Val(txtOthers.Text)
End If
nTotal = (FixTotal + rTotal) - dTotal
txtNet.Text = nTotal
Doctor:
If Err.Number <> 0 Then
MsgBox "Unable to Perform Action"
End If
End Sub
Private Sub txtBasic_LostFocus()
calculateTotal
End Sub
Private Sub txtCA_LostFocus()
calculateTotal
End Sub
Private Sub txtCCA_LostFocus()
calculateTotal
End Sub
Private Sub txtComm_LostFocus()
calculateTotal
End Sub
rs!CCA = Val(txtCCA.Text)
rs!CA = Val(txtCA.Text)
rs!Medical = Val(txtMedical.Text)
rs!Com = Val(txtComm.Text)
rs!SalesBonus = Val(txtSaleBonus.Text)
rs!Overtime = Val(txtOvertime.Text)
rs!Exec = Val(txtExt.Text)
rs!IT = Val(txtIT.Text)
rs!PT = Val(txtPT.Text)
rs!Loans = Val(txtLoans.Text)
rs!Others = Val(txtOthers.Te r
rs!TotalPay = FixTotal + rTotal
rs!NetPay = Val(txtNet.Text)
rs!TotalFixed = FixTotal
rs!TotalRiemburshed = rTotal
rs!TotalDeductions = dTotal
rs!Month = txtMonth.Text & "/" & txtYear.Text
rs!PayDate = Date
rs.Update
rs.Close
Exit Sub
Doctor:
If Err.Number <> 0 Then
MsgBox "Error To Perform Action", vbCritical, "Error!!!!!!"
End If
End Sub
Public Sub SendFocusToNext()
Dim idx As Integer
Dim ctl As Control
idx = Me.ActiveControl.TabIndex
If idx >= 0 And idx < 26 Then
For Each ctl In Me.Controls
If ctl.TabIndex = idx + 1 Then
rsTemp!Loans = LI.SubItems(13)
rsTemp!Others = LI.SubItems(14)
rsTemp!TotalDays = LI.SubItems(15)
rsTemp!NetPay = LI.SubItems(16)
rsTemp!PayDate = LI.SubItems(17)
rsTemp!Month = txtMonth.Text & "/" & txtYear.Text
rsTemp.Update
End If
Next
dbConn.CommitTrans
Set rptPayList.DataSource = rsTemp
rptPayList.Show
Exit Sub
Doctor:
If Err.Number <> 0 Then
MsgBox "Error To Perform Action", vbCritical, "Error!!!!!!"
End If
End Sub
Private Sub cmdRefetch_Click()
LoadData txtMonth.Text & "/" & txtYear.Text
End Sub
Private Sub cmdSelectAll_Click()
For i = 1 To lvwList.ListItems.Count
lvwList.ListItems(i).Checked = True
Next
End Sub
Private Sub cmdSelectNone_Click()
For i = 1 To lvwList.ListItems.Count
lvwList.ListItems(i).Checked = False
Next
End Sub
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyEscape Then
Unload Me
End If
End Sub
LI.SubItems(17) = rs!PayDate
LI.Checked = True
rs.MoveNext
Loop
rs.Close
Exit Sub
Doctor:
If Err.Number <> 0 Then
MsgBox "Error To Perform Action", vbCritical, "Error!!!!!!"
End If
End Sub
Private Sub lvwList_ColumnClick(ByVal ColumnHeader As
MSComctlLib.ColumnHeader)
lvwList.SortOrder = IIf(lvwList.SortOrder = lvwDescending,
lvwAscending, lvwDescending)
lvwList.SortKey = ColumnHeader.Index - 1
lvwList.Sorted = True
End Sub
Private Sub lvwList_KeyUp(KeyCode As Integer, Shift As Integer)
Dim LI As ListItem
Set LI = lvwList.SelectedItem
rs.MoveFirst
rs.Move LI.Index - 1
End Sub
Index = 1
LoadData
End Sub
Private Sub LoadData()
Dim LI As ListItem
Dim rs1 As New ADODB.Recordset
If level = 1 Then
If rs.State = 1 Then rs.Close
rs.Open "select
workingdate,EmployeeName,a.UserID,Logintime,LogOutTime,ID from
Attendance a,EmployeeMaster b where workingDate=#" &
dtpDate.Value & "# And a.userid = b.userid", dbConn, adOpenDynamic,
adLockOptimistic
lvwList.ListItems.Clear
Do Until rs.EOF
Set LI = lvwList.ListItems.Add(, , Format(rs.Fields(0).Value,
"dd/mm/yyyy"))
LI.SubItems(1) = rs.Fields(1).Value
LI.SubItems(2) = rs.Fields(2).Value
LI.SubItems(3) = rs.Fields(3).Value
LI.SubItems(4) = IIf(IsNull(rs.Fields(4).Value), "00:00:00",
rs.Fields(4).Value)
LI.SubItems(5) = rs.Fields(5).Value
rs.MoveNext
Loop
lvwList.ListItems(Index).Selected = True
ElseIf level = 2 Then
rs1.Open "select
workingdate,EmployeeName,a.UserID,Logintime,LogOutTime,ID from
Attendance a,EmployeeMaster b where workingDate=#" &
dtpDate.Value & "# And a.userid = b.userid and a.id=" & id, dbConn,
adOpenDynamic, adLockOptimistic
lvwList.ListItems.Clear
Set LI = lvwList.ListItems.Add(, , Format(rs1.Fields(0).Value,
"dd/mm/yyyy"))
LI.SubItems(1) = rs1.Fields(1).Value
LI.SubItems(2) = rs1.Fields(2).Value
LI.SubItems(3) = rs1.Fields(3).Value
LI.SubItems(4) = IIf(IsNull(rs1.Fields(4).Value), "00:00:00",
rs1.Fields(4).Value)
LI.SubItems(5) = rs1.Fields(5).Value
rs1.Close
End If
End Sub
Private Sub lvwList_KeyDown(KeyCode As Integer, Shift As Integer)
id = Val(lvwList.SelectedItem.SubItems(5))
If KeyCode = vbKeyReturn And level = 1 Then
level = 2
Index = lvwList.SelectedItem.Index
LoadData
cmdEdit.Enabled = True
dtpDate.Enabled = False
ElseIf KeyCode = vbKeyEscape And level = 2 Then
level = 1
LoadData
cmdEdit.Enabled = False
dtpDate.Enabled = True
End If
End Sub
dbConn.CommitTrans
Set rptList.DataSource = rsTemp
rptList.Show
Exit Sub
Doctor:
If Err.Number <> 0 Then
MsgBox "Error To Perform Action", vbCritical, "Error!!!!!!"
End If
End Sub
Private Sub cmdSelectAll_Click()
For i = 1 To lvwList.ListItems.Count
lvwList.ListItems(i).Checked = True
Next
End Sub
Private Sub cmdSelectNone_Click()
For i = 1 To lvwList.ListItems.Count
lvwList.ListItems(i).Checked = False
Next
End Sub
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyEscape Then
Unload Me
End If
End Sub
Private Sub Form_Load()
LoadData
Left = 0
Top = 0
End Sub
Private Sub LoadData()
'On Error GoTo Doctor
Dim LI As ListItem
If rs.State = 1 Then rs.Close
rs.Open "select * from EmployeeMaster where
whoadded<>'system'", dbConn, adOpenDynamic, adLockOptimistic
lvwList.ListItems.Clear
Do Until rs.EOF
Set LI = lvwList.ListItems.Add(, ,
rs.Fields("EmployeeName").Value)
LI.SubItems(1) = rs!userID
LI.SubItems(2) = rs!DOJ
LI.SubItems(3) = rs!SBU
LI.SubItems(4) = rs!level
LI.SubItems(5) = rs!Accessibility
LI.SubItems(6) = rs!Designation
LI.SubItems(7) = rs!Mobile
LI.SubItems(8) = rs!LocalAddress
LI.SubItems(9) = rs!LocalNo
LI.Checked = True
rs.MoveNext
Loop
lvwList_KeyUp vbKeyDown, 0
Exit Sub
Doctor:
If Err.Number <> 0 Then
MsgBox "Error To Perform Action", vbCritical, "Error!!!!!!"
End If
End Sub
Private Sub Form_Unload(Cancel As Integer)
rs.Close
End Sub
Private Sub lvwList_Click()
lvwList_KeyUp vbKeyDown, 0
End Sub
Private Sub lvwList_ColumnClick(ByVal ColumnHeader As
MSComctlLib.ColumnHeader)
lvwList.SortOrder = IIf(lvwList.SortOrder = lvwDescending,
lvwAscending, lvwDescending)
lvwList.SortKey = ColumnHeader.Index - 1
lvwList.Sorted = True
End Sub
Private Sub lvwList_KeyUp(KeyCode As Integer, Shift As Integer)
Dim LI As ListItem
Dim pic As String
Set LI = lvwList.SelectedItem
rs.MoveFirst
rs.Move LI.Index - 1
Dim FSO As New FileSystemObject
pic = IIf(Right(App.Path, 1) = "\", App.Path & "images\", App.Path &
"\images\") & LI.SubItems(1) & ".jpg"
If FSO.FileExists(pic) Then
Image1.Picture = LoadPicture(pic)
Image1.ZOrder vbBringToFront
Else
Image1.Picture = LoadPicture()
Image1.ZOrder vbSendToBack
End If
End Sub
rs.Update
rs.Close
LoadData
txtUserIDIn.Text = ""
txtPasswordIn.Text = ""
MsgBox "You are successfully Logged In"
Exit Sub
Doctor:
If Err.Number <> 0 Then
MsgBox "User Authentication Failed." & vbCrLf & "Inavlid
User!!!!!!!"
End If
End Sub
Private Sub cmdLogOut_Click()
On Error GoTo Doctor
Dim rsT As New ADODB.Recordset
rsT.Open "select password from employeemaster where userid='" &
txtUserIDOut.Text & "'", dbConn, adOpenDynamic, adLockOptimistic
If rsT.Fields(0).Value <> GenerateCode(txtPasswordOut.Text) Then
rsT.Close
MsgBox "User Authentication Failed." & vbCrLf & "Inavlid
User!!!!!!!"
Exit Sub
End If
rsT.Close
rsT.Open "select * from attendance where UserID='" & txtUserIDOut
& "' and workingdate=#" & Format(lbldate.Caption, "dd/mm/yyyy") &
"# and LogIn=Yes"
If rsT.RecordCount = 0 Then
MsgBox "You can't Log Out Without Logging In."
rsT.Close
Exit Sub
End If
rsT.Close
Option Explicit
Private Sub CancelButton_Click()
Unload Me
End Sub
Private Sub Form_Load()
End Sub
Private Sub OKButton_Click()
frmLoggedIN.lvwList.SelectedItem.SubItems(3) = txtIn.Text
frmLoggedIN.lvwList.SelectedItem.SubItems(4) = txtOut.Text
frmLoggedIN.cmdEdit.Caption = "&Save"
Unload Me
End Sub
Private Sub txtIn_GotFocus()
SendKeys "{Home}+{End}"
End Sub
Private Sub txtOut_GotFocus()
SendKeys "{Home}+{End}"
End Sub
rptAttendanceSheet.Sections(5).Controls(3).Caption =
"Sundays
: " & lvwList.ListItems(lvwList.ListItems.Count 2).SubItems(3)
rptAttendanceSheet.Sections(5).Controls(2).Caption = "Total Hours
: " & lvwList.ListItems(lvwList.ListItems.Count).SubItems(3)
rptAttendanceSheet.Sections(5).Controls(1).Caption = "Present Days
: " & lvwList.ListItems(lvwList.ListItems.Count - 3).SubItems(3)
rptAttendanceSheet.Show
End Sub
Private Sub Form_Load()
txtMonth.Text = Month(Date)
txtYear.Text = Year(Date)
LoadData
lvwList.ColumnHeaders(1).Width = lvwList.Width * 0.1
lvwList.ColumnHeaders(5).Width = lvwList.Width * 0.45
lvwList.ColumnHeaders(2).Width = lvwList.Width * 0.15
lvwList.ColumnHeaders(3).Width = lvwList.Width * 0.15
lvwList.ColumnHeaders(4).Width = lvwList.Width * 0.15
End Sub
Private Sub LoadData()
If rsEmployee.State = 1 Then rsEmployee.Close
rsEmployee.Open "select * from EmployeeMAster where
whoadded<>'system'", dbConn, adOpenDynamic, adLockOptimistic
cmbEmployees.Clear
Do Until rsEmployee.EOF
cmbEmployees.AddItem
rsEmployee.Fields("EmployeeName").Value
rsEmployee.MoveNext
Loop
If cmbEmployees.ListCount > 0 Then
cmbEmployees.ListIndex = 0
rsEmployee.MoveFirst
End If
End Sub
Private Sub FillSheet()
On Error GoTo Doctor
m = m Mod 60
End If
tHours = Format(h, "00") & ":" & Format(m, "00")
lvwList.ListItems.Add , , ""
Set LI = lvwList.ListItems.Add(, , "")
LI.SubItems(3) = tDays
LI.SubItems(4) = "Total Days Attended"
Set LI = lvwList.ListItems.Add(, , "")
LI.SubItems(3) = ds
LI.SubItems(4) = "Sundays"
Set LI = lvwList.ListItems.Add(, , "")
LI.SubItems(3) = tDays + ds
LI.SubItems(4) = "Total Days"
Set LI = lvwList.ListItems.Add(, , "")
LI.SubItems(3) = tHours
LI.SubItems(4) = "Total Hours Attended"
Exit Sub
Doctor:
If Err.Number = 94 Then
MsgBox "No data for the said month"
Else: Resume Next
End If
End Sub
Private Sub optType_Click(Index As Integer)
mode = Index
FillSheet
End Sub
Private Sub txtMonth_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyReturn Then LoadData
End Sub
Private Sub txtYear_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyReturn Then LoadData
End Sub
CONCLUSION
The Project entitled CALL CENTER MANAGEMENT SYSTEM is the 1st
project are attempt by me towards development of any automated system.
I conclude this report with a note of thanks to all those who help me for
successful completion of this project. I have developed his software to the best
of me ability, the time schedule and the resources available to me.
My project CALL CENTER MANAGEMENT SYSTEM works satisfactory
as per need. It fulfill all the major needs of the CALL CENTER MANAGEMENT
SYSTEM
SUGGESTION
As this is my first project work, so I feel it was very difficult for me to
develop software independently. I saw a lot of problem during the past time. To
develop software for a newer one with in the limited period of time is little bit
difficult but also enjoy making the software and learn lot of things.
At the completion period of software I feel that I can did much more like I
could also provide the facility of various appeals and certificates which are
required in the court.
I also havent included the concept of charge anywhere in this project; Due
to lack of time I was unable to gather all essential information for this project,
related to charge. So there is no way to calculate charges in this project.
Most importantly, any provision for back-ups is not available which is an
important and useful part of this project is. Due to unavailability of any back-ups
system we may face many problems, such as if we lost some important
information, then in that case there is no provision to get it back.
LIMITATION
Microsoft window is rapidly becoming the standard operating
environment for Ps and visual basic is the standard programming language for
window. As a result, many employees are demanding that computing student
should be familiar with visual Basic, and increasingly course from national to
degree level are including a visual basic component.
Visual Basic is the language that many developers including
Microsoft themselves are using to write new application software. At the last
count there were over a million visual basic applications in commercial use.
Look closely at any modern window database spreadsheet and word
processing package, whether from Microsoft or other leading software house,
and you will find that its macro language is either a variety of visual basic, or
almost identical to it. For this reason, anyone who wants to become a windows
expert should master a grasp of it.
CERTAIN LIMITATION ARE:1
2
3
4
BIBLIOGRAPHY
1
2
3
4
5