Create A Database Table Add Fields and Enter Data
Create A Database Table Add Fields and Enter Data
Create a database in Access 2016 from either the File menu or the Welcome
screen. Create a blank database or choose a template.
Microsoft Access 2016 allows you to create either a blank database or one that's
based on a template. A template is like a pre-built database that you can use as a
starter for your own database.
In this tutorial, we'll create a blank database, then add tables, data, and other
objects to it.
1
Access 2016 creates a table automatically when you create a blank database. You
can customize this table, then create more using the Create tab.
First, we'll customize that blank table. Then we'll create a new one.
First, we're going to add a field to the existing table. Then we'll rename the existing
field.
2
3
Create a New Table
Now we'll create a new table. This one will contain information on the
albums that the artists release, so we'll call it Albums.
4
Design View can make it easier to set up a table. It provides a different view of the
table to Datasheet View and is typically used to configure the table.
You can use Design View to create a table, set up data types for each field, specify
default values, specify how data should be entered and displayed, and more.
Generally speaking, most tasks can be achieved using either Design View or
Datasheet View, however, there are some advanced settings that can only be
changed in Design View. Also, you might find that you prefer to do certain tasks in
Design View and other tasks in Datasheet View.
5
We will now use Design View to do two things:
So now that we've established that Design View and Datasheet View are just two
ways of looking at the same table, let's go ahead and create a table in Design View.
6
7
8
Set the Field Properties for an Existing Table
You can also use Design View to edit any existing table. Whether the table was
created in Design View or Datasheet View doesn't matter. Any table can be edited
in Design View.
Now we will change some field properties to the table we created previously.
9
10
The Input Mask Wizard helps you create an input mask. An input mask restricts
how data is entered into the database.
In MS Access 2016, you can use the Input Mask Wizard to create an input mask.
An input mask is a set of simple rules that specifies the format in which data can be
entered into a field.
11
12
There are many ways of adding data to an Access 2016 table. You can use a form,
import from an external file, use SQL, and you can enter data directly into the
table.
This tutorial explains several methods of entering data, from using a form, to SQL,
to importing data from an external file.
But let's start off by entering data directly into a table in Datasheet View.
This is probably the most obvious way to enter data into a database. Just open up
the table and start typing.
13