ATM Documentation DOCUMENT
ATM Documentation DOCUMENT
CONTENTS
Acknowledgement 2
Certificate of Approval 3
Declaration 4
_______________________________________________________
About Project 5
Features of ATM 7
Features of Banking 9
Introduction to Visual basic 12
Data ControlsS 15
ActiveX Data Model 20
Microsoft Access 23
What is SDLC 26
Hardware requirements 37
System Security 37
Data Flow Diagrams 40
Data Dictionary 41
Normalized Tables 42
Data Flow Diagrams 48
E-R Diagrams 51
Forms 53
Coding 68
Reports 112
Report’s Coding 117
Validations to be Used 121
Limitations of the Project 122
Future Scope of the Project 123
Bibliography 124
ATM-cum-Banking System 2
ACKNOWLEDGEMENT
list here only few of them. We are extremely thankful to her for devoting
his valuable time and imparting knowledge to me. With her able guidance
cared hurdles.
Lastly, we thank to our parents and friends for the moral boost and
Manavdeep Kaur
MSc (IT)
ATM-cum-Banking System 3
CERTIFICATE
Supervised By:
DECLARATION
Manavdeep Kaur
ATM-cum-Banking System 5
ABOUT PROJECT
ATM is the Automated Teller Machine .It is also called by the name Any
Time Money i.e., a client can withdraw or transfer money at any time of
the day. With the advent of computerization any work can be done with
ATM .With ATM one can withdraw money from his account within few
minutes as well as not wasting time in standing queues. The ATM card
holders account is also secured. The ATM card holder is provided with a
account is not possible. In case client loses his debit card no other person
can access the account. The client can transfer the amount to any client
account. The client can also pay the bill without going to bill pay office.
All these facilities are very beneficial for today person life.
The clients who don't have ATM cards are also provided with
same facilities in the bank. The administrator that is the person who heads
our system creates new account issue ATM cards, edit accounts and close
the person who knows the correct ID and password can access the
behalf of the person who don't have ATM card. The administrator has
also keeps the record of balance available in the machine and also updates
the amount in the machine. Client can get the information regarding the
balance available in his account. He can also get the record of last few
FEATURES OF ATM
are as follows:
need not to fill any forms and also not required to stand in the queues. All
we need is our Debit card and must our Pin number. We can withdraw
a. Easy Cash-: With this facility client need not to fill the amount
which various amounts like Rs.500,Rs.1000 etc are written and client just
click on the button and the amount mentioned on that particular button is
withdrawn
available balance in the account of the card holder. If the amount entered
2. Bill Pay-: Client is also provided with the facility of bill payment. He
can pay his landline as well as mobile bills. His bill amount is also
3. Transfer-: Client can transfer money from his account to some other
client's account. For this he need to know the account number of the
4. Mini Statement-: Client can get the report of his last eight days
5. Change Pin-: Client can also change his password. This feature adds
to the security of the client account in case his old password is leaked out.
ATM-cum-Banking System 9
FEATURES OF BANKING
Our system also provides the client with the banking facility which is
withdraw money from his account. He can also money from his account
1. Withdraw-: Client can also withdraw amount from his account. In this
2. Deposit-: Client can also deposit money in his account. The deposited
Requirement Analysis
In early days when we did not had ATM systems then a person had to
wait a long in order to get money. He can only get money withdrawn
from banks at office hours. In case there was the emergency he can not
get the money withdrawn from the banks quickly. He has to wait. But
extent.
ATM-cum-Banking System 10
1. The client has to fill forms before withdrawing the money then these
forms were given to he administrator who compares the amount with the
2. The bank has to keep the records of the personal information of clients
references. Adding date to files and then updating the files was very time
consuming.
3. The bank also had the tough job of issuing account numbers. Every
time a request for a new account is generated bank has to check the
previous account numbers being issued to the clients, then it checks for
close account numbers so that new number is unique i.e., it is not same as
4. The bank has to update the user balance after each transaction being
More Accuracy:
All the calculations are performed using computers there is less chance of
More Security:
Quick Response:
TOOLS/ENVIRONMENT USED
VISUAL BASIC: The “Visual” part refers to the method used to create
the graphical user interface (GUI). Rather than writing numerous lines of
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
history of computing. Visual Basic has evolved from the original BASIC
can create useful applications by learning just a few of the keywords, yet
windows programming language and it has become must software for all
ATM-cum-Banking System 13
Project
Form Properties Explorer
Tool Box
Visual Basic 6.0 has its origin in Basic which was developed round
about the year 1960, when high level languages were just being
Starting with the version 3.0 and then with 4.0 and then with 6.0. Basic is
in windows environment.
driven mean the user is in control of the application. The user generates a
stream of event each time he/she click with the mouse or press a key on
the keyboard.
different aspect of your application as object and develop and test those
system. This mean that your visual basic application will look and behave
You can create these ActiveX control, DLL’s, and add-ins with visual
basic 6 or buy them off the shelf from a large number of third party
software vendors. in fact, one of the major influences driving the rapid
ActiveX control .
DATA CONTROLS
A Label control is a graphical control you can use to display text that a
when the Checkbox is cleared. Use this control to give the user a
to display multiple choices from which the user can select one or more.
You can also set the value of a Checkbox programmatically with the
Value property.
options from which the user selects only one. You group Option Button
List Box control—users can enter information in the text box portion or
A List Box control displays a list of items from which the user can select
one or more. If the number of items exceeds the number that can be
Scroll bars provide easy navigation through a long list of items or a large
current position. You can use a scroll bar as an input device or indicator
of speed or quantity
event to occur. The Timer control, invisible to the user, is useful for
background processing.
field that allows easy date selection. In addition, users can select a date
group of file folders. By using a Tab Strip control, you can define
multiple pages for the same area of a window or dialog box in your
application.
status data. The Status Bar can be divided up into a maximum of sixteen
index, the files and directories on a disk, or any other kind of information
of which can be referred to by its index or key. The Image List control is
The Enter key is used to go to the next command or text box this key is
The MSChart control is associated with a data grid (Data Grid object).
This data grid is a table that holds the data being charted. The data grid
can also include labels used to identify series and categories on the chart.
The person who designs your chart application fills the data grid with
array.
container for other controls. Only one tab is active in the control at a
time, displaying the controls it contains to the user while hiding the
All visual basic developer follows as they prepare programs destined for
the user’s desktop. Each of these steps is described in detail in the section
follow:
These steps are not symmetrical. some steps take longer than other do,
and you will repeated several steps as the initial application design is
refined and enhanced. You will spend most of your development time in
the first four steps. The visual basic package and development wizard to
ADO, the model is designed to enable you to create a record set object
3. Record set represents the set of records collected from the query issued
The connection object has a collection child object called Errors to hold
parameters for queries. The record set also has a child collection object,
fields, to hold information about each field in the recordset. Finally, the
ADO model has number of unique properties not encountered with the
generated, the movement of the pointer within the set, and your access
rights within the data connection. There are five properties of the ADO
1. connection string
2. command text
3. command types
ATM-cum-Banking System 22
4. cursor locations
5. cursor type
6. lock type
Connection String:
The ADO model uses the connection string property to indicate the OLE
DB provider to use to the data store, along with all the details needed to
complete the data connection. A typical connection string has two parts:
Provider=<provider name>;
Command Text
The command text property of the ADO model is the property that holds
the actual data request query. The syntax of this data request depends on
provider you are using. For example, this request is valid when using the
PIVOT deposit
and for storing data. It can support a number of users together handle high
objects, known as schema objects, which define how you see the
Table – A table, which consists of a table name and rows and columns of
data, is the basic logical storage unit in the Access database. Columns are
defined by name and data type .a table is within a table space; often,
one table that shares a common column. If data in two or more tables is
ATM-cum-Banking System 24
even though they are part of a clustered table. Because of the structure of
the cluster, related data requires much less I/O overhead if accessed
simultaneously.
columns. Access to the table based on the value of the indexed columns
not store any data .A view can be queried, updated, and deleted as a table
WHAT IS SDLC?
a prescribed order.
may occur again following system evaluation if the system still requires
Cycle we need to recognize that candidate system that has a life cycle.
System analysis and design are keyed to the system life cycle.
ATM-cum-Banking System 26
The term ‘system’ is derived from the greek word systema, which
objectives
the study and solution of problem using computer based systems. System
The system approach is the way of thinking about the analysis and design
the system. System analysis and design focus on system, process and
technology.
ATM-cum-Banking System 27
The SDLC is how all systems are created. It is a very powerful technique
With it help you get closest view of the system which then helps to create
it because you are familiar with all sorts of components of the system .It
provides a perfect outline for the system using which the system is
created successfully.
ATM-cum-Banking System 28
Feasibility study
1.) What are the user’s demonstrable needs and does a candidate
2.) What resources are available for the candidate system? Is the
organization and how well does it fit on the organization’s master plan?
SYSTEM DESIGN:
The system design goes through two phases of development: logical and
physical.
Logical design:
The Data Flow Diagrams shows the logical flow of the system it basically
describes the input to be derived from the system, the database used and
1. Reviews the current physical system it’s data flows, file contents,
volume, frequency.
After logical design physical design follows. This produces the working
Physical design:
3. Revise the test and implementations plan and specify new hardware
and software
System design is the most creative and challenging pha8se of the system
life cycle. The term design describes a final system and the process by
produced and in what format. Second, the input data and the master
output. The final report prior to the implementation phase include flow
charts, record layout, reports and a workable plan for implementing the
beneficial results at the end. The design phase is the transition from user’s
Problem Definition
Input/output specification
Database design
SOURCE DOCUMENTS
into the system from keyboard, punch card or diskettes. The may be or
may be not retained by the system. Thus, each source document may be
evaluated in terms of –
should be clearly identified and should specify for the user what to write
the user enters data i.e. his name and other particulars. Through many
ATM-cum-Banking System 32
input devices are available the data in our software, entry can be done
There are three major approaches for entering data into the computer:
1) MENUS
2) FORMATTED FORMS
3) PROMPTS
MENUS
A menu is a selection list that simplifies data access or entry. They are
while getting information and also during a test. All the buttons in a form
FORMATED FORMS
A formatted form is a pre printed form or a template that requests the user
form. The form is usually embedded inside a web page on the screen as a
unit. The cursor is usually positioned at the first blank. After the user
completed. During this, the user may move the cursor up, down, right or
forms are used in our project like student information entry form,
PROMPTS
In prompt, the system displays one enquiry at a time asking the user for
information.
message.
OUTPUT DESIGN
Output is the most important and direct source of information to the user.
systems relationships with the user and help in decision making. A major
form of output is hard copy from the printer. Print outs are designed
around the output requirements of the user. The output devices depend on
the factors such as compatibility of the devices with the system, response
to bring the results of processing to the user. The output must be designed
around the requirement of the user. The output devices are considered
with the system, response time requirements, expected print quality etc.
e. Volume of output
f. Quality
g. Type of stationary
a. Printers.
c. Monitors
d. Plotters.
In addition the print format must also be considered. The printed output
c. Properly readable
TESTING
has been fully tested. This stage is very important as at this stage it is
or not. Moreover, all validations are also checked in the testing stage.
assumption that if all parts of the system are Correct, the goal will be
that may not appear until months later. A small system error can
the process translates directly into long-term cost saving From a reduced
number of errors.
ATM-cum-Banking System 36
implementation.
faults, during testing can make the software more reliable. This increases
HARDWARE REQUIREMENTS
MONITOR VGA
SOFTWARE REQUIREMENT
Ms - Access
SYSTEM SECURITY
As computers have become a part of every day life and more and more
are concerned about the security and integrity of the information residing
3. Fire
4. Natural disasters
5. External attacks
data can be easily copied. Information can also be entered directly into
Control Measures
After system security risks have been evaluated the next step is to select
the measures those are internal and external to the facility. These
In the proposed system proper care has been taken of first data accesses
that a user may take to the system. Well, nothing can be said or done
DFD SYMBOLS
Data Dictionary
includes:
Name
Type
Range of values
Access authorization
ATM-cum-Banking System 42
NORMALIZED TABLES
ATM-cum-Banking System 43
ADMIN_ID TEXT 30
PASSWORD TEXT 10
BAL NUMBER 30
ACCOUNT_NO NUMBER 20
FORM_NO NUMBER 10
NAME TEXT 30
FATHER_NAME TEXT 30
CONTECT_NO NUMBER 12
GENDER TEXT 20
PINCODE NUMBER 10
IDENTITY TEXT 30
ACC_STATUS TEXT 10
DATE_OF_ACC_ISSUE DATE
ATM-cum-Banking System 44
EMAIL_ID TEXT 30
OCCUPATION TEXT 30
FAX TEXT 30
BRANCH_CODE TEXT 20
DAILY_LIMITS NUMBER 30
DEBIT_CARD_NO NUMBER 30
PIN NUMBER 10
DATED DATE
ACCOUNT_NO NUMBER 20
DBTCARD_STATUS TEXT 30
EXPIRY_DATE DATE
ADMIN_ID TEXT 20
DATED DATE
TRANS_BAL NUMBER 20
BAL NUMBER 30
ATM-cum-Banking System 45
USERNAME TEXT 20
PASSWORD TEXT 20
FORM_NO NUMBER 10
NAME TEXT 30
FATHER_NAME TEXT 30
CONTECT_NO NUMBER 12
GENDER TEXT 10
DOB DATE
AGE NUMBER 5
PINCODE NUMBER 20
IDENTITY TEXT 30
NATIONALITY TEXT 30
OCCUPATION TEXT 20
ACC_TYPE TEXT 30
OPENING_BAL NUMBER 20
ATM-cum-Banking System 46
DATED DATE
STATUS TEXT 20
ATM_STATUS TEXT 20
EMAIL_ID TEXT 35
FAX NUMBER 10
FORM_NO NUMBER 10
NAME TEXT 30
RELATION TEXT 20
DOB DATE
AGE NUMBER 10
ACC_NO NUMBER 20
SR_NO NUMBER 10
DEBIT_CARD NUMBER 30
ACC_NO NUMBER 20
ATM-cum-Banking System 47
DATED DATE
TRANSCATION_TYPE TEXT 20
AMOUNT NUMBER 30
AVL_AMOUNT NUMBER 30
ACC_NO NUMBER 20
DEBIT_CARD NUMBER 30
BALANCE NUMBER 30
DATED DATE
ATM-cum-Banking System 48
Administrator
Atm_Balance
Login
Form Transact
Amount
Correct
Admin_Login Close
Account
New Edit
Account Account
Account_info
New_Account
ATM-cum-Banking System 50
Debit Card
Holder
Atm_Balance
Login
Form Transact
Amount
Correct
User_Login Mini
Statement
Balance
Balance
ATM-cum-Banking System 51
E-R DIAGRAMS
ATM-cum-Banking System 52
Password Transact
money
Logs MDIFORM
Administrator into
Admin ID New
Account
Editing
Pin No Transact
money
Enters ATM
Debit Card Holder
Fast Cash
ATM-cum-Banking System 53
FORMS
SPLASH FORM
ATM-cum-Banking System 54
FRONT FORM
ATM-cum-Banking System 55
ADMIN_LOGIN FORM
ATM-cum-Banking System 56
MDI FORM
ATM-cum-Banking System 57
ACCOUNT_ISSUE FORM
ATM-cum-Banking System 59
ATM_ISSUE FORM
ATM-cum-Banking System 60
FRM_EDIT FORM
ATM-cum-Banking System 61
FRM_ATMREFILL FORM
ATM-cum-Banking System 62
ATM_MENU FORM
ATM-cum-Banking System 64
FRM_EASYCASH FORM
ATM-cum-Banking System 65
FRM_FASTCASH FORM
ATM-cum-Banking System 66
FRM_BALANCE FORM
ATM-cum-Banking System 67
CODING
ATM-cum-Banking System 68
Acc_Issue_No
If Rec2.EOF Then
txt_acc.Text = 1002001101
Else
Rec2.MoveLast
txt_acc.Text = Rec2(0) + 1
End If
cmd_acc.Visible = False
Cmd_Save.Visible = True
End Sub
Unload Me
End Sub
"," & txt_form.Text & ",'" & txt_name.Text & "','" & txt_father.Text &
"','" & txt_address.Text & "'," & txt_contect.Text & ",'" &
txt_gender.Text & "'," & txt_pincode.Text & ",'" & txt_identity.Text &
conn.Execute ("Update nominee set acc_no=" & txt_acc.Text & " where
atm_issue.txt_name.Text = txt_name.Text
atm_issue.txt_AcType.Text = txt_AcType.Text
atm_issue.Txt_OpenBal.Text = Txt_OpenBal.Text
atm_issue.txt_date.Text = txt_date.Text
atm_issue.Txt_Frm.Text = txt_form.Text
atm_issue.txt_acc.Text = txt_acc.Text
atm_issue.Show
Unload Me
End Sub
Sub fill_fields()
txt_form.Text = Rec(0)
txt_name.Text = Rec(1)
txt_father.Text = Rec(2)
txt_address.Text = Rec(3)
txt_contect.Text = Rec(4)
txt_gender.Text = Rec(5)
ATM-cum-Banking System 70
Txt_Age.Text = Rec(7)
txt_pincode.Text = Rec(8)
txt_identity.Text = Rec(9)
txt_nationality.Text = Rec(10)
txt_occupation.Text = Rec(11)
txt_AcType.Text = Rec(12)
Txt_OpenBal.Text = Rec(13)
txt_email.Text = Rec(17)
txt_fax.Text = Rec(18)
txt_namenom.Text = Rec1(1)
txt_add.Text = Rec1(2)
txt_relation.Text = Rec1(3)
txt_agenom.Text = Rec1(5)
End Sub
Call Make_Connection
Rec.Open
Rec1.Open
Rec2.Open
cmd_acc.Visible = True
Cmd_Save.Visible = False
Call Fill_COmbo
End Sub
If Rec.EOF Then
Else
If Rec1.EOF Then
ATM-cum-Banking System 72
Else
Call fill_fields
End If
End If
End If
End Sub
If Rec.EOF Then
Else
If Rec1.EOF Then
Else
Call fill_fields
End If
End If
End Sub
Sub Fill_COmbo()
ATM-cum-Banking System 73
Rec.Requery
txt_form.Clear
Rec.MoveFirst
txt_form.AddItem (Rec(0))
Rec.MoveNext
Wend
End If
End Sub
ATM-cum-Banking System 74
Admin_Login Form
Dim i As Integer
frm_front.Show
Unload Me
End Sub
Else
MDIbank.Show
Unload Me
Unload frm_front
Else
vbOKOnly
TXT_PASS.Text = ""
txt_name.Text = ""
ATM-cum-Banking System 75
txt_name.SetFocus
i=i+1
End If
End If
If i = 3 Then
vbOKOnly
End
End If
End Sub
Call Make_Connection
Rec.Open
i=0
End Sub
ATM-cum-Banking System 76
Atm_Issue Form
conn.Execute ("insert into balance values(" & txt_acc.Text & "," &
AccNo = txt_acc.Text
AccountReport.Show
Unload Me
End Sub
Unload Me
End Sub
If Rec3.EOF Then
ATM-cum-Banking System 77
Txt_Debit.Text = "1060210000105001"
Else
Rec3.MoveLast
Txt_Debit.Text = Rec3(2) + 1
End If
End Sub
End Sub
ATM-cum-Banking System 78
Atm_Login Form
Dim i As Integer
Rec.Requery
vbOKOnly
Else
DbtNo = TXT_DBT.Text
AccNo = Rec(5)
MDIbank.Show
MDIbank.admin.Visible = False
MDIbank.trans.Visible = False
MDIbank.abu.Visible = False
frm_atm_menu.Show
Unload Me
Unload frm_front
Else
i=i+1
TXT_PIN.Text = ""
End If
Else
TXT_DBT.Text = ""
TXT_PIN.Text = ""
i=i+1
End If
End If
If i = 3 Then
End
End If
End Sub
Unload Me
End Sub
i=0
Call Make_Connection
ATM-cum-Banking System 80
dbtcard_Status='Working'"
Rec.Open
End Sub
ATM-cum-Banking System 81
Balance Form
Unload Me
frm_atm_menu.Show
End Sub
Txt_Bal.Text = ""
Call Make_Connection
Rec.Open
Txt_Bal.Text = Rec(2)
Call Trans_Incr
conn.Execute ("Insert into transactions values(" & TransNo & "," &
DbtNo & "," & AccNo & ",'" & Format(Date, "DD-MMM-YYYY") &
If aa = 1 Then
TransactionSlip.Show
End If
ATM-cum-Banking System 82
End Sub
ATM-cum-Banking System 83
Easy_Cash Form
Else
conn.Execute ("update balance set balance=" & amt & ", dated='" &
Call Trans_Incr
conn.Execute ("Insert into transactions values(" & TransNo & "," &
DbtNo & "," & AccNo & ",'" & Format(Date, "DD-MMM-YYYY") &
TransactionSlip.Show
End If
End Sub
Unload Me
End Sub
Call Make_Connection
DbtNo
Rec.Open
End Sub
ATM-cum-Banking System 85
Fast_Cash Form
Call check(Command1(Index).Caption)
End Sub
frm_atm_menu.Show
Unload Me
End Sub
Call Make_Connection
DbtNo
Rec.Open
End Sub
Rec.Requery
Else
ATM-cum-Banking System 86
amt = Rec(2) - a
conn.Execute ("update balance set balance=" & amt & ", dated='" &
atmbal = atmbal - a
Call Trans_Incr
conn.Execute ("Insert into transactions values(" & TransNo & "," &
DbtNo & "," & AccNo & ",'" & Format(Date, "DD-MMM-YYYY") &
TransactionSlip.Show
End If
End Sub
ATM-cum-Banking System 87
Frm_AtmMenu Form
frmAbout.Show
End Sub
BALANCE.Show
End Sub
Frm_ChangePIN.Show
End Sub
EASY_CASH.Show
End Sub
End
End Sub
FAST_CASH.Show
End Sub
MiniBank.Show
End Sub
frm_transferamount.Show
End Sub
Timer1.Enabled = True
End Sub
Ist.Visible = True
IInd.Visible = False
IIIrd.Visible = False
Timer2.Enabled = True
Timer3.Enabled = False
End Sub
ATM-cum-Banking System 89
IInd.Visible = True
Ist.Visible = False
IIIrd.Visible = False
Timer1.Enabled = False
Timer3.Enabled = True
End Sub
IIIrd.Visible = True
Ist.Visible = False
IInd.Visible = False
Timer1.Enabled = True
Timer2.Enabled = False
End Sub
ATM-cum-Banking System 90
Frm_Atmrefill Form
conn.Execute ("Insert into admin_bal values('" & ADMINID & "','" &
Rec.Requery
Val(Txt_TransAmt.Text)))
Adodc1.Refresh
End Sub
Unload Me
End Sub
Call Make_Connection
Rec.Open
ATM-cum-Banking System 91
TxtBalance.Text = Rec(2)
Adodc1.ConnectionString =
Info=True"
Adodc1.CommandType = adCmdText
Adodc1.Refresh
End Sub
ATM-cum-Banking System 92
Frm_Edit Form
txt_agenom.Text & " WHERE ACC_NO=" & txt_acc.Text & " ")
End Sub
ATM-cum-Banking System 93
Unload Me
End Sub
If Rec2.EOF Then
Else
Call fill_fields
End If
End Sub
Call Make_Connection
Rec.Open
Rec1.Open
Rec2.Open
End Sub
Sub fill_fields()
txt_form.Text = Rec2(1)
txt_name.Text = Rec2(2)
txt_father.Text = Rec2(3)
txt_address.Text = Rec2(4)
txt_contect.Text = Rec2(5)
txt_gender.Text = Rec2(6)
txt_pincode.Text = Rec2(7)
txt_identity.Text = Rec2(8)
txt_occupation.Text = Rec2(13)
txt_AcType.Text = Rec2(9)
txt_email.Text = Rec2(12)
txt_fax.Text = Rec2(13)
txt_namenom.Text = Rec1(1)
txt_add.Text = Rec1(2)
txt_relation.Text = Rec1(3)
txt_agenom.Text = Rec1(5)
TXT_BRCODE.Text = Rec(0)
txt_DAILY.Text = Rec(1)
Txt_Debit.Text = Rec(2)
End Sub
ATM-cum-Banking System 96
Frm_Front Form
ADMIN_LOGIN.Show
End Sub
ATM_LOGIN.Show
End Sub
End
End Sub
Me.Left = 2775
Me.Top = 2610
End Sub
ATM-cum-Banking System 97
Frm_NewAccount Form
txt_name.SetFocus
txt_father.SetFocus
txt_address.SetFocus
txt_occupation.SetFocus
txt_fax.SetFocus
Txt_Age.SetFocus
ATM-cum-Banking System 98
txt_email.SetFocus
txt_contect.SetFocus
cmb_gender.SetFocus
txt_pincode.SetFocus
txt_identity.SetFocus
txt_nationality.SetFocus
txt_dob.SetFocus
txt_namenom.SetFocus
txt_add.SetFocus
txt_dobnom.SetFocus
txt_agenom.SetFocus
txt_relation.SetFocus
Cmb_AcType.SetFocus
Txt_OpenBal.SetFocus
Else
& txt_name.Text & "','" & txt_father.Text & "','" & txt_address.Text &
"'," & txt_contect.Text & ",'" & cmb_gender.Text & "','" &
conn.Execute ("insert into nominee values(" & txt_form.Text & ",'" &
txt_namenom.Text & "','" & txt_add.Text & "','" & txt_relation.Text &
MsgBox ("saved")
Call clear_feild
Call form_inc
End If
End Sub
Sub form_inc()
Rec.Requery
If Rec.EOF Then
txt_form.Text = 101
Else
ATM-cum-Banking System 101
Rec.MoveLast
txt_form.Text = Rec(0) + 1
End If
End Sub
Sub clear_feild()
txt_name.Text = ""
txt_father.Text = ""
txt_address.Text = ""
txt_contect.Text = ""
cmb_gender.Text = ""
txt_dob.Text = ""
Txt_Age.Text = ""
txt_pincode.Text = ""
txt_identity.Text = ""
txt_nationality.Text = ""
txt_occupation.Text = ""
Cmb_AcType.Text = ""
Txt_OpenBal.Text = ""
txt_email.Text = ""
txt_fax.Text = ""
txt_namenom.Text = ""
txt_add.Text = ""
ATM-cum-Banking System 102
txt_relation.Text = ""
txt_dobnom.Text = ""
txt_dobnom.Text = ""
txt_agenom.Text = ""
End Sub
Unload Me
End Sub
Call Make_Connection
Rec.Open
Call form_inc
End Sub
ATM-cum-Banking System 103
Frm_Splash Form
Me.Left = 2985
Me.Top = 3000
End Sub
ProgressBar1.Value = ProgressBar1.Value + 1
frm_front.Show
Unload Me
End If
End Sub
ATM-cum-Banking System 104
FrmAbout Form
Me.Left = 4500
Me.Top = 3345
End Sub
ATM-cum-Banking System 105
MdiBank Form
Frm_ATMTrans.Show
End Sub
acc_issue_no.Show
End Sub
Frm_ATMBalance.Show
End Sub
Frm_ATMRefill.Show
End Sub
Frm_AccountClose.Show
End Sub
ATM-cum-Banking System 106
FRM_EDIT.Show
End Sub
Unload Me
frm_front.Show
End Sub
Frm_NewAccount.Show
End Sub
Frm_ChangePass.Show
End Sub
frmAbout.Show
End Sub
ATM-cum-Banking System 107
Atm_Module Form
Sub main()
Call Make_Connection
atmbal = Rec(2)
ADMINID = Rec(0)
Frm_Splash.Show
'MDIbank.Show
End Sub
Sub Make_Connection()
conn.ConnectionString = "Provider=MSDAORA.1;Password=tiger;User
conn.Open
ATM-cum-Banking System 108
With Rec
.ActiveConnection = conn
.CursorLocation = adUseClient
.CursorType = adOpenDynamic
.Open
End With
With Rec1
.ActiveConnection = conn
.CursorLocation = adUseClient
.CursorType = adOpenDynamic
.Open
End With
With Rec2
.ActiveConnection = conn
.CursorLocation = adUseClient
.CursorType = adOpenDynamic
.Open
End With
With Rec3
.ActiveConnection = conn
.CursorLocation = adUseClient
.CursorType = adOpenDynamic
.Open
End With
With trans
.ActiveConnection = conn
.CursorLocation = adUseClient
.CursorType = adOpenDynamic
.Open
End With
End Sub
Sub Trans_Incr()
trans.Requery
If trans.EOF Then
ATM-cum-Banking System 110
TransNo = 10001
Else
trans.MoveLast
TransNo = trans(0) + 1
End If
End Sub
ATM-cum-Banking System 111
REPORT
S
ATM-cum-Banking System 112
ATM-cum-Banking System 113
ATM-cum-Banking System 114
ATM-cum-Banking System 115
ATM-cum-Banking System 116
REPORT’S
CODING
ATM-cum-Banking System 117
AccoutReport
Load DataEnvironment1
End Sub
Unload DataEnvironment1
End Sub
ATM-cum-Banking System 118
MiniBank
Load DataEnvironment1
DbtNo
End Sub
Unload DataEnvironment1
End Sub
ATM-cum-Banking System 119
Transaction Slip
Load DataEnvironment1
End Sub
Unload DataEnvironment1
End Sub
ATM-cum-Banking System 120
To save the records in any form, all the text boxes should be filled and
correct.
Any customer cannot withdraw money larger than limit of debit card.
ATM-cum-Banking System 121
To withdraw money from Atm Machine, user must enter his debit
card number.
ATM-cum-Banking System 122
In the future, user may swaps the card and enter his Pin number
Bibliography
http://www.google.com
http://www.cs.queensu.ca/FAQs/SE/case.html
http://www.rspa.com