Skip to main content

Microsoft Access MS Access Basics Tips and Trick-7

Adding Data An Access database is not a file in the same sense as a Microsoft Office Word document or a Microsoft Office PowerPoint are. Instead, an Access database is a collection of objects like tables, forms, reports, queries etc. that must work together for a database to function properly. We have now created two tables with all of the fields and field properties necessary in our database. To view, change, insert, or delete data in a table within Access, you can use the table’s Datasheet View. A datasheet is a simple way to look at your data in rows and columns without any special formatting. Whenever you create a new web table, Access automatically creates two views that you can start using immediately for data entry. A table open in Datasheet View resembles an Excel worksheet, and you can type or paste data into one or more fields. You do not need to explicitly save your data. Access commits your changes to the table when you move the cursor to a new field in the same row, or whe...

Microsoft Access MS Access Basics Tips and Trick-6B

Table Design View

As we have already created one table using Datasheet View. We will now create another table using the Table Design View. We will be creating the following fields in this table. These tables will store some of the information for various book projects.

Field NameData Type
Project IDAutoNumber
ProjectNameShort Text
ManagingEditorShort Text
AuthorShort Text
PStatusShort Text
ContractsAttachment
ProjectStartDate/Time
ProjectEndDate/Time
BudgetCurrency
ProjectNotesLong Text

Let us now go to the Create tab.

In the tables group, click on Table and you can see this looks completely different from the Datasheet View. In this view, you can see the field name and data type side by side.

We now need to make ProjectID a primary key for this table, so let us select ProjectID and click on Primary Key option in the ribbon.


You can now see a little key icon that will show up next to that field. This shows that the field is part of the table’s primary key.

Let us save this table and give this table a name.

Click Ok and you can now see what this table looks like in the Datasheet View.

Let us click the datasheet view button on the top left corner of the ribbon.

If you ever want to make changes to this table or any specific field, you don't always have to go back to the Design View to change it. You can also change it from the Datasheet View. Let us update the PStatus field as shown in the following screenshot.

Click Ok and you will see the changes.

Comments