Edit tables in Access 2016

After working with the database, you can see that some changes need to be made to the data storage tables. Access makes it easy to change tables to suit your database needs.

In this lesson, you will learn how to create and rearrange fields in tables, how to ensure data is formatted correctly and consistently by setting validation rules, character limits, and data types in the school The last part of the lesson will provide some additional options to perform simple mathematical functions in the table.

Modify the Access 2016 table

Add and organize schools:

Access makes it easy to reorder existing fields in the table and add new fields. When adding a new field, you can even set the data type, which will indicate what kind of data can be imported into that field.

There are many types of fields that can be added to the table:

  1. Short Text: This is the default and best option for most text data in Access. You should also select it for digital data if no calculations are required, such as phone numbers or postal codes.
  2. Number: This is the best type for numerical data to be calculated, such as the number of items ordered or sold.
  3. Currency: Automatically format numbers in the currency used in your area.
  4. Date & Time: Allows you to select a date from the calendar that appears.
  5. Yes / No: Insert a checkbox in your field.
  6. Rich Text: Allows you to add formatting to text, such as bold, italic.
  7. Long Text: Ideal for a large number of texts, like product descriptions.
  8. Attachment: Enables attachment of files, such as images.
  9. Hyperlink: Create links for URLs or email addresses.

To have a new field added to the existing table:

Open the desired table, then click the title with the word Click to Add . If you already have several fields, you need to scroll to the right to see this text.

Edit tables in Access 2016 Picture 1

A menu appears, select the type of data you want:

Edit tables in Access 2016 Picture 2

Enter a name for the field and press Enter :

Edit tables in Access 2016 Picture 3

Move a field in the table:

Select the field you want to delete, then hover over the bottom border of the field title. The cursor will become a cross with 4 arrows.

Edit tables in Access 2016 Picture 4

Click and drag the field to a new location:

Edit tables in Access 2016 Picture 5

Release the mouse, the field will appear in the new position:

Edit tables in Access 2016 Picture 6

Advanced option to work with the field on the board

Computers are not as smart as people think. For example, writing databases and databases you might understand is the same thing, but the computer doesn't think so. You must enter data in standard format to help organize, calculate and better understand your data.

There are three main rules that can be set for a field: data type, character limit, and validation rules.

Change the data type previously set:

Select the field whose data type you want to change. Click the Fields tab> Formatting group> click the Data Type arrow.

Edit tables in Access 2016 Picture 7

Select the desired data type:

Edit tables in Access 2016 Picture 8

The field data type will change. Depending on the selected data type, you can see the changes in the table. For example, because the data type setting in the Email field is Hyperlink, all email addresses in the field will be converted to clickable links.

Edit tables in Access 2016 Picture 9

Character limit in the field:

This limit is a set of rules for the number of words signed in the field (letters, numbers, prohibitions and even spaces). This can help keep your log data concise, even forcing users to enter data in a certain way.

However, you can only set the character limit for the field defined as Text.

To limit the characters in a field, do the following:

Select the field you want to set up, click the Fields tab> select the Properties group . In the Field Size , enter the maximum number of characters you want to allow in this field. Save the table to the applicable limit.

Edit tables in Access 2016 Picture 10

Validation rules:

Validation rules indicate which information can be entered into the field. When a validation rule is issued, the user cannot enter data that violates the rule. For example, if you ask a user to enter a city name in a table with contact information, you can create a restriction rule that accurately responds to a US postal code. This will prevent users from entering non-standard or non-postal data.

In the example below, we will apply this rule to the Customers table. This is a pretty simple rule, we will name all valid answers that users can enter, which means that in addition to the above, users cannot enter anything else. on the record.

To create a validation rule, do the following:

Select the field you want to add validation rules to. Here, we set up rules for the State field.

Select the Fields tab, find the Field Validation group> click the Validation command> select Field Validation Rule .

Edit tables in Access 2016 Picture 11

The Expression Builder dialog box will appear. Click on the text box and enter the validation rule. In the example, we want to restrict the data in the State field so that the postal code of the state entered is the correct code. We will enter the responses in quotation marks and separated by 'Or,' then Access will know that this field can accept the answer 'AL' or 'AK' or 'AZ' or whatever we enter.

Edit tables in Access 2016 Picture 12

When satisfied with the rule set, click OK. The dialog will close. Click Validation again, select Field Validation Message.

Edit tables in Access 2016 Picture 13

The dialog box appears, enter the word you want to appear in the error message when the user enters data that does not match the validation rule. This message will help users know which data can be entered.

Edit tables in Access 2016 Picture 14
Customize the error message when the user enters the wrong data

When finished creating the error message> OK .

Validation rules are now applied to the field, users cannot enter data that violates this rule.

Edit tables in Access 2016 Picture 15
Error message when entering data wrong rules

The fields are calculated and the total row

Adding calculated and total rows allows you to perform calculations with data on the table. The calculated field will calculate the data in a record, the total row will be calculated across the entire field. Whenever you see a subtotal of records, that is the calculated field, a row with the total sum of the total children at the end is the total row.

Edit tables in Access 2016 Picture 16

In the next lesson, you will know how to work with data forms on Access 2016 from creating, editing to form formats.

Next lesson: (Have a little rest: P)

Previous post: Create reports in Access 2016 and use advanced reporting options

4 ★ | 1 Vote

May be interested

  • MS Access 2003 - Lesson 12: Working with a tableMS Access 2003 - Lesson 12: Working with a table
    you have learned how to create and design tables in access. and now it's time to learn how to manipulate all tables.
  • Relationships between tables in AccessRelationships between tables in Access
    in this article, go with tipsmake.com to learn more about how to establish a relationship. the nn relationship is the relation between two tables, a record of table a can have multiple records matching in table b and vice versa.
  • Create data queries in Access 2016 from simple to complexCreate data queries in Access 2016 from simple to complex
    the query allows to retrieve information from one or more tables based on the search conditions you defined. in this lesson, you will learn how to create queries on a simple table and query on multiple tables in access 2016.
  • How to Link Tables in AccessHow to Link Tables in Access
    microsoft access allows tables and databases to connect with each other. this capability can increase your efficiency and easily spread information that is required for multiple departments or reports. you can make changes in the original...
  • How to Use Basic Microsoft AccessHow to Use Basic Microsoft Access
    microsoft access is a database creation software that allows users to easily store and edit them. this software is suitable for any job, from a small project to a large business plan, it is an intuitive piece of software. this is what makes microsoft access a very useful tool for presenting databases, you don't need to use tables or columns. check out the following tutorial and get started with the software.
  • Manipulating tables in WordManipulating tables in Word
    introduction to creating tables in word to create a table in word 2013, there are the following ways: method 1: put the mouse at the position where you want to insert the table - insert - table - move the mouse to select the number of rows and columns as shown: - the results have been created table - edit edit and enter n
  • 1-1 relationship between tables in ACCESS1-1 relationship between tables in ACCESS
    1-1 relations are used to link a record from one table to one and only one record in another table.
  • Table in CSSTable in CSS
    tables in html can become much more beautiful thanks to css.
  • MS Access - Lesson 6: Managing tablesMS Access - Lesson 6: Managing tables
    in table management, we can delete tables, rename, and create descriptions that match the content contained in the data table.
  • Ms Access 2003 - Lesson 14: Chapter 4: Creating another databaseMs Access 2003 - Lesson 14: Chapter 4: Creating another database
    in this chapter, you will meet some of the parts mentioned in chapter 2, but from a different perspective. you will learn how to manually create a table without relying on the table wizard ..