MS Access - Lesson 5: Create a table

There are two ways to view tables in Access and add data to the table: Design View and Datasheet View.

Table Views

TipsMake.com - There are two ways to view tables in Access and add data to the table : Design View and Datasheet View .

In Design View mode, you can see all fields with data types and table descriptions (if any).

Picture 1 of MS Access - Lesson 5: Create a table

To view the table in Design View mode:

- Click the down arrow of the View button.

- Choose Design View .

Picture 2 of MS Access - Lesson 5: Create a table

For tables that have been added to the previous database, it may not be viewable (if you want to see it, select that table name, right-click the table and select Design View).

Picture 3 of MS Access - Lesson 5: Create a table
Design view mode for table DMKhach

In Datasheet View mode, you can display records in a table, each line is a record. Column headers are the fields you define for the database.

To view in Datasheet View mode:

- Click the down arrow at the View button.

- Select Datasheet View .

Picture 4 of MS Access - Lesson 5: Create a table
Datasheet View mode for table DMKhach

Add new fields

There are many ways to add new fields to a database. New fields can be added in Datasheet View or Design View modes.

There are two ways to add a new field in Datasheet View mode: Add New Field or New Field Button.

To add a New Field in the Datasheet :

- Click the Add New Field column

Picture 5 of MS Access - Lesson 5: Create a table

To add a new field use the New Field button:

- Click the Datasheet tab on the Ribbon .

- Select the New Field button.

- Select the type of field you want to add from the Field Templates window.

Picture 6 of MS Access - Lesson 5: Create a table

To add a new field in Design View mode:

- Click the Design View button.

- Click on the next available field.

- Enter the field name in the Field Name column.

Picture 7 of MS Access - Lesson 5: Create a table

Data types

There are many types of data that a field can be defined. When creating a new field in the database, you should set the appropriate data type for that field.

The following table lists the data types for the fields:

Data type Text meaning Text type, number, or string not exceeding 255 Memo characters Similar to a text field, can contain text, numbers, or data no more than 2GB. Number Number type not exceeding 16bytes Date / Time Currency Date and Time Type Currency type not exceeding 8 bytes and exactly 4 AutoNumber Access decimal numbers create a unique number for each new record. Usually used as the primary key for the table. Yes / No OLE Object Logical (true / false) OLE Object Embedded and statically connected (images, documents, graphics) no more than 2GB Hyperlink Hyperlink addresses such as Attachment Attached Web sites such as images and tables calculator, documents and charts
Edit the data type in the field

When creating tables, you should define the data types of the table to match the data type that is defined for the field.

To edit the data type in Datasheet View :

- Click the field you want to specify.

- Select the Datasheet tab on the Ribbon .

- Click the down arrow to the right of Data Type .

- Select the data type that will identify for that field.

Picture 8 of MS Access - Lesson 5: Create a table

To edit the format of the data:

- Click the field you want to format.

- Select the Datasheet tab on the Ribbon .

- Select the arrow on the right of Format and select the appropriate format.

Picture 9 of MS Access - Lesson 5: Create a table

To edit the Data Type in Design View mode:

- Choose Design View

- Choose the name of the field you want to define or create a new field.

- Click Data Type .

- Select the appropriate Data Type.

- Format the field in the Field Properties dialog box.

Picture 10 of MS Access - Lesson 5: Create a table

Update 25 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile