Exploring TablesTables are the core database objects. Their purpose is to store information. The purpose of every other database object is to interact in some manner with one or more tables. An Access database can contain thousands of tables, and the number of records each table can contain is limited more by the space available on your hard disk than by anything else. Tip For detailed information about Access specifications, such as the maximum size of a database or the maximum number of records in a table, search Access Help for "Access 2007 specifications" (including the quotes). Every Access object has two or more views. For tables, the two most common views are Datasheet view, in which you can see and modify the table's data, and Design view, in which you can see and modify the table's structure. To open a table in Datasheet view, either double-click its name in the Navigation Pane, or right-click its name and then click Open. To open a table in Design view, right-click its name and then click Design View. After an object is open, you can switch between views by clicking one of the View icons in the lower-right corner of the program window, or by clicking the View arrow in the Views group on the Home tab, and then selecting a view from the list. If you simply click the View button Access switches between views in a manner that at times seems logical. If the current view is not Design view, it switches to Design view. If you click it again, the table switches to Datasheet view. When other database objects are active, clicking the View switches between views in a similar manner. When you view a table in Datasheet view, you see the table's data in columns (fields) and rows (records).
If two tables have one or more fields in common, you can embed the datasheet from one table in another. By using an embedded datasheet, called a subdatasheet, you can see the information in more than one table at the same time. For example, you might want to embed an Orders datasheet in a Customers table so that you can see the orders each customer has placed. In this exercise, you will open existing database tables and explore the table structures in different views.
USE the 04_Tables database. This practice file is located in the Chapter01 subfolder under SBS_Access2007. BE SURE TO start Access and display the Getting Started window before beginning this exercise. Tip In this database, the Navigation Pane filter has been set to display all Access objects, but the Queries, Forms, and Reports object groups are collapsed. You can collapse and expand groups to display only the ones you want, or you can filter the database objects by clicking the list header, and then clicking the option you want under Filter By Group.
CLOSE the Products and Orders tables without saving your changes, and then close the 04_Tables database to return to the Getting Started window. |