Professional Documents
Culture Documents
Introduction To Access and Databases: Dr. K.V.Vishwanatha
Introduction To Access and Databases: Dr. K.V.Vishwanatha
Introduction To Access and Databases: Dr. K.V.Vishwanatha
and Databases
By:
Dr. K.V.Vishwanatha
Professor, Dept. of CSE,
R.V.C.E, Bangalore
Topics
STAFF
Name DOB Role Manager Phone Location Sex
LOCATIONS
ROLES LocationID LocationName
RoleID Title AnnualLeave 01 G23
1 Administrator 1 02 111
2 Teaching Assistant 3 03 323
3 Dean 90
STAFF
ID Firstname Lastname Role Manager DOB Phone Location Sex
Document
in memory
CREATE/ SAVE
EDIT
Word or CREATE/
A record (this
record describes
black ring
binders)
Creating a table
Either:
1. Import from Excel or other source
(File > Get External Data > Import)
2. Create new within Access
(Insert > Table, or choose the “New” option on the database
window)
Keys
One field in a table is normally chosen
to be the key
Key must be unique to each record – for example,
your payroll number or a student’s UCAS number
Access uses the key to perform some of its
operations, such as...
Table relationships
“Students” table:
StudentID LastName FirstName Title TutorID
16012 Johnson Praveen Ms 0002
31526 Hemming Alan Mr 0003
89430 Pike Peter Mr 0003
48612 Turbot John Mr 0001
“Staff” table:
StaffID LastName FirstName Title
0001 Smith Alice Ms
0002 Kerzby Honor Ms
0003 Prentice John Mr
Table relationships
The “Relationships Window”
(Tools > Relationships)
Queries
Queries look like tables
They are used to get data from tables
according to specific needs, eg: address lists;
end-of-year marks
“Dynamic”: when the table is updated, the
query is updated
Forms
Used for entering information into tables
Not “necessary” – but useful
Flexible formatting
Can help ensure that you’re entering the right
data
Forms
Use a database:
To store complex information