22.11.2016 Views

microsoft-office-professional-2010-step-by-step

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

798 Chapter 26 Create Databases and Simple Tables<br />

The first record in a new table, after data has been entered in the first field.<br />

When creating a new table in Datasheet view, you need to save the first record after<br />

entering the first item of data. If you don’t, Access increments the ID value for each field<br />

you add to that record. For example, if you add seven fields, Access assigns the value 7 to<br />

the ID field of the first record. To avoid this problem, you simply click the icon in the record<br />

selector after you enter your first value in the first record. This saves the record with the<br />

value 1 assigned to the ID field, and subsequent records will be numbered sequentially.<br />

Having entered the first item of data and saved the record, you continue entering items<br />

of information in consecutive cells and pressing Tab or Enter. When you finish entering the<br />

last item for the first record, you click anywhere in the row below to tell Access that the<br />

record is complete.<br />

After you complete the first record of a new table, you will probably want to change the<br />

default field names to something more meaningful. To rename a field, you simply doubleclick<br />

its field name and then type the name you want.<br />

At any time while you are entering data in a new table, you can save the table <strong>by</strong> clicking<br />

the Save button on the Quick Access Toolbar and naming the table. If you try to close the<br />

table without explicitly saving it, Access prompts you to save the table. If you click No,<br />

Access discards the table and any data you have entered.<br />

After you have saved the table for the first time, Access automatically saves each record<br />

when you move away from it. You don’t have to worry about losing your changes, but you<br />

do have to remember that most data entries can be undone only <strong>by</strong> editing the record.<br />

Databases almost always contain more than one table. You can create additional empty<br />

tables <strong>by</strong> clicking the Table button in the Tables group on the Create tab of the ribbon.<br />

If you need to create a table that is similar in structure to an existing one, you can copy<br />

and paste the existing table to create a new one. When you paste the table, Access gives<br />

you the option of naming the table and of specifying whether you want the new table to<br />

have the existing table’s structure or both its structure and its data.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!