Beruflich Dokumente
Kultur Dokumente
Banking
System
Submitted by :-
PREFACE
This project is in partial fulfillment of BCA. It used
Visual Basic 6.0 and Microsoft Access. Both these are very
popular development tools in the market. We have develop
the Banking Management System that it can be integrated
easily with any of it’s larger software by making none or
minor changes or, if required, it can be implemented as a
stand alone software. Our current project is contributing to
these requirements.
3 Development Tools
Visual Basic
M.S. Access
M.S. Word
ABOUT
THE
PROJECT
About the
Project
In an existing system, user should go to the BANK
and ask for the open new account and withdrawn of the
money and the deposit of money and get at the same
time facality. So customer should spend time for the
bank transaction. It is main drawback of the existing
system.
DEVELOPMEN
T
TOOLS
About the Visual
Basic:
Visual Basic is a superset of the visual basic for applications
programming language, which is included with most of the
office products.
M.S.Word
DICTIONAR
Y
Cust_master
Cust_id number
Acc_no Text
Name Text
Address Text
City Text
Pincode Text
State Text
Bdate Text
Cno Text
Acc_type Text
Open_date Date/Time
open_amount Text
Current_amount Text
Remark Text
Table Use:
This table is used to store the data about the Customer information.
Withdrawn
Fields Type
Transaction_Id Text
Account_No Text
Narration Text
Withdrawn_Amt. Text
Date Date/Time
Remaining_Amt. Text
Table
Table Use:
This table is used to store the data about the withdrawn transaction detail
of the customer.
Deposit
Fields Type
Transaction_Id Text
Account_No. Text
Narration Text
Deposite_Amount Text
Mode Text
Bankname Text
Cheque_no. Text
Date Date/Time
Remaining_Amout Text
Table Use:
This table is used to store the data about the deposit transaction detail of
the costumer.
Bank Profile
Fields Type
bank_name text
branch_no text
Address Text
City Text
Pincode Text
co_no Text
State Text
Country Text
min_balance Text
Table Use:
This table is used to store the data about the Bank profile.
userprofile
Fields Type
Uname text
Pwd text
Fullname Text
Address Text
Contact Text
Email Text
Brithdate Date/time
Table Use:
This table is used to store the data about the User information.
DATA
FLOW
DIAGRAM
E-R Diagram
Customer
NEW A/c.
WITHDRAWL
BILL
FORMS
&
CODING
Login form
Option Explicit
Dim rs As New ADODB.Recordset
KeyAscii = validate_alphanumeric(KeyAscii)
End Sub
Splash
Form
Dim i As Integer
Dim rs As New ADODB.Recordset
End Sub
MDI Form
Private Sub MDIForm_Load()
MDIForm1.mnuadministrator.Visible = False
MDIForm1.mnubankprofile.Visible = False
End Sub
rs.Close
End Sub
User profile
Option Explicit
calendardob.Visible = False
End Sub
Private Sub Calendar1_Click()
End Sub
txtpassword.Text = ""
txtfullname.Text = ""
txtaddress.Text = ""
txtcontact.Text = ""
txtemail.Text = ""
End If
End Sub
calendardob.Visible = False
End Sub
If KeyAscii = 8 Then
KeyAscii = 8
ElseIf KeyAscii = 32 Then
KeyAscii = 0
End If
KeyAscii = validate_alphanumeric(KeyAscii)
End Sub
mode = "a"
Call txt_empty
Call tabindex
cmdsave.Enabled = True
cmddel.Enabled = False
cmdupdate.Enabled = False
cmdreset.Enabled = True
txtname.SetFocus
cmdadd.Enabled = True
unlock_form_control Me
generate_new_accountno
generate_new_transaction
cmdadd.Enabled = False
txtopen_dt.Text = Date
state_combo.ListIndex = 0
sex_combo.ListIndex = 0
acc_type_combo.ListIndex = 0
txtcust_id.Enabled = False
txtacc_no.Enabled = False
Call tabindex
cmdsave.tabindex = 13
cmdreset.tabindex = 14
cmdcancel.tabindex = 15
End Sub
txtremark.Text = ""
cmdreset.Enabled = False
cmdupdate.Enabled = False
cmddel.Enabled = False
cmdadd.Enabled = True
cmdsave.Enabled = False
lock_form_control Me
End Sub
End Sub
End Sub
msflg1.TextMatrix(0, 0) = "Customer_id"
msflg1.TextMatrix(0, 1) = "Account_no"
msflg1.TextMatrix(0, 2) = "Name"
msflg1.TextMatrix(0, 3) = "Address"
msflg1.TextMatrix(0, 4) = "City"
msflg1.TextMatrix(0, 5) = "Pin Code"
msflg1.TextMatrix(0, 6) = "State"
msflg1.TextMatrix(0, 7) = "Birth_Date"
msflg1.TextMatrix(0, 8) = "Sex"
msflg1.TextMatrix(0, 9) = "Contact_no"
msflg1.TextMatrix(0, 10) = "Account_type"
msflg1.TextMatrix(0, 11) = "Open_Date"
msflg1.TextMatrix(0, 12) = "Open_amount"
msflg1.TextMatrix(0, 13) = "Current_Amt"
msflg1.TextMatrix(0, 14) = "Remark"
cmdupdate.Enabled = False
cmdsave.Enabled = False
cmddel.Enabled = False
cmdreset.Enabled = False
cmdadd.tabindex = 0
cmdcancel.tabindex = 1
lock_form_control Me
Call disp_rec
End Sub
rw = rw + 1
rs_disp.MoveNext
Wend
rs_disp.Close
End Sub
'*************** GENERATE NEW TRANSACTION
ID**********************************
Public Sub generate_new_transaction()
Dim lastnumber As Long, newnumber As Long
rs_disp.Open "Select * from cust_master", Module1.con, adOpenKeyset
If rs_disp.RecordCount <= 0 Then
newnumber = 20000
rs_disp.Close
Else
rs_disp.Close
rs_disp.Open "Select max(cust_id) from cust_master", Module1.con,
adOpenStatic
newnumber = rs_disp.Fields(0) + 1
rs_disp.Close
End If
txtcust_id.Text = newnumber
End Sub
'*****************GENERATE NEW ACCOUNT
NO**************************************
Public Sub generate_new_accountno()
Dim lastnumber1 As Long, newnumber1 As Long
End Sub
'****************EMPTY ALL FROM CONTROL*******************
Public Sub txt_empty()
txtcust_id = ""
txtacc_no.Text = ""
txtname.Text = ""
txtaddress.Text = ""
txtcity.Text = ""
txtpincode.Text = ""
state_combo.Text = ""
sex_combo.Text = ""
txtbdt.Text = ""
txtcontactno.Text = ""
acc_type_combo.Text = ""
txtopen_dt.Text = ""
txtopenamount.Text = ""
txtremark.Text = ""
End Sub
End Sub
'txtacc_no.tabindex = 0
txtname.tabindex = 1
txtaddress.tabindex = 2
txtcity.tabindex = 3
txtpincode.tabindex = 4
state_combo.tabindex = 5
state_combo.ListIndex = 0
sex_combo.tabindex = 6
sex_combo.ListIndex = 0
txtbdt.tabindex = 7
txtcontactno.tabindex = 8
acc_type_combo.tabindex = 9
acc_type_combo.ListIndex = 0
txtopen_dt.tabindex = 10
txtopenamount.tabindex = 11
txtremark.tabindex = 12
End Sub
Withdrawl
form
Option Explicit
Dim tid As String
Dim txt As String
Dim rsw As New ADODB.Recordset
Dim rschk As New ADODB.Recordset
Dim rs_disp As New ADODB.Recordset
Private Sub cbocustomerno_KeyPress(KeyAscii As Integer)
KeyAscii = validate_number(KeyAscii)
End Sub
End If
End Sub
lbldate = Date
Call generate_new_transaction
Call disp_rec
txttransactionid.Enabled = False
txtaccountno.tabindex = 0
cmdsubmit.Enabled = False
End Sub
'****************GENERATE NEW TRANSACTION
ID**********************
Public Sub generate_new_transaction()
Dim lastnumber As Long, newnumber As Long
rsw.Open "Select * from withdrawn", con, adOpenDynamic, adLockOptimistic
If rsw.BOF = True And rsw.EOF = True Then
lastnumber = 15000
Else
rsw.MoveLast
lastnumber = rsw.Fields(0)
End If
newnumber = lastnumber + 1
txttransactionid.Text = newnumber
rsw.Close
End Sub
'*******************DISPLAY RECORD**************************
Private Sub disp_rec()
Dim row, col As Integer
Dim S As String
rs_disp.CursorLocation = adUseClient
rs_disp.Open "select * from withdrawn", Module1.con, adOpenKeyset
msf1.Rows = rs_disp.RecordCount + 1
row = 1
col = 0
While rs_disp.EOF = False
msf1.TextMatrix(row, col) = rs_disp!transactionid
msf1.TextMatrix(row, col + 1) = rs_disp!acc_no
msf1.TextMatrix(row, col + 2) = rs_disp!narration
msf1.TextMatrix(row, col + 3) = rs_disp!withdrawn_amt
msf1.TextMatrix(row, col + 4) = rs_disp!Date
msf1.TextMatrix(row, col + 5) = rs_disp!remaing_amt
row = row + 1
rs_disp.MoveNext
Wend
rs_disp.Close
End Sub
End If
rschk.Close
End If
End Sub
Option Explicit
Dim tid As String
Dim txt As String
Dim rsw As New ADODB.Recordset
Dim rschk As New ADODB.Recordset
Dim rs_disp As New ADODB.Recordset
chkcheque.tabindex = 3
txtbankname.tabindex = 5
txtchequeno.tabindex = 6
chk1.tabindex = 7
cmdsubmit.tabindex = 8
cmdcancel.tabindex = 9
txtchequeno.Visible = False
txtbankname.Visible = False
Label9.Visible = False
Label4.Visible = False
End Sub
'*************GENERATE NEW
TRANSACTION*******************************
Public Sub generate_new_transaction()
Dim lastnumber As Long, newnumber As Long
rsw.Open "Select * from deposit", con, adOpenDynamic, adLockOptimistic
If rsw.BOF = True And rsw.EOF = True Then
lastnumber = 1200000
Else
rsw.MoveLast
lastnumber = rsw.Fields(0)
End If
newnumber = lastnumber + 1
txttransactionid.Text = newnumber
rsw.Close
End Sub
'***********************DISPLAY
FUNCTION****************************
Private Sub disp_rec()
Dim row, col As Integer
Dim S As String
rs_disp.CursorLocation = adUseClient
rs_disp.Open "select * from deposit", Module1.con, adOpenKeyset
msf1.Rows = rs_disp.RecordCount + 1
row = 1
col = 0
While rs_disp.EOF = False
msf1.TextMatrix(row, col) = rs_disp!transactionid
msf1.TextMatrix(row, col + 1) = rs_disp!acc_no
msf1.TextMatrix(row, col + 2) = rs_disp!narration
msf1.TextMatrix(row, col + 3) = Format(rs_disp!depositamount, "0.00")
msf1.TextMatrix(row, col + 4) = rs_disp!mode
msf1.TextMatrix(row, col + 5) = rs_disp!bankname
msf1.TextMatrix(row, col + 6) = rs_disp!chequeno
msf1.TextMatrix(row, col + 7) = rs_disp!Date
msf1.TextMatrix(row, col + 8) = Format(rs_disp!remaing_amt, "0.00")
row = row + 1
rs_disp.MoveNext
Wend
rs_disp.Close
End Sub