1.1.1 Creating A New Database Without Wizards
1.1.1 Creating A New Database Without Wizards
5. Click OK
6. Change the folder to save the database in, if required
Type the
filename here
7. Type the filename for your database – for this lab StrongHold.mdb
8. Click Create -> Database window will appear
17/05/2020 1
Introduction to Database Shazia Abbasi
Creating Tables
Summary of the Four Steps
Creating a table without the wizard has four main steps…
Step Two - Creating the Fields and Deciding the Data Type
1. Click into the first row under field name
Click here
to enter
field name2.
17/05/2020 2
Introduction to Database Shazia Abbasi
A field which
gives you the Full-Time
Yes/No
choice of 'yes' or
'no'
e.g.
17/05/2020 3
Introduction to Database Shazia Abbasi
17/05/2020 4
Introduction to Database Shazia Abbasi
If you do not create a primary key you will be asked about it when
you save the table!
See next section!
If you say yes, you will end up with an extra field in your table called ID.
17/05/2020 5
Introduction to Database Shazia Abbasi
OrderMaster OrderDetail
OrderNo Text SrNo AutoNumber
OrderDate Date OrderNo Text
CCode Text ICode Text
Customer Pending
CCode Text SrNo AutoNumber
CName Text CCode Text
CAddress Text ICode Text
CPhone Text OrderNo Text
OrderDate Date
PQty Number
17/05/2020 6
Introduction to Database Shazia Abbasi
Deleting a Table
There may be occasions when you need to delete a table, however you should only do this if you
really no longer need any of the records it contains! Be particularly careful if the table you are
deleting is related to another table in the database!
4. Click on Yes
Access will warn you if you the table is related to another table in
the database
If you no longer need the table and the relationship can be deleted, click on Yes
and Access will delete the table and the relationship.
17/05/2020 7