Loan Repot
Transcript of Loan Repot
-
8/9/2019 Loan Repot
1/32
ABOUT THE PROJECT
This project is made to control the loan management system. This is based on Microsoft visualbasics 6.0.It is used as front end tool. I have also used MS Access as back end tool. This is made
within two weeks.
This project has many features. By this we can control the whole loan management system.
Some features are given below
CUSTOMER DETAIL
LOAN DETAIL
HOME LOAN
LAND LOAN
CAR LOAN
GUARUNTEE
LOGIN FACILITY
PAYMENT DETAIL
SPLASH SCREEN
In this project we can add new customer. And then ask for types of loan offered like home
,land ,car etc .then ask the customer for guarantee terms ,check his or her balance sheet. and after
that payment details and installment.
Some advantages of our project are
Easy to handle
Takes less time to process
Less member required
Cheap and beautiful
Secure
-
8/9/2019 Loan Repot
2/32
REQUIREMENT ANALYSIS
Requirement analysis is a software engineering task that bridges the gap between system level
requirements engineering and software design. Requirement analysis activities results in the
specification of software operational characteristics (function, data and behavior) indicate
software interface with other system elements and establish constraints tat software must meet.
CUSTOMER DETAIL
C_NO
C_NAME
ADDRESS
PH_NO
ACCT_NO
LOAN_AMT
LOAN DETAIL
ACC_NO
LOAN_AMT
PURPOSE OF LOAN
DURATION
HOME LOAN
A/C_NO.
NAME
ADDRESS
TOTAL AREA
BUILD AREA
VALUE
LAND DETRAIL
-
8/9/2019 Loan Repot
3/32
A/C_NO
NAME
ADDRESS_OF_LAND
TOTAL AREA
SHAPE OF LAND
VALUE
GUARANTEE FORM
A/C_NO
G_NAME
G_A/C_NO
ADDRESS
OCCUPATION
YEARLY PROFIT
OTHER INCOME
CAR DETAIL
A/C_NO
NAME
ADDRESS
TYPE
MAKE
VALUE
DEALER
PAYMENT DETAIL
A/C_NO
CUSTOMER_NAME
LOAN_ID
-
8/9/2019 Loan Repot
4/32
AMOUNT
PAYMENT_NO.
AMOUNT TAKEN
AMOUNT LEFT
TOTAL PAYMENTS
PAYMENTS LEFT
-
8/9/2019 Loan Repot
5/32
DESIGN
The desiging before the development of the project is very important phase . a data flow diagramis a graphical representation that depicts the information flow and transforms that are applied as
data moves from input to the output . Design basically creates a representation or model of the
software , but unlikely the analysis model the design model provides the detail about the
software data structure, architecture, interfaces ,and components that are necessary to implement
the system. It allows us to build up a model of the project which tells complete details about our
software.
This step is divided into two levels named as preliminary design (high level design).
And detailed design (low level design)
Preliminary design concerns the brief overview of the software architecture and structure rather
than goes into the details of the module.
This step makes clear the distinction between the requirement analysis step and the designing
step by using the term what/how.
DATABASE DESIGNFor the creation of the database MS-Access 2007 is used in the various tables created init are
connected to the visual basic in order to extract details of the various consumers that are stored in
the tables to perform various functions like loan of payment etc. The tables can acts as a primary
key for it . We have used the following with following details:
TABLE#1 (Login table)
Username
Password
TABLE#2(Home loan)
Name
Address
-
8/9/2019 Loan Repot
6/32
Contact no.
Age
Net salary
Loan req
TABLE#3(eduloan)
Loan no.
D.O.B
Address
Course name
Duration
Amount
Interest
TABLE#4(carloan)
Loan no.
D.O.B
Address
Reference name
Duration
Amount
Interest
TABLE#5(perloan)
Loan no.
D.O.B
-
8/9/2019 Loan Repot
7/32
Address
Reference name
Duration
Amount
Interest
FORM DESIGN
THERE ARE 12 FORMS WHICH ARE USED IN THIS LIBRARY MANAGEMENT
PROJECT
Welcome form
Login form
Add customer
Edit customer
Issue book
Deposit book
Add book
Edit book
Report
-
8/9/2019 Loan Repot
8/32
DATA FLOW DIAGRAM
-
8/9/2019 Loan Repot
9/32
Coding
This is the phase that produces actual code that will be delivered to the customer as the
operational product. To develop the code a specific programming language is chosen eitherthrough its features or directly specified by the customer.
Welcome form
-
8/9/2019 Loan Repot
10/32
Coding
Private Sub Form_Load()
Timer1.Enabled = True
'i = 0
'While i = 100
'i = i + 10
'ProgressBar1.Value = i
'Wend
End Sub
Private Sub Timer1_Timer()
ProgressBar1.Value = ProgressBar1.Value + 10
-
8/9/2019 Loan Repot
11/32
If ProgressBar1.Value >= 100 Then
Timer1.Enabled = False
Label2.Visible = False
MsgBox "Loading complete", vbInformation
Form2.Show
Unload Me
End If
End Sub
Login form
Coding
Private Sub Command1_Click()
If Text1.Text = Data1.Recordset.Fields("username") And Text2.Text =
Data1.Recordset.Fields("password") Then
-
8/9/2019 Loan Repot
12/32
MsgBox "Welcome to the System", vbInformation
MDIForm1.Show
Unload Me
Else
MsgBox "Try again!", vbCritical
End If
End Sub
MDI form
Coding
-
8/9/2019 Loan Repot
13/32
Private
Sub mnuabout_Click()
Load frmSplash
frmSplash.Show
End Sub
Private Sub mnuEDU_Click()
Load Form10
Form10.Show
End Sub
Private Sub mnuExit_Click()
End
End Sub
Private Sub mnuFeedback_Click()
Load Form12
Form12.Show
End Sub
Private Sub mnuHousing_Click()
Load Form3
Form3.Show
End Sub
Private Sub mnuPessonal_Click()
Load Form9
Form9.Show
End Sub
Private Sub mnurepay_Click()
Form13.Show
-
8/9/2019 Loan Repot
14/32
End Sub
Private Sub mnuVechile_Click()
Load Form11
Form11.Show
End Sub
Housing loan
Coding
Private Sub Command1_Click()
If Text1.Text = "" Or Text3.Text = "" Or Text7.Text = "" Or Text9.Text = "" Then
MsgBox "Please fill the details properly", vbExclamation, "Details"
-
8/9/2019 Loan Repot
15/32
Else
Form3.Hide
Form4.Show
End If
End Sub
Private Sub Text9_LostFocus()
If Text9.Text >= 60 Then
MsgBox "Sorry you are not eligible", vbInformation, "Sorry"
End
End If
End Sub
Educational loan
-
8/9/2019 Loan Repot
16/32
Private Sub Cmd_del_Click()
Adodc1.Recordset.Delete
If Adodc1.Recordset.EOF = True Then
Adodc1.Recordset.MoveFirst
Else
Adodc1.Recordset.MoveNext
End If
End Sub
Private Sub Cmd_new_Click()
Adodc1.Recordset.AddNew
Text1.SetFocus
End Sub
Private Sub Cmd_next_Click()
If Adodc1.Recordset.EOF = True Then
Adodc1.Recordset.MoveFirst
Else
Adodc1.Recordset.MoveNext
End If
End Sub
Private Sub cmd_pre_Click()
If Adodc1.Recordset.BOF = True Then
Adodc1.Recordset.MoveLast
Else
Adodc1.Recordset.MovePrevious
End Sub
-
8/9/2019 Loan Repot
17/32
Private Sub Cmd_upd_Click()
Adodc1.Recordset.Update
End Sub
Private Sub Cmd_can_up_Click()
Adodc1.Recordset.CancelUpdate
End Sub
Private Sub Cmd_save_Click()
Adodc1.Recordset.Save
End Sub
Private Sub Command1_Click()
Dim d As Integer, i As Integer, j As Integer, k As Integer
i = 0
j = 0
d = InputBox("enter the the Loan number")
Adodc1.Recordset.MoveFirst
Do While Not Adodc1.Recordset.EOF
If d = Val(Text1.Text) Then
i = i + 1
Adodc1.Recordset.MoveLast
Else
j = j + 1
Adodc1.Recordset.MoveNext
End If
Loop
Adodc1.Recordset.MoveFirst
If i > 0 Then
-
8/9/2019 Loan Repot
18/32
For k = 1 To j - 1 Step 1
Adodc1.Recordset.MoveNext
Next k
MsgBox ("Loan Number Found")
Else
MsgBox ("Loan number Not Found")
End If
End Sub
Private Sub Command2_Click()
Dim a, b As Long
Text10.Text = (Text9.Text) * (85 / 100)
Text12.Text = Text10.Text * (Text11.Text) * (12 / 100)
a = Text10.Text
b = Text12.Text
Text15.Text = a + b
Text16.Text = (Text15.Text) / (Text11.Text * 12)
End Sub
Private Sub Form_Load()
End Sub
-
8/9/2019 Loan Repot
19/32
Personal loan
Private Sub Cmd_del_Click()
Adodc1.Recordset.Delete
If Adodc1.Recordset.EOF = True Then
-
8/9/2019 Loan Repot
20/32
Adodc1.Recordset.MoveFirst
Else
Adodc1.Recordset.MoveNext
Adodc1.Recordset.MoveFirst
End If
End Sub
Private Sub cmd_pre_Click()
If Adodc1.Recordset.BOF = True Then
Adodc1.Recordset.MoveLast
Else
Adodc1.Recordset.MovePrevious
End If
End Sub
Private Sub Cmd_upd_Click()
Adodc1.Recordset.Update
End Sub
Private Sub Cmd_can_up_Click()
Adodc1.Recordset.CancelUpdate
End Sub
Private Sub Cmd_save_Click()
Adodc1.Recordset.Save
End Sub
Private Sub Command1_Click()
Dim a, b As Long
a = Text9.Text
b = Text10.Text
-
8/9/2019 Loan Repot
21/32
Text15.Text = (a - b) * Text12.Text * (85 / 100)
Text16.Text = Text15.Text * (11 / 100)
Text17.Text = Val(Text15.Text) + Val(Text16.Text)
Text18.Text = Text17.Text / (12 * Text12.Text)
End Sub
Private Sub Command9_Click()
Dim d As Integer, i As Integer, j As Integer, k As Integer
i = 0
j = 0
d = InputBox("enter the the Loan number")
If d = Val(Text1.Text) Then
i = i + 1
Else
j = j + 1
Adodc1.Recordset.MoveNext
End If
Loop
Adodc1.Recordset.MoveFirst
If i > 0 Then
For k = 1 To j - 1 Step 1
Adodc1.Recordset.MoveNext
Next k
MsgBox ("Loan Number Found")
Else
MsgBox ("Loan number Not Found")
End If
-
8/9/2019 Loan Repot
22/32
End Sub
Private Sub Form_Load()
End Sub
Vehicle loan
Private Sub Cmd_del_Click()
Adodc1.Recordset.Delete
If Adodc1.Recordset.EOF = True Then
Adodc1.Recordset.MoveFirst
-
8/9/2019 Loan Repot
23/32
Else
Adodc1.Recordset.MoveNext
End If
End Sub
Private Sub Cmd_new_Click()
Adodc1.Recordset.AddNew
Text1.SetFocus
End Sub
Private Sub Cmd_next_Click()
If Adodc1.Recordset.EOF = True Then
Adodc1.Recordset.MoveFirst
Else
Adodc1.Recordset.MoveNext
End Sub
Private Sub Cmd_save_Click()
Adodc1.Recordset.Save
End Sub
Private Sub Command1_Click()
Dim a, b As Long
Text15.Text = Text11.Text * (85 / 100)
Text16.Text = Text15.Text * Text12.Text * (12 / 100)
a = Text15.Text
b = Text16.Text
Text17.Text = a + b
Text18.Text = Text17.Text / (12 * Text12.Text)
-
8/9/2019 Loan Repot
24/32
End Sub
Private Sub Command9_Click()
Dim d As Integer, i As Integer, j As Integer, k As Integer
i = 0
j = 0
d = InputBox("enter the the Loan number")
Adodc1.Recordset.MoveFirst
Do While Not Adodc1.Recordset.EOF
If d = Val(Text1.Text) Then
i = i + 1
Adodc1.Recordset.MoveLast
Else
j = j + 1
End If
Loop
Adodc1.Recordset.MoveFirst
If i > 0 Then
For k = 1 To j - 1 Step 1
Adodc1.Recordset.MoveNext
Next k
MsgBox ("Loan Number Found")
Else
MsgBox ("Loan number Not Found")
End If
End Sub
Private Sub Form_Load()
-
8/9/2019 Loan Repot
25/32
End Sub
Payment form
Dim i, j, k, l As Integer
Private Sub Command1_Click()
Dim d As Variant, i As Integer, j As Integer, k As Integer
-
8/9/2019 Loan Repot
26/32
i = 0
j = 0
d = Text3.Text
Data1.Recordset.MoveFirst
Do While Not Data1.Recordset.EOF
If d = Text1.Text Then
i = i + 1
Data1.Recordset.MoveLast
Else
j = j + 1
Data1.Recordset.MoveNext
End If
Loop
Data1.Recordset.MoveFirst
If i > 0 Then
For k = 1 To j - 1 Step 1
Data1.Recordset.MoveNext
Next k
Print MsgBox("customer available", vbOKOnly)
Else
Print MsgBox("customer not available", vbCritical)
End If
End Sub
Private Sub Command2_Click()
Data1.Recordset.Edit
Data1.Recordset.Update
-
8/9/2019 Loan Repot
27/32
End Sub
Private Sub Command3_Click()
Unload Me
frmMDI.Show
End Sub
Private Sub Command4_Click()
If Text4.Text = "1" Then
Text12.Text = "0"
i = Val(Text5.Text)
j = Val(Text7.Text)
k = j - i
Text8.Text = Str(k)
Else
Text12.Text = Text8.Text
i = Val(Text12.Text)
j = Val(Text5.Text)
k = i - j
Text8.Text = Str(k)
End If
l = Val(Text9.Text - Text4.Text)
Text11.Text = Str(l)
End Sub
-
8/9/2019 Loan Repot
28/32
Feedback form
Dim feedback As String
Option Explicit
Private Sub Command1_Click()
-
8/9/2019 Loan Repot
29/32
feedback = Text1.Text
MDIForm1.Show
Form12.Hide
End Sub
Private Sub Command2_Click()
MDIForm1.Show
Form12.Hide
End Sub
About us
Option Explicit
-
8/9/2019 Loan Repot
30/32
Private Sub Form_KeyPress(KeyAscii As Integer)
Unload Me
End Sub
Private Sub Frame1_Click()
Unload Me
End Sub
Database
-
8/9/2019 Loan Repot
31/32
Testing
The testing can be broadly classified into two types:
1. Black box testing
2. White box testing
Black box testing
It is also called behavioural testing, focuses on the functional requirement of the
software. It enables the software engineer to derive sets of input conditions that
will fully exercise all functional requirements of the program. It is used to find
errors in the following categories:
1. Incorrect or missing functions
2. Interface errors
3. Behaviour or performance errors
4. Errors in data structures
5. Initialization and termination errors
White box testing
It is also known as glass box testing predicted on close examination of procedural
details. Using this type of testing, derived test cases do the following tasks:
1. Guarantee that all independent paths within a module have been exercised at
least once.2. Exercise all logical decisions on their true and false sides.
3. Execute all loops at their boundaries and within their operational bound.
4. Exercise internal data structures to ensure their validity.
With respect to this project checking whether all the command buttons are working
as per the requirements and whether the connectivity between MS Access and
-
8/9/2019 Loan Repot
32/32
visual basic is effectively done. This project has fulfilled all the above
requirements.