Monday, July 28, 2014

How To Viewing a Subdatasheet in Access 2003

How To Viewing a Subdatasheet in Access 2003

In a table that has a one-to-many relationship with another table, a given record might have multiple related items. For example, a customer in a Customers table might have many products in a Products table. Access allows you to view the products related to that customer from the Customers table. You can open a subdatasheet, a list of the records from the "many" table that relate to a single record from the "one" table in a one-to-one or one-to-many relationship. Subdatasheets help you browse related data in tables, queries, forms, and subform datasheets. For any related tables, Access automatically creates subdatasheets. You can also insert a sub-datasheet in a table or query to view related data.

Display or Hide a Subdatasheet

graphics/1_icon.jpg
In Datasheet view of the table, click the plus sign next to the record for which you want to see related information.
graphics/2_icon.jpg
To hide the subdatasheet, click the minus sign next to the record whose subdatasheet you want to hide.
graphics/05inf33.jpg

Insert a Subdatasheet in a Table


graphics/1_icon.jpg
Display the table or query in Datasheet view.
graphics/2_icon.jpg
Click the Insert menu, and then click Subdatasheet.
graphics/3_icon.jpg
Click the tab corresponding to the object you want to insert as a subdatasheet.
graphics/4_icon.jpg
Click a table or query in the list.
graphics/5_icon.jpg
Select the field you want to use as a foreign key.
graphics/6_icon.jpg
Select the field you want to use as a primary key.
graphics/7_icon.jpg
Click OK.
graphics/05inf34.jpg