Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 13

ISM 19

DBMS using MS Access


Forms, Tables
1

Previous Session
Database design
Datawarehouse
Data Mining

Todays Session
MS Access Basics
Tables
Forms

MS Access Basics

Database
Tables
Forms
Queries
Relationships
Reports

MS Access Exercise1

Open MS Access
Create blank database
Create table
Change to design view by right
clicking
Name table as contactlist

MS Access Create table - 1


In design view, create table contactlist
with following fields
Contactid Autonumber PK
FirstName Text (25)
LastName Text (25)
Relation Text (25)
Birthdate Date/time (Use Input mask)
(In description, enter date as dd-mm-yyyy)

MS Access Create table - 2


(In design view, create table contactlist
with following fields )
TelephoneNumber Text (11)
City Text (25)
Country Text (25) Lookup from USA,
Canada, India
PostalCodeText (6)

MS Access Create table - 3


(In design view, create table contactlist
with following fields )
Notes Memo
Website Hyperlink
(save the table)
(close the database)
(Exit Access)
8

MS Access Exercise2
Open MS Access, Open database
Select Table contactlist
Shift to dataview by right clicking
and selecting dataview
Enter data

MS Access Exercise3
Create table Markslist with following
fields
Studentid Autonumber PK
StudentName Text(25)
Courseid Number(Integer)
Marks Number(Integer) (>=0) and
(<=10)
Enter sample data
10

MS Access Exercise4
Create Form contactlist for the table
contactlist
Rightclick on form name and go to layout
view
Change the layout and save
Go to Form view
Enter data and save
Go to table and check if data entered using
Form view is present
Try to enter data using layout view
11

MS Access Exercise5
Create Form markslist for the table
markslist
Create the form using Formwizard
(Create -> More Forms -> Formwizard)

12

Summary
MS Access Basics
Tables
Forms

13

You might also like