Edit Data: Access 2007 Databases Hold The Actual Data Records Inside Tables. You Can Add, Edit, and Delete
Edit Data: Access 2007 Databases Hold The Actual Data Records Inside Tables. You Can Add, Edit, and Delete
Edit Data
Editing data in an Access table is a relatively simple task. Just click the cell containing the data
you wish to change. Delete or type over the old information and enter new data as required. As
you do so you will notice a pencil symbol appear on the far left of the table on the row you are
editing. This indicates that you are in the process of editing a record and the changes have yet to
be saved to the database table. This symbol will remain while you update any other field in the
same row. Once you move out of the row, the changes will be saved automatically and the pencil
will disappear. The thing to remember is that when you edit data in a field, the whole record will
be saved once you have finished.
A table record in the process of being edited. Notice the pencil symbol on the left of the table.
The cell being edited is highlighted in orange. Once the new data has been entered and the row
is moved out of, this record will be saved.
The Access Screen
Access Ribbon
The ACCESS RIBBON works somewhat differently to the old Access Menus. There is a row of
ribbon tabs with headings such as HOME, CREATE, EXTERNAL DATA, and DATABASE
TOOLS. Clicking on each tab presents you with its own individual ribbon with its own particular
icons. Each icon on a ribbon is contained within a group of icons that perform similar tasks. So,
for example, the Create tab has groups for TABLES, FORMS, REPORTS and OTHER
Access Navigation Pane
The Access NAVIGATION PANE replaces the old database window. It is here where you will
see the icons for all the tables, forms, queries and reports that you create. When you want to open
one of your database "objects", you just click on one of these icons, and the required object will
open in the main Access window.
Getting Started
Towards the top left of the screen you will see a "Blank Database" icon. Click this icon to bring
up the Blank Database side bar on the right hand side of the screen. This is where you will enter
details about the database file that you are about to create.
3. Enter filename for your Access 2007 database
Begin by entering the name that you want to call the database in the filename textbox.
4. Browse and select folder
Next click the folder icon and browse for a folder to put your database. Once selected you should
see the file path below the textbox.
5. Click Create
All you need to do now is click the "Create" command button below, and your database file
saves to the location that you specified, and opens for you to work on.
You are now ready to work on your newly created database file. The next step is to create an
Access table
Create Access Table
FirstName
Surname
Age
John
Jones
35
Tracey
Smith
25
Anne
McNeil
30
In the example Table above, there are four fields containing information about an individuals ID
number, first name, surname and age. Below the field headings there are 3 records containing
information or data for each individual. As such, a database table is a list with each column
containing the same specific sort of information. Each row of information is an individual record
that might relate to a particular person, a business, or a product etc.
When planning a database table, most database designers will decide which column headings or
fields they are going to use. This is the basis of the table structure. The actual data is added later
and is not a part of the design process.
You can now save the table by clicking the save icon on the top left of the screen above the
Access Ribbon. To view your table select DATASHEET VIEW from the VIEWS group under the
DESIGN TAB. This brings up the datasheet view of the table that you have just created. You
should see your field headings running across the top of the table.
Edit Data
Editing data in an Access table is a relatively simple task. Just click the cell containing the data
you wish to change. Delete or type over the old information and enter new data as required. As
you do so you will notice a pencil symbol appear on the far left of the table on the row you are
editing. This indicates that you are in the process of editing a record and the changes have yet to
be saved to the database table. This symbol will remain while you update any other field in the
same row. Once you move out of the row, the changes will be saved automatically and the pencil
will disappear. The thing to remember is that when you edit data in a field, the whole record will
be saved once you have finished.
A table record in the process of being edited. Notice the pencil symbol on the left of the table.
The cell being edited is highlighted in orange. Once the new data has been entered and the row
is moved out of, this record will be saved.
Entering, pasting, or importing data into the table that is created when you create a new
database, and then repeating the process with new tables that you create by using the
Table command on the Create tab.
Importing data from other sources and creating new tables in the process.
Understanding Tables
A table is a set of columns and rows. Each column is called a field. Within a table, each field
must be given a name and no two fields can have the same name. Each value in a field
represents a single category of data. For example, a table might have three fields: Last
Name, First Name, and Phone Number. The table consists of three columns: one for last
name, one for first name, and one for phone number. In every row of the table, the Last
Name field contains the last name, the First Name field contains the first name, and the
Phone Number field contains the phone number. Each row in a table is called a record.
Microsoft Access has a wizard named the Table Wizard that will create a table for you. This
wizard gives you suggestions about what type of table you can create (for example, a Mailing
List table, a Students table, a Tasks table, and so on) and gives you many different possible
names for fields within these tables. To use the Table Wizard to create a table, follow these steps:
1. Create a new, blank database.
2. In the Database window, click Tables under Objects, and then click New.
3. In the New Table dialog box, double-click Table Wizard.
4. Follow the directions in the Table Wizard pages.
If you want to modify the table that the Table Wizard creates, open the table in Design view
when you have finished using the Table Wizard.
7. Microsoft Access asks you if you want to create a primary key. If you have not entered
data that can be used to uniquely identify each row in your table, such as part numbers or
an ID numbers, it is recommended that you click Yes. If you have entered data that can
uniquely identify each row, click No, and then specify the field that contains that data as
your primary key in Design view after the table has been saved. To define a field as your
primary key after the table has been saved, follow these steps:
1. Open the table that Access created from the data that you entered in datasheet in
Design view.
2. Select the field or fields that you want to define as the primary key.
To select one field, click the row selector for the desired field.
To select multiple fields, hold down the CTRL key, and then click the row selector
for each field.
3. On the Edit menu, click Primary Key.
If you want the order of the fields in a multiple-field primary key to be different
from the order of those fields in the table, click Indexes on the toolbar to display
the Indexes window, and then reorder the field names for the index named
PrimaryKey.
As mentioned earlier, Microsoft Access will assign data types to each field (column)
based on the kind of data that you entered. If you want to customize a field's definition
further--for example, to change a data type that Access automatically assigned, or to
define a validation rule--open the table in Design view.